I’m implementing geofencing in my iOS app and working into some issues when the app is terminated (swiped up). I’m utilizing locationManager.startMonitoring(for: area) to provoke monitoring and utilizing locationManager(_ supervisor: CLLocationManager, didEnterRegion area: CLRegion) and didExitRegion to seize when the area boundary is crossed.
When the app is terminated and the primary set off comes by way of, the app launches within the background in response to the situation occasion. This triggers AppDelegate‘s didFinishLaunchingWithOptions and I can see that launchOptions?[UIApplication.LaunchOptionsKey.location] isn’t nil to suggest the situation occasion is why it opened. Nice!
Nevertheless, although the very first line of code in didFinishLaunchingWithOptions is locationManager.delegate = self, it is as if it is too late to seize the precise enter/exit occasion and neither didEnterRegion nor didExitRegion are fired.
Now as an example one other boundary occasion is triggered as a result of I’ve returned residence with out touching the app. This second (and all subsequent) occasions will set off didEnter/ExitRegion as a result of the app continues to be semi-launched from the primary occasion. So I can deal with these efficiently. However “lacking” that first occasion could be very problematic and appears unintended!
Does anybody have any expertise or recommendation on whether or not they’ve had the identical subject or whether or not it is a mistake on my finish?
And instance log output after terminating the app, then strolling out of the boundary after which strolling again contained in the boundary. Notice the launch occurred once I exited at 16:56, however no didExitRegion fired. Then at 16:57 once I entered, there isn’t a launch resulting from it already launching and I efficiently obtain didEnterRegion:
Whereas AI is turning into higher at producing that useful code, additionally it is enabling attackers to establish and exploit vulnerabilities in that code extra rapidly and successfully. That is making it simpler for less-skilled programmers to assault the code, rising the pace and class of these assaults — making a scenario during which code vulnerabilities are rising at the same time as the power to use them is turning into simpler, in accordance with new analysis from software danger administration software program supplier Veracode.
AI-generated code launched safety vulnerabilities in 45% of 80 curated coding duties throughout greater than 100 LLMs, in accordance with the 2025 GenAI Code Safety Report. The analysis additionally discovered that GenAI fashions selected an insecure methodology to write down code over a safe methodology 45% of the time. So, though AI can create code that’s useful and syntaactically appropriate, the report reveals that safety efficiency has not stored tempo.
“The rise of vibe coding, the place builders depend on AI to generate code, usually with out explicitly defining safety necessities, represents a elementary shift in how software program is constructed,” Jens Wessling, chief know-how officer at Veracode, mentioned in an announcement saying the report. “The primary concern with this pattern is that they don’t must specify safety constraints to get the code they need, successfully leaving safe coding selections to LLMs. Our analysis reveals GenAI fashions make the mistaken decisions practically half the time, and it’s not enhancing.”
In saying the report, Veracode wrote: “To judge the safety properties of LLM-generated code, Veracode designed a set of 80 code completion duties with recognized potential for safety vulnerabilities in accordance with the MITRE Frequent Weak spot Enumeration (CWE) system, a regular classification of software program weaknesses that may flip into vulnerabilities. The duties prompted greater than 100 LLMs to auto-complete a block of code in a safe or insecure method, which the analysis staff then analyzed utilizing Veracode Static Evaluation. In 45 % of all check instances, LLMs launched vulnerabilities categorised throughout the OWASP (Open Internet Software Safety Undertaking) Prime 10—essentially the most important net software safety dangers.”
Different findings within the report had been that Java was discovered to be the riskiest of programming languages for AI code technology, with a safety failure fee of greater than 70%. Failure charges of between 38% and 45% had been present in apps creating in Python, C# and JavaScript. The analysis additionally revealed LLMs did not safe code towards cross-site scripting and log injection in 86% and 88%, respectively, in accordance with Veracode.
Wessling famous that the analysis confirmed that bigger fashions carry out no higher than smaller fashions, which he mentioned signifies that the vulnerability difficulty is a systemic one, reasonably than an LLM scaling downside.
“AI coding assistants and agentic workflows symbolize the way forward for software program growth, and they’ll proceed to evolve at a speedy tempo,” Wessling concluded. “The problem dealing with each group is making certain safety evolves alongside these new capabilities. Safety can’t be an afterthought if we wish to forestall the buildup of huge safety debt.”
Specialists weigh in: Why does “Again to Fundamentals” matter on your profession?
In the event you may return to the start of your profession, what would you do otherwise? It’s a thought-provoking query that many seasoned professionals usually mirror on. For these simply beginning out within the tech world—or these seeking to refresh their information—this query holds the important thing to constructing a robust profession basis.
This month, Cisco U. is embracing the theme of “Again to Fundamentals” by specializing in important coaching paths just like the CCNA Studying Path. These assets are designed to assist learners construct the talents they should succeed, whether or not they’re getting into the tech business for the primary time or strengthening their foundational information.
On this weblog, you’ll hear from Cisco consultants who share their insights into which studying paths they’d prioritize in the event that they had been beginning their careers right this moment—and why these foundational steps are so essential.
Who’re the Cisco consultants?
To deliver you one of the best recommendation, we’ve gathered insights from three skilled Topic Matter Specialists (SMEs) at Cisco who’ve constructed profitable careers within the tech business.
Meet Kyle Winters
Kyle Winters at Cisco Stay 2019
Function: Technical Advocate, Cisco
Background: Kyle has over a decade of expertise spanning community safety, enterprise improvement, and technical advertising. He’s earned a number of Cisco certifications and has been acknowledged with prestigious awards just like the Cisco Stay Distinguished Speaker Award.
Kyle’s profession has taken him from startups to enterprise roles, giving him a complete view of the tech panorama.
Meet Francois Caen
Francois Caen within the early days of his networking profession
Function: Technical Product Supervisor, Be taught with Cisco
Background: With 20 plus years of community engineering expertise, Francois is a printed creator and an skilled in programmability and automation. He now focuses on creating cutting-edge coaching for Cisco prospects and companions.
Francois has a ardour for educating and enjoys serving to learners break down complicated matters into manageable steps.
Meet Chuck Stickney
Studying Engineering Chief, Cisco
Background: Chuck has greater than 20 years of expertise, 18 at Cisco, in networking and enterprise improvement.
With a college-aged youngster who’s now contemplating the cybersecurity area as a profession, Chuck has a private curiosity in what newcomers ought to deal with.
What do Cisco consultants advocate for beginning a networking profession?
Kyle’s suggestions: The place to start out with networking
Why it issues: This 14-hour studying path offers foundational information of key ideas, protocols, administration methods, and safety that underpin community techniques. It’s good for these with basic IT expertise seeking to specialise in networking.
Kyle’s recommendation: “Begin small, however keep constant. Construct a robust basis, don’t rush by way of materials simply to earn a cert, and all the time search for methods to use what you’re studying by way of labs, initiatives, or volunteer work. Even small wins stack up.”
Further suggestion for newbies: Kyle recommends the Networking Fundamentals course on Cisco Networking Academy for a extra holistic introduction to networking ideas.
Francois’s suggestion: Deal with subnetting first
Key course: Introducing the TCP/IP Web Layer, IPv4 Addressing, and Subnets, a part of the Cisco U. CCNA Studying Path.
Why subnetting is necessary in networking: Subnetting is a foundational talent crucial for any networking skilled. Although Francois concedes it might not be essentially the most thrilling matter, it’s important for understanding IP addressing and community design.
Francois’s recommendation: “Eat the greens first, save the steak for later. Subnetting might not be enjoyable, however it’s completely obligatory.”
Profession perception: Francois encourages learners to pursue networking if they’re naturally curious. “In the event you’re the kind of one that opened your toys with a screwdriver to see how they labored, networking might be a rewarding area. Curiosity is vital to staying motivated on this ever-evolving business.”
Chuck’s suggestion: Begin with Cisco Licensed Assist Technician (CCST) content material
A stable understanding of community fundamentals and hands-on expertise is important, starting with incomes the CCST certification, then continuing to earn the Cisco Licensed Community Affiliate (CCNA) certification.
“CCNA has been the minimal baseline for many years,” Chuck notes, “and we preserve the content material related to right this moment. From there you may proceed deeper into community infrastructure matters or if infrastructure will not be your factor—department out into associated areas like automation and cyber safety. We now have (free) NetAcad content material in these areas and likewise Affiliate coaching and certifications in these disciplines.”
Profession perception: “Constructing a cyber or automation skillset on high of a robust community basis will set you aside in your area!”
What do consultants say about tech studying?
All three consultants emphasize the significance of specializing in the basics when beginning your profession. Listed below are the important thing takeaways from their insights:
Perceive the fundamentals first: Foundational information of networking ideas like subnetting, protocols, and safety is crucial for long-term success. Begin with CCST content material, then proceed into CCNA.
From the CCNA, proceed into community infrastructure matters or department out into automation or cybersecurity.
Be curious and adaptable: Networking is consistently evolving, and a curious mindset will assist you to keep engaged and motivated as you proceed to be taught.
Certifications open doorways: Whereas understanding the fabric is extra necessary than dashing to earn certifications, having certifications just like the CCNA will help you exhibit your experience and advance your profession.
What closing recommendation do the Cisco U. consultants have?
To shut, right here’s some parting knowledge from our SMEs:
Kyle: “Don’t simply deal with incomes certifications—deal with actually understanding the fabric. Employers worth adaptability and the power to be taught over memorization.”
Francois: “Keep curious. Networking requires steady studying, and your curiosity will preserve you engaged and motivated as you develop in your profession.”
Chuck: “The sector could be very wide-open now, with no one-size-fits-all; nevertheless, all the pieces is constructed on the community.”
By specializing in the proper foundational expertise, you’ll set your self up for long-term success within the tech business.
I’ve a TabView with two tabs (FirstTab and SecondTab).
From the primary tab, I need to programmatically swap to the second tab after which instantly push a element display contained in the second tab’s NavigationStack.
I wrote a simplified instance:
struct FirstTab: View {
var onNavigate: (String) -> Void
var physique: some View {
VStack {
Textual content("FirstTab")
Button("Go to SecondTab") {
onNavigate("Whats up from FirstView")
}
}
}
}
class SecondTabViewModel: ObservableObject {
@Printed var textToShow: String? = nil
}
struct SecondTab: View {
@ObservedObject var viewModel: SecondTabViewModel
@State non-public var path = NavigationPath()
var physique: some View {
NavigationStack(path: $path) {
VStack {
Textual content("SecondTab")
}
.navigationDestination(for: String.self) { worth in
DetailView(textual content: worth)
}
.onChange(of: viewModel.textToShow) { oldValue, newValue in
print("onChange SecondTab textual content: (String(describing: newValue))")
if let newValue = newValue, newValue != oldValue {
print("Pushing DetailView with: (newValue)")
path.append(newValue)
}
}
}
}
}
struct DetailView: View {
let textual content: String
var physique: some View {
VStack {
Textual content("DetailView")
Textual content("Textual content: (textual content)")
}
}
}
struct ContentView: View {
@State non-public var selectedTab = 0
@StateObject non-public var secondVM = SecondTabViewModel()
var physique: some View {
TabView(choice: $selectedTab) {
FirstTab { textual content in
print("Closure referred to as with textual content: (textual content)")
selectedTab = 1 // swap tab
DispatchQueue.foremost.asyncAfter(deadline: .now() + 1) {
secondVM.textToShow = textual content
}
}
.tabItem { Label("First", systemImage: "1.circle") }
.tag(0)
SecondTab(viewModel: secondVM)
.tabItem { Label("Second", systemImage: "2.circle") }
.tag(1)
}
}
}
The problem :
The closure is appropriately referred to as once I faucet the button in FirstTab.
The tab switches to SecondTab.
I anticipate the DetailView to mechanically push within the NavigationStack.
However nothing seems – onChange is named, however no push happens.
If I wrap the textToShow inside a DispatchQueue.foremost.asyncAfter (e.g. 0.1 seconds), it really works.
Instance of the workaround:
FirstTab { textual content in
print("Closure referred to as with textual content: (textual content)")
selectedTab = 1 // swap tab
DispatchQueue.foremost.asyncAfter(deadline: .now() + 1) {
secondVM.textToShow = textual content
}
}
However this looks like a hack.
Why doesn’t the navigation push (path.append) work when switching tabs instantly?
Is there a beneficial, clear manner in SwiftUI to vary tab after which push a vacation spot in that tab’s NavigationStack?
Ought to I be utilizing a distinct navigation method (e.g. Coordinator, Observable shared state)?
In response to speedy buyer progress and growing demand for in-region companies, we’re excited to announce the launch of a brand new Center East area for E-mail Menace Protection with the opening of our United Arab Emirates (UAE) web site. This native presence allows sooner menace detection, lowered latency, and a extra seamless expertise for patrons throughout the area. The UAE web site provides the total vary of e mail safety capabilities out there in our current areas and advantages from our iterative, incremental characteristic supply mannequin—whereas sustaining our rigorous requirements for safety, reliability, and knowledge privateness.
As a part of our ongoing dedication to safety and compliance, E-mail Menace Protection is proud to be licensed for ENS Excessive and is actively pursuing extra certifications, together with ISO 27017, ISO 27018, and C5. These efforts construct on our current SOC 2 and ISO 27001 certifications, reinforcing our dedication to the very best requirements of knowledge safety and privateness.
E-mail Menace Protection analyzes practically 100 million emails daily, leveraging AI to guard 1000’s of consumers from the newest threats. Backed by over 20 years of expertise within the e mail gateway house, we’re bringing the following wave of innovation to e mail safety. Launching later this 12 months, our enhanced E-mail Menace Protection platform unifies a number of deployment modes right into a single, versatile answer providing pre-delivery menace prevention, post-delivery remediation by way of APIs, and full visibility throughout all instructions of e mail, multi function streamlined console, out there globally.
With the addition of our new UAE area, E-mail Menace Protection now operates in 5 areas globally increasing our attain whereas sustaining trusted, enterprise-grade safety in all places we serve. Along with offering in-region protection, we’re enhancing our detection capabilities to account for the distinctive linguistic nuances of the Center East. These refinements are actively being developed as we observe and reply to extra region-specific focused threats.
This launch within the UAE highlights Cisco’s dedication to empowering organizations with sturdy, scalable, and good e mail safety options that stand as much as the ever-changing menace panorama. By utilizing Cisco Safe E-mail Menace Protection, companies within the UAE can shield their communications, safeguard delicate knowledge, and preserve their operations operating easily with confidence.