Tag: macos

Welcome to Issue 1 of Katkay Dev Weekly Newsletter!

We have created this newsletter to cover interesting aspects and the best links we have found online, every week, related to iOS, iPadOS, macOS, watchOS, and tvOS development.

This newsletter is delivered weekly through email to our subscribers and can be read online here.

If you have any interesting links you would like to suggest, please send them using this form.

Enjoy!

Magno Urbano

Week News

iPads and tablets for that matter, are devices to be operated by fingers. Because these devices are more powerful every year, all companies decided to provide them with mouse support. One thing is simply enabling mouse support without any thought about the consequences, as all companies, except Apple, did. Without guidelines, is up to developers creating interfaces as they please. The final result is a poor user experience. Another thing is bringing an insane team together and brainstorming how mice should operate on the iPad, creating a complete revolution, as Apple did. The following video from WWDC 2020 is a masterpiece and shows exactly this. It shows how far Apple goes to get something right. The video is a monument to Human Interface Design and a borderline case between mental brilliance and total madness. You cannot miss that!

SwiftIO is the first programmable microcontroller board that runs Swift natively and can be used to control all kinds of electronic projects. Comes with a NXP i.MX RT1052 Processor with Cortex-M7 core @600MHz, 8MB SPI Flash, and 32MB SDRAM.

Sponsorship

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

Code Highlight
Creating SF Symbol Mutable Attributed Strings

The following Class Extension is very useful when you need to create a NSMutableAttributedString containing a SF Symbol:

How to use:

Result:

SF Symbol + OK

The following document is a collection of tips and tricks for writing high-performance Swift code.

Ole Begemann explains why he thinks Swift documentation is not as good as it should be and why he thinks Swift open source project should host and maintain the official documentation for Swift, independent from Apple.

Tools, baby

Xcode is the complete developer toolset used to create apps for all Apple devices. iOS 14, and all new versions of the diverse operating systems used by Apple – iOS, iPadOS, macOS, watchOS, and tvOS –, are about to be launched, bringing with them a new version of Xcode; version 12. In this article, Vineet Chouldhary explains what is new in Xcode 12.

If you your apps contain web views like WKWebview and you are using custom fonts of any kind ( .ttf or .otf) these fonts may be slowing down your app. It is not rare for such types to reach sizes of 4MB or more. If this is the case, I cannot recommend enough this online tool called Font Squirrel. Font Squirrel will convert any ttf or otf font to woff and woff2 and generates a CSS style. The final fonts are in generally 1 million times smaller than the original!