Swift
89.9K views | +1 today
Follow

What’s New With PhotosPicker in iOS 16 | Kodeco, the new raywenderlich.com

From www.kodeco.com

PhotosPicker in iOS 16 has a robust set of features for users to view and select assets, such as images and videos.
No comment yet.

Understanding SwiftUI view lifecycles – Ole Begemann

From oleb.net

I wrote an app for observing how various SwiftUI constructs and container views affect view lifecycles, including the lifetime of state.
No comment yet.

Swift Charts Tutorial: Getting Started | Kodeco, the new raywenderlich.com

From www.kodeco.com

Learn how to use Swift Charts to transform data into elegant and accessible graphs.
No comment yet.

SwiftUI Dismissing The Keyboard

From useyourloaf.com

Control how scrollable content like lists and forms dismiss the keyboard.
No comment yet.

SwiftUI Labeled Content

From useyourloaf.com

Tired of building your own views with a label next to a value? Apple added LabeledContent to iOS 16 and macOS 13 for just that purpose.
No comment yet.

Combining opaque return types with primary associated types

From www.swiftbysundell.com

How Swift’s opaque return types can be combined with primary associated types in order to create powerful abstractions without the need for any type erasure.
No comment yet.

When .animation animates more (or less) than it’s supposed to – Ole Begemann

From oleb.net

SwiftUI views and view modifiers can be divided into “rendering“ and “non-rendering” groups. The position of the `animation` modifier with respect to non-rendering modifiers is irrelevant for the question if a change gets animated or not.
No comment yet.

SwiftUI Scrollable View Backgrounds

From useyourloaf.com

How do you set the background color of a SwiftUI scrollable view like lists and forms?
No comment yet.

Swift Regex Deep Dive | Intro to Regular Expressions

From bignerdranch.com

Our introductory guide to Swift Regex. Learn regular expressions in Swift including RegexBuilder examples and strongly-typed captures.
No comment yet.

Disable scrolling in SwiftUI ScrollView and List

From sarunw.com

In iOS 16, SwiftUI finally got a new modifier to disable scrolling in ScrolView and List.
No comment yet.

Building a Photo Gallery app in SwiftUI Part 4: Adding Multiple Gestures

From codewithchris.com

In this post, I'm going to show you how to add multiple gestures so we can provide functionalities such as double tap to zoom, pinching to zoom, and panning the photo.
No comment yet.

SwiftUI Multi-line Text Fields

From useyourloaf.com

In iOS 16, SwiftUI text fields can grow beyond a single line and scroll vertically when needed.
No comment yet.

How to scale margin and padding with @ScaledMetric Property Wrapper

From sarunw.com

Dynamic Type automatically scales a font size according to Accessibility settings. In iOS 14, we also have a way to scale numeric values like padding and margin.
No comment yet.

SwiftUI vs UIKit

From swiftrocks.com

I had played with SwiftUI before, but it wasn't until now that I had built a complete app with it. Here's my experience!
No comment yet.

Building Static List in SwiftUI

From sarunw.com

Let's learn the easiest way to create a list in SwiftUI.
No comment yet.

How to adjust List row separator insets in SwiftUI

From sarunw.com

In iOS 16, we can adjust a List row separator insets with the new alignment, listRowSeparatorLeading.
No comment yet.

Xcode 14.0 generates wrong concurrency code for macOS targets – Ole Begemann

From oleb.net

Mac apps built with Xcode 14.0 and 14.0.1 may contain concurrency bugs because the Swift 5.7 compiler can generate invalid code when targeting the macOS 12 SDK. If you distribute Mac apps, you should build them with Xcode 13.4.1 until Xcode 14.1 is released.
No comment yet.

Where View.task gets its main-actor isolation from – Ole Begemann

From oleb.net

If you call SwiftUI’s task modifier inside a view’s body property, the async operation will run on the main actor. However, this isn’t the case if you call task from a helper property or function that isn’t main-actor-annotated. Why?
No comment yet.

What's new in Camera and Photos - Discover - Apple Developer

From developer.apple.com

Learn the latest tools for capturing picture-perfect images and integrating with the Photos library in your apps.
No comment yet.

Explore Live Activities and the Dynamic Island - Discover - Apple Developer

From developer.apple.com

Learn how you can showcase live updates from your app on the Lock Screen and the Dynamic Island.
No comment yet.

Dive deep with SwiftUI - Discover - Apple Developer

From developer.apple.com

Discover the latest updates and changes to building apps with SwiftUI.
No comment yet.

Get started with Swift concurrency - Discover - Apple Developer

From developer.apple.com

Take charge of concurrent tasks with this comprehensive toolkit.
No comment yet.