Swift
92.7K views | +0 today

Different ways to observe properties in Swift ·

From www.jessesquires.com

After I wrote and released Foil, my library for implementing a property wrapper for UserDefaults, one of the criticisms on Twitter was that a mechanism for observing such properties should have been included. I disagreed. In the post
No comment yet.

How to Style SwiftUI Buttons in iOS 15

From www.appcoda.com

In iOS 15, SwiftUI introduced a number of new features for styling SwiftUI buttons. We will go through all the new features in this tutorial.
No comment yet.

Diffable data source behavior changes and reconfiguring cells in iOS 15 ·

From www.jessesquires.com

This year at WWDC, some significant improvements and changes were announced for UICollectionView and UITableView. You can watch 10252: Make blazing fast lists and collection views for all the details, but I want to highlight some of them here.
No comment yet.

Bridge from Combine to AsyncSequence - the plan (p. 1)

From trycombine.com

Series of Combine framework programming related blog posts.
No comment yet.

How to translate SwiftUI applications

From kristaps.me

Localizing our applications is more critical than we think. We usually stick with English as the primary language. Only 4.9% of the world’s 7.8 billion inhabitants speak English. Most of the people aren’t native English speakers. In the grand scheme of things, only 360 million people speak English as their first language.
No comment yet.

Mastering AsyncImage in SwiftUI

From swiftwithmajid.com

During our careers, we primarily build apps that work with web services to retrieve and upload data. Remote image is one type of that data that we need to download and display. SwiftUI provides us the AsyncImage type, which is a view that downloads and shows an image via URL. This week we learn how to use and customize AsyncImage in SwiftUI.
No comment yet.

Fixing a hard-to-find bug in Dark Mode ·

From www.jessesquires.com

I previously wrote about implementing Dark Mode in an older codebase, specifically how Dark Mode works (or doesn’t) with CGColor. I recently fixed a bug in the same project that was difficult to track down because it manifested i
No comment yet.

Dependency Injection in Swift using latest Swift features

From www.avanderlee.com

Dependency Injection using latest Swift features allows you to mock data, and write tests easily without 3rd party dependencies.
No comment yet.

Benchmarking Swift Code Properly with Attabench

From swiftrocks.com

Hmmmm, how fast is this piece of code? Let's find out!
No comment yet.

5 Complex Algorithms Simplified Using Swift's Higher-Order Functions

From swiftsenpai.com

5 practical example of using Swift's higher order function to reduce code complexity when dealing with complex algorithms.
No comment yet.

muukii/MondrianLayout: � A way to building layouts faster in AutoLayout like SwiftUI - powered by Result Builders

From github.com

� A way to building layouts faster in AutoLayout like SwiftUI - powered by Result Builders - muukii/MondrianLayout�
No comment yet.

kean/Pulse: Logger and network inspector for Apple platforms

From github.com

Logger and network inspector for Apple platforms. Contribute to kean/Pulse development by creating an account on GitHub.
No comment yet.

Starter Workflows with Xcode Cloud

From www.alexanderlogan.co.uk

Build a workflow suitable for modern development quickly.
No comment yet.

Searchable modifier in SwiftUI: A UISearchController and UISearchBar equivalent

From sarunw.com

SwiftUI finally got native search support in iOS 15. We can add search functionality to any navigation view with the new searchable modifier. Let's explore its capability and limitation.
No comment yet.

Advanced Charles Proxy Tutorial for iOS

From www.raywenderlich.com

Get more out of Charles Proxy by learning advanced features like mapping responses to local files, automating requests and writing logs.
No comment yet.

Presenting a bottom sheet in UIKit with UISheetPresentationController –

From www.donnywals.com

We've seen bottom sheets in Apple's apps for a while now, and plenty of apps have followed this pattern. If you're not sure what I mean, it's the kind of sheet that takes up just a part of the screen…
No comment yet.

Dismissing a SwiftUI modal or detail view

From www.swiftbysundell.com

Three different ways to dismiss a SwiftUI view that was presented from another view, including a new API that’s being introduced in iOS 15.
No comment yet.

How Swift runs an async executable – Ole Begemann

From oleb.net

Who creates the task for your async main method to run in, and how.
No comment yet.

Highlights of SwiftUI Release 3

From rudrank.blog

This year, Apple focused on supporting deeper adoption of the framework for our apps.
No comment yet.

Mastering search in SwiftUI

From swiftwithmajid.com

SwiftUI Release 3.0 brought tons of expected features that we missed in previous iterations. One of them is the ability to provide the search feature in our apps. Fortunately, we have a new searchable view modifier. This week, we will learn about the new searchable modifier and how to build a great search experience using it.
No comment yet.