Top iOS Articles by Readaggregator Channel (Dec 2017). š
Donāt forget to check the previous post for November if you missed it and do join into the telegram channel! Happy New Year!
1. Strings in Swift 4
Long read written by Ole about String architecture details in Swift.
2.@objc and dynamic
As you possible know, in Swift 4 dynamic doesnāt imply @objc by default anymore ā now itās just a dynamic dispatch and nothing about Objective-C visibility. So in this post Greg compares these two flags ā what are defferences between them and which one is slower. š
3. 31 Million Client Registration Files Leaked by Personalized Keyboard Developer.
A bit scary news for users who was using Ai.Type custom keyboard!
Was leaked about 31 millions sensitive and identifiable userās data: phone number, full name of the owner, device name and model, mobile network name, SMS number, screen resolution and so so on.
Donāt use custom keyboards anymore. š¬
4. A Quick Tip For String Performance
A quick String performance win. Must read whoās going to write own string parser.
A string can be backed by a Swift String or NSString. By appending an empty string, we force it to be backed by a Swift String.
5. Fastlane introducing fastlane Swift support
Itās time to forget Ruby :) Fastlane has introduced the Swift support (in the beta now). š
6. Patterns for Working With Associated Types
I think many of us have wondered about Associated Types in Swift ā why itās so painful to work with, why we canāt store it as a property and so on.
So, hereās an article with a full explanation of these problems and the available ways of working with it:
7. How to import a C library in Swift using the Swift Package Manager
This guy doesnāt write bad articles! This time Ole talks about the approach of importing a C library into your Swift code via SPM.
I understand itās not an everyday task, but Iām sure itās interesting to know though. And that book he talks about is really good one IMO. š¤
8. A complete list of articles on Unit Testing with Swift from 2017
A great collection of resources about Unit Testing! Do promise yourself to start writing unit tests next year! š
9. Apple Plans Combined iPhone, iPad & Mac Apps to Create One User Experience
Apple combines iOS and macOS apps. Itās a good chance to improve Mac App Store. And I hope you use adaptive layout a lot ;)
10. iPhone X home button
Letās deal how a new iPhone X home indicator works under the hood. A bit of reverse engineering and Objective-C :)
Thanks for reading! If youāve enjoyed the given articles ā feel free to join to our telegram channel!
Shaggy iOS Engineer at Rosberry. Reactive, Open-Source lover and Retain-cycle detector :)