Found 39 articles tagged with #ios

In-App Purchases (IAP) in iOS using StoreKit

This article will help you learn how you can easily implement in-app purchases and subscriptions using StoreKit framework.

Swift Continuations

Asynchronous tasks can suspend themselves on continuations which synchronous code can then capture and invoke to resume the task in response to an event.

Managing Focus State in SwiftUI

Use view modifiers to indicate which views can receive focus, to detect which view has focus, and to programmatically control focus state.

Mar 09, 2023#ios#swift#swiftui

Swift Async Sequences

The new AsyncSequence protocol enables a natural, simple syntax for iterating over a sequence of values over time as easy as writing a `for` loop.

iOS Modal Presentations

You display a modal presentation, like an alert, popover, sheet, or confirmation dialog to draw attention to an important narrowly scoped task.

Mar 07, 2023#ios#swift#swiftui

Swift API Availability

To handle API changes, use @available attribute to annotate availability of new declarations, and use #available or #unavailable to conditionalize.

Mar 06, 2023#ios#swift

Swift Associated Types

An associated type gives a placeholder name to a type that’s used as part of the protocol, isn’t specified until the protocol is adopted.

Mar 06, 2023#ios#swift

State Management in SwiftUI

SwiftUI ships with a handful of property wrappers that enable us to declare exactly how our data is observed, rendered and mutated by our views.

A Complete Guide to iOS Data Persistence

We are going to look at persistence options for iOS, each of these has its own pros and cons, it’s up to you to determine which option surpasses the others.

What's New in Swift 5.8

Swift 5.8 will include features like implicit self for weak self captures, conditional compilation for attributes, new type StaticBigInt in….