If you upgraded to Xcode 16.3, be warned: there appears to be a simulator bug that causes network access to fail regularly. It doesn't affect devices, just the simulator. You can work around it by using URLSession(configuration: .ephemeral) rather than URLSession.shared.
Swift Combine is a declarative framework for processing asynchronous events. It lets you work with data streams using publishers and subscribers, making it easy to chain events, manage errors, and update your UI reactively. #Swift#Combine
Modern Swift Concurrency simplifies asynchronous programming with async/await and structured concurrency. It lets you write cleaner, safer code by naturally handling tasks, errors, and cancellations while boosting app responsiveness. #Swift#SwiftConcurrency
Swift's OperationQueue offers robust concurrency management by allowing you to schedule, prioritise, and link tasks with dependencies. It enables you to run asynchronous operations efficiently, ensuring that tasks execute in a controlled order while keeping your UI responsive.
Swift's GCD (Grand Central Dispatch) simplifies concurrency in iOS. Offload heavy tasks to background threads and update your UI on the main thread. GCD can help your app keep responsive and efficient. #Swift#iOSDev#GCD
In Swift, property wrappers let you encapsulate and reuse code for property storage and access. Rather than writing repetitive getter and setter logic, you define the behavior once in a property wrapper and apply it with a simple annotation.
Swift uses ARC for memory management, but handling strong, weak, and unowned references is key. Use weak for delegates and closures to prevent retain cycles, and unowned when the object outlives its reference. Master these practices to build efficient, reliable iOS apps. #Swift
Apple platform development has changed. Previously, we thought building an app’s core around UIKit and using SwiftUI for certain screens was good. This week, we’ll explore SwiftUI for app development and UIKit for scenarios where performance matters.
buff.ly/VCspO7B
Protocols in Swift define a blueprint of methods, properties, and requirements that conforming types must implement. They enable polymorphism and code reusability.
Generics in Swift enable you to write flexible, reusable code that works with any type. They allow functions and types to operate on different data types while maintaining type safety.
Swift uses type inference to determine variable types at compile time, reducing the need for explicit type annotations. The compiler infers types based on assigned values, making code more concise while maintaining type safety. #ios#swift
Closures in Swift are self-contained blocks of code that can be passed around and executed later. They capture and store references to variables from their surrounding context. Closures use {} and can be written in a concise form with shorthand argument names ($0, $1).
Swift’s optionals handle the absence of a value safely. An optional can either hold a value or be nil. Declare optionals using ? and safely unwrap them with if let, guard let, or ??. For forced unwrapping, use !, but be cautious as it may lead to runtime crashes.
12K Followers 2K FollowingI build ZenUML (https://t.co/H95yTG2hnE) and https://t.co/rcP34DL4J3 for developers.
I share insights and updates about living in Australia, being developer, etc.
1.3M Followers 1K FollowingCo-Founder of Coursera; Stanford CS adjunct faculty. Former head of Baidu AI Group/Google Brain. #ai #machinelearning, #deeplearning #MOOCs
6K Followers 110 FollowingI switched from physics to iOS development. I am passionate about learning and love to help others to become better. I teach SwiftUI and Combine on Youtube.
39K Followers 693 FollowingDesigner & maker
✦ I help founders build products people love
✦ Built 60+ products for high-growth startups.
See work → https://t.co/TgoHSKsCPN | Book a call ↓
3K Followers 2K FollowingWe are the coders and designers of https://t.co/aIu0aPYiaF and want to empower anyone to create and share their ingenuity through code.
43K Followers 946 FollowingFlutter GDE ❖ I share tips about Dart & Flutter app development.
Get my latest Flutter tips, articles, and resources → https://t.co/Hp3oN9C7q8
33K Followers 604 FollowingI explain difficult things to smart people. Separately, I also make games and useful little software projects (https://t.co/LnvSFrG2Uc).
Also @[email protected].
12K Followers 2K FollowingI build ZenUML (https://t.co/H95yTG2hnE) and https://t.co/rcP34DL4J3 for developers.
I share insights and updates about living in Australia, being developer, etc.
9K Followers 17 FollowingManually refreshing the download page.
Not an official @apple account.
Not posting updates for the forseeable future. See our website for more information.
57K Followers 2 FollowingiOS Dev on YouTube (165K+ subs) teaching all things iOS development. App portfolio includes an F1 widgets app - @PushPushApp, @CreatorViewApp and Roast App.
61K Followers 813 FollowingI teach 150K developers how to write better apps faster through my developer tool, blog, and newsletter. Join my newsletter to get started 👇🏻