6.3 C
New York
Friday, April 11, 2025
Home Blog Page 26

ios – How one can apply Content material ViewController background to backside SafeArea in UINavigationController?


Whereas porting my current UIKit based mostly app to SwiftUI I battle with a easy activity:

A UIViewControllerRepresentable holds a UINavigationController.

The UINavigationController shows VCs with completely different background colours. These should not utilized to the underside secure space. How can I alter this, in order that the secure space has the colour of the lively little one VC?

enter image description here

struct SomeSheetContent: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> UIViewController {
        let firstVC = UIViewController()
        firstVC.view.backgroundColor = .inexperienced
        firstVC.title = "First VC"
        firstVC.edgesForExtendedLayout = [.all]
        firstVC.extendedLayoutIncludesOpaqueBars = true

        let button = UIButton(sort: .system)
        button.setTitle("Subsequent", for: .regular)
        button.titleLabel?.font = .systemFont(ofSize: 20, weight: .daring)
        button.addTarget(context.coordinator, motion: #selector(Coordinator.didTapButton), for: .touchUpInside)

        firstVC.view.addSubview(button)
        button.translatesAutoresizingMaskIntoConstraints = false
        NSLayoutConstraint.activate([
            button.centerXAnchor.constraint(equalTo: firstVC.view.centerXAnchor),
            button.centerYAnchor.constraint(equalTo: firstVC.view.centerYAnchor)
        ])
        

        let navVC = UINavigationController(rootViewController: firstVC)
        navVC.navigationBar.isTranslucent = false
        navVC.edgesForExtendedLayout = [.all]
        
        context.coordinator.navigationController = navVC
        
        return navVC
    }
    
    func makeCoordinator() -> Coordinator {
        Coordinator(self)
    }

    func updateUIViewController(_ uiViewController: UIViewController, context: Context) { }

    class Coordinator: NSObject {
        let guardian: SomeSheetContent
        weak var navigationController: UINavigationController?

        init(_ guardian: SomeSheetContent) {
            self.guardian = guardian
        }

        @objc func didTapButton() {
            let secondVC = UIViewController()
            secondVC.view.backgroundColor = .orange
            secondVC.title = "Second VC"
            secondVC.edgesForExtendedLayout = [.all]
            secondVC.extendedLayoutIncludesOpaqueBars = true

            navigationController?.pushViewController(secondVC, animated: true)
        }
    }
}

Bridging the Hole Between Provisioning and Buyer Expertise


Working intently with prospects who develop and deploy community automation, I’ve typically heard the query: “Is the configured community service really delivered in response to buyer expectations?” This isn’t simply theoretical; it displays a real-world problem many service suppliers face.

It may be tough to get the fitting configuration in place in time for any vendor. However even as soon as it’s executed, you could notice the client nonetheless hasn’t acquired the fitting service, although the community is accurately configured.

For fairly some time, heterogeneous service suppliers have relied on automation to assist make sure the providers provisioned are certainly the providers delivered. As emphasis on buyer expertise has steadily grown over time, I’ve noticed a big increase in automation initiatives amongst Cisco Crosswork Community Companies Orchestrator (NSO) prospects.

However what if we might additional improve this modern method by taking automation to the following stage? Wouldn’t or not it’s superior if as soon as the community service is provisioned, it’s additionally examined and monitored for that particular buyer? What if the crucial was not simply to ship community automation, however to automate the supply expertise itself?

Check and monitor providers delivered to the client

The excellent news is that service suppliers can shut the hole between provisioning and buyer expertise by actively verifying and guaranteeing that provisioned providers are delivered in response to buyer expectations. The mixing of NSO and Cisco Supplier Connectivity Assurance (previously Accedian Skylight) provides a sturdy resolution to handle this prevalent difficulty.

These highly effective instruments make it simple to increase an current, intent-based service mannequin in NSO with the Cisco Supplier Connectivity Assurance platform pre-integrated to check and monitor the precise service delivered to the client. This mix not solely reduces complexity and time to worth but additionally ensures the superior experiences your prospects demand.

Listed below are a number of the key advantages of integrating NSO with Cisco Supplier Connectivity Assurance:

Check and confirm providers earlier than finish customers are uncovered

One of many standout options of this integration is the power to actively confirm that providers work as soon as provisioned by NSO. By constructing automated assurance into the NSO service mannequin, you possibly can guarantee community and repair connectivity from day zero. This proactive method signifies that providers are examined and verified even earlier than finish customers are uncovered to them.

Monitor service high quality constantly for constant, dependable experiences

Making certain that provisioned providers proceed to work 24/7 over their lifetime is essential for sustaining excessive service requirements. With steady energetic measurements, you possibly can acquire enhanced service high quality insights from the top customers’ perspective. This ongoing monitoring helps preserve the integrity and efficiency of providers, guaranteeing a constant and dependable consumer expertise.

Determine and resolve issues quicker

Alerting and distant testing capabilities make it simple to detect and automate superior check eventualities similar to DNS reachability, obtain speeds, path tracing, and latency consistency. This complete testing throughout layers, providers, and domains permits points to be promptly recognized and resolved, minimizing downtime and repair disruptions. 

Cut back guide effort and improve operational effectivity

