Combining multiple text weights in SwiftUI might not look straight forward at first. If you’re used to using UIKit you were probably looking into support for NSAttributedString in which you could apply different text styles for certain ranges. SwiftUI makes it possible to combine different text styles with the built-in plus (+) operator implementation. Multiple …
Search Results for: Professional 1z0-1122-24 Exam Certification Cost for Real Exam 🎲 The page for free download of 《 1z0-1122-24 》 on ☀ www.pdfvce.com ️☀️ will open immediately 🔭Pass 1z0-1122-24 Test
Adding a closure as a target to UIButton and other controls in Swift
The target-action pattern is used in combination with user interface controls as a callback to a user event. Whenever a button is pressed on a target, its action will be called. The fact that the method is not defined close to the control definition is sometimes seen as a downside and reason for a lot …
Launch screens in Xcode: All the options explained
Launch screens appear when your app starts up and give the user the impression that your app is fast and responsive. After your app is loaded it will be replaced with your app’s first screen after which the user can start using your app. Xcode creates a storyboard by default which you can use to …
ValueTransformer in Core Data explained: Storing absolute URLs
ValueTransformers in Core Data are a powerful way of transforming values before they get inserted into the database and before they get read. They’re set up in an abstract class which handles the value transformations from one representation to another. They’re often used as a way to store values that aren’t supported by default. Core …
Full-screen development with Xcode and the Simulator
While developing apps it’s important to create focus to get in your flow and speed up development. Full-screen mode can help to keep your focus without any distraction from other apps. Up until Xcode 12 full-screen support was hidden behind a user defaults flag. With the latest version of Xcode, we can now simply make …
SVG Assets in Xcode for Single Scale Images
Xcode 12 introduced support for using Scalable Vector Graphic (SVG) image assets in iOS, macOS, and iPadOS. It’s one of those changes that you might have missed during WWDC 2020 as it’s quite a small addition. Up until Xcode 12, we were able to use single scale resources by using PDF assets. It takes away …
SF Symbols: The benefits and how to use them guide
SF Symbols were introduced during WWDC 2019 and are a big present for us developers. Apple basically gave us free symbols to use in our app, and it’s straightforward to use them as well! With SF Symbols 2.0 being introduced in WWDC 2020 and 3.0 at WWDC 2021, we’ve got even more possibilities to show …
WWDC 2020: 7 Tips to prepare yourself
In less than a week we will know what WWDC 2020 has brought to us. Apple has been working hard like every year to deliver a new Xcode, OS versions, and possibly new products. It’s like Christmas in the middle of the year if you’re developing for any of Apple’s platforms. This year is a …
@discardableResult in Swift explained: Ignoring return values
While writing methods in Swift you’re often running into scenarios in which you sometimes want to ignore the return value while in other cases you want to know the return value. The @discardableResult attribute allows us to enable both cases without having to deal with annoying warnings or underscore replacements. It’s a small feature in …
Core Data Performance: 6 tips you should know
Writing Core Data code with performance in mind helps to prepare your app for the future. Your database might be small in the beginning but can easily grow, resulting in slow queries and decreased experience for the user. Since I started writing the Collect by WeTransfer app in 2017 I’ve been writing a lot of …