TIL date formatters in Swift leaking important details; Read Using unit tests to identify & avoid memory leaks in Swift
Interesting post Sneaky date formatters exposing more than you think. If you refactor date formatter into property and make it let, formatter still can by changed because it’s class. It could lead interesting consequences when some part change formatter thinking they change local copy.
Read post Using unit tests to identify & avoid memory leaks in Swift. Havn’t got everything, especially about closures.
Read post Capturing objects in Swift closures discussing some alternatives to weakly capture self on closures. Haven’t got everything. But might return here later on.
Interesting blog of iOS developer with very narrow specialisation - deep learning on iOS. One of services he provides - converting neural nets to run on iOS devices. Definitely I should keep an eye on this blog. It has very interesting and useful post about one-shot networks like YOLO. And post specifically about YOLO.
Interesting post about MVC on iOS iOS Development and the Wrong Kind of MVC.
Interesting post UIGraphicsImageRenderer
, about block based API on CGContext.
Very interesting post Re-creating the Siri Shortcuts Drawer Interaction about building drawer like in Shortcuts app from Apple. Worth further reading and step by step recreation. And it draws attention to how good Shortcuts app is. I should give it a try.
This post about creating infinite scroll view Custom UI Master Class: Infinite Paging Scroll View worth keeping a bookmark on. Haven’t read this carefully.
A Swift MVVM Tutorial just saved for further reading.
Very useful post of John Sundell Avoiding race conditions in Swift. Fuck! private extension
! Whole extension can be private! TODO: follow-ups of that post are Unit testing asynchronous Swift code, and Mocking in Swift and Reducing flakiness in Swift tests.
AloeStackView of AirBnB worth trying. AirBnB writes about motivation of developing this in post.
What’s New in Storyboards 401 WWDC 2015 video:
- Storyboard references (connections between scenes in different storyboards or in one complex storyboard).
- 7:00 shows interesting custom container view controller which manages several “tabs”. Might be very interesting to build this myself.
- if view controller doesn’t have view, runtime falls back to loadView method.