Automating check sequences and troubleshooting might help considerably scale back the necessity for guide area efforts. Having the ability to decide that the community is not the supply of a difficulty and that the service is correctly working saves technicians time, permitting them to concentrate on fixing “actual issues” fairly than blaming the community. This results in extra environment friendly operations and faster resolutions.

Obtain a superior buyer expertise

At present’s service suppliers are underneath elevated stress to monetize community and expertise investments by way of service commoditization to assist differentiate their choices from the competitors. To achieve success and really enhance the client expertise, they should develop and ship new B2B and B2C providers tailor-made to buyer necessities that may be quickly launched, examined, and iterated.

By actively verifying providers, constantly monitoring service high quality, facilitating quicker downside decision, and lowering guide efforts, service suppliers can guarantee a superior service expertise for his or her prospects. The highly effective mixture of Cisco Crosswork Community Companies Orchestrator and Cisco Supplier Connectivity Assurance not solely enhances operational effectivity but additionally elevates the general high quality of community providers—finally resulting in larger buyer satisfaction and loyalty.

 

Obtain this free trial to expertise how

might help you ship a superior buyer expertise.

Extra sources

A service supplier structure for AI-ready connectivity

Cisco Automation Developer Days 2025

What’s community automation?

What’s community provisioning?

Share:

Report: Maintaining with patches is the primary problem when utilizing open supply software program


A brand new report is revealing that probably the most difficult facet of using open supply initiatives is maintaining with updates and patches.  

In keeping with the 2025 State of Open Supply report from Perforce Software program, the Eclipse Basis, and the Open Supply Initiative, when requested to rank challenges on a scale of 1 to 5, over half of the 433 respondents ranked the next as a 3 or greater:

  • Conserving software program up to date
  • Assembly safety and compliance necessities
  • Sustaining end-of-life (EOL) variations

“These three are, in fact, very linked — maintaining with updates and patches and sustaining end-of-life variations are key to assembly safety and compliance necessities. Yearly the responses to this query remind us that it’s an uphill battle for organizations to remain on the newest variations and/or have entry to safety updates and patches for EOL software program of their stacks,” the report authors wrote. 

For instance, CentOS 7 reached EOL in June 2024 and on the time the survey was carried out (between September and December 2024), 40% of the biggest enterprises had been nonetheless utilizing it and it was the third most typical Linux distribution. 

Additional, 28% don’t have a plan in place for addressing CentOS vulnerabilities and eight% mentioned they don’t plan to patch CentOS CVEs. Solely 19% % say they’ve an LTS vendor offering patches and 13% have an in-house workforce that does it. 

RELATED: Sonatype reveals 18,000 malicious open supply packages in its Q1 Open Supply Malware Index

When respondents who’re utilizing the proprietary model of open supply software program had been requested what’s stopping them from utilizing the open supply model, 44% mentioned it was the skilled help and upkeep that comes with it. This was the most well-liked reply by a large margin, with the following hottest purpose—extra options and customization—coming in at 25%. 

The place open supply is getting used

In keeping with the report, the highest class for open supply utilization was cloud and container applied sciences, with 40% of respondents utilizing open supply software program in that space. The most well-liked cloud native open supply initiatives had been Docker (59% of respondents utilizing it) and Kubernetes (39%). 

Databases and knowledge applied sciences had been the second most closely used open supply software program, at 33% of respondents. The most well-liked ones had been PostgreSQL (51%), MySQL (37%), and MariaDB (31%).

The report discovered that nearly half of organizations would not have numerous confidence of their knowledge administration operations. When requested to rank their confidence in Massive Information administration from one to 5, 47% of respondents scored themselves as two or much less and fewer than 10% ranked themselves as a 5. 

They discovered that the largest problem in working with open supply databases or different knowledge applied sciences was lack of personnel or personnel expertise, with over three quarters of respondents saying so.

“Because of this, some flip to industrial, managed options (i.e. Cloudera), however the trade-off is price. If the group can not afford the commercially managed platform, they’re caught with the operational and personnel prices of those complicated stacks, typically needing to fall again on less-experienced DevOps engineers or flip to outdoors consultants once they can not resolve issues,” the report states. 

The third hottest class for open supply utilization this yr was programming languages and frameworks (33%), which was a rise from the earlier yr. The report authors consider this is a sign that extra organizations at the moment are creating open supply software program and never simply consuming it. 

The report signifies that open supply programming languages are the primary funding space for small corporations with 1-20 workers, which suggests they’re creating their very own options in-house. 

The smallest organizations are additionally contributing to open supply initiatives far more than bigger organizations with 5,000 workers or extra. Fifty seven % of small corporations contributed in comparison with 25% of huge corporations. 

“The State of Open Supply Report demonstrates that large enterprises are usually not essentially extra mature in the case of their open supply technique,” mentioned Stefano Maffulli, govt director of the Open Supply Initiative (OSI). “It’s encouraging to see that even very small organizations are dedicated to not simply consuming open supply, however giving again to the neighborhood by contributing code and supporting OSS foundations.”

what’s the smarter transfer for palletizing?

0


Including automation to your end-of-line should not really feel like launching a rocket. However for a lot of producers, selecting between custom-engineered and pre-engineered palletizing options can stall momentum.

So right here’s the breakdown.