Tag: Swift Tips

Week News

On November 21st 2020, Apple announced updates to Apple’s SF Symbols Mac app:

SF Symbols 2.1 is out. Over 40 new symbols, improved symbol localization, design refinements, and various software fixes.

Go get it! It is free.

Download it from here.

 

Week News

iOS 14 brings live a framework called “Screen Recognition”, a computer vision system that is able to recognize buttons, labels, icons, and other UI elements, as well as elements inside images like dogs, cats, facial expressions, etc., that enable blind people to operate applications in a easier way.

Enrollment is now open for the new App Store Small Business Program, designed to accelerate innovation and help propel your small business forward. Featuring a reduced commission rate of 15% on paid apps and in-app purchases, this program helps you invest more resources into your business so you can continue building great apps. The vast majority of developers on the App Store who sell digital goods and services are eligible — simply complete a short enrollment form.

Enroll now

Code Highlight

This is a trick if you want to combine Text elements with different styles, like cololors, fonts, etc.

Just use the + operator.

Result: two Text elements on the same line, each one with a different style

All you have to do to receive notifications on SwiftUI is to add the following modifier to your interface elements:

To use this API, post a notification like this from any part of your code:

Here you have more than 100 amazing Swift Tips.

Code samples, tips and tricks that show interesting Swift techniques and language features.

Sponsorship

Thanks for everybody supporting this newsletter. Our number of visitors are skyrocketing. We have a growth of 450%, in terms of visited pages, since the last newsletter issue. So, thanks again for your support

All you need to know if you want to sponsorship this newsletter, in the following link.