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 …
Search Results for: A00-282 Schulungsangebot š A00-282 Dumps š A00-282 Echte Fragen š ā„ www.itzert.com š” ist die beste Webseite um den kostenlosen Download von ā¤ A00-282 ā® zu erhalten šA00-282 Tests
@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 …
Introducing GitBuddy: Changelog and Release manager for GitHub
It’s been a few months since we released the initial version of GitBuddy but it’s the right time now to tell you all about our new best friend. We’ve been testing it intensively by making use of it in all our iOS related open-source projects at WeTransfer to create and manage our changelogs and releases. …
Expressible literals in Swift explained by 3 useful examples
Expressible literals allow you to initialize types by making use of literals. There are multiple protocols available in the Swift standard library and chances are big that you’ve already been using one of those. An example is the ExpressibleByStringLiteral allowing us to initialize a String using surrounding double quotes instead of using the String(init:) method. …
Supporters
Iām truly grateful to all the people and companies that decided to support my blog, open-source development, and community efforts through GitHub Sponsors and advertisements on my blog. Super Supporters – $10/month Sindre Sorhus Marcos Griselli Nahuel Zapata Morin Innovation IKova Sangeui GetStream Supporters – $5/month Josh Holtz Stewart Lynch James Sherlock Andres Ramirez Will …
Using Custom debug descriptions to improve debugging
Custom debug descriptions can help you debug your own custom objects, structs, errors, and other types. Whenever you print out an object you might end up with basic information that doesn’t really help you solve your issue. Printing out a struct shows you all the values while you might only be interested in one of …
URLs in Swift: Common scenarios explained in-depth
URLs are everywhere in an app we built. We reference local files using bundle paths, we fetch data from a path pointing to our API, and we fetch images to display visuals. While working with URLs we often need to verify things like making sure that it’s pointing to a file or that certain query …
SwiftUI Previews: Validating views in different states
SwiftUI Previews allow us to develop a lot faster as we can now preview our views live in Xcode. Whenever we change a piece of code, our preview will update and show the rendered change accordingly. While developing a view that has to change into different appearances for certain states it helps a lot if …
Custom Operators in Swift with practical code examples
Custom operators in Swift can make your code easier to read and simpler to maintain. Code can be written less lines of code while keeping it clear what is happening. Custom operators are also known as advanced operators and allow you to combine two instances with a self-chosen infix, prefix, postfix, or assignment operator. When …