S Link
Find Your Perfect Fit - Try Hired
If you're looking for your next great iOS opportunity, look no further. Get access to over 4,000+ innovative companies looking for their next iOS ace.
Swift Around the Web
Testing Swift code that uses system singletons in 3 easy steps
Unfortunately, as iOS developers, there is not escape from singletons... hi there our friendly singleton-based APIs UIApplication
, NSDate
, NSUserDefaults
, URLSession
, and many more.... But as Swift developers, we can abstract them out into protocols, hide them, and make an interface that is much safer to use ๐
Coding
Detecting the first launch of the iOS application โ the wrong and the right way
Detecting the first launch of my app is always something I copy from StackOverflow and don't think about much after that. But this post definitely has some great refactoring to the StackOverflow version, including making it easily testable and isolating responsibilities ๐
50 iOS Interview Questions And Answers Part 2
Good list of questions to get started with if your team is stuck with white-board algorithm interview questions ๐คฆ๐ปโโ๏ธ... For those not involved in the interview process currently, this is also a good reference and review of some key iOS and Swift concepts. Also check out Part 1 and Part 3.
Apple News
Other Cool Stuff
Okinawa Island - The Healthiest Place on Earth
The secret to a happy and healthy long life ๐ค
The Okinawansโ secret, Iโve come to understand, lies in two things โ their food, and their attitude towards life. As a happy bunch of people, the elders seem to have no worry etched on their faces, stress seems to be a foreign concept to them. An 88-year-old farmer who still works 11-hour days at the field, says, โI hardly ever get angry. I enjoy life because Iโm happy at work and I think thatโs the medicine for a long life.โ
In Case You Missed It
This week, I've been working on a big refactor to the try! Swift Data Framework now that the Tokyo conference is over and I can repay some technical debt. Still a lot of work to do, but here are some things I ran into:
Videos
Everything You Ever Wanted To Know About Sequence and Collection
"Everything is built on top of a protocol called
Sequence
.Sequence
provides the backbone of many of the things that youโre used to working with when you work with arrays. For example, when you usemap
orfilter
, when you find the first element passing some test onSequence
, that is all defined on this protocol calledSequence
. Itโs the simplest thing, and everything is built on top ofSequence
. The rest of the protocols layer on top of each other like a ladder. Weโre going to work our way through part of that ladder."
Swift Evolution
Swift Releases Have Themes
Good insight into how the Core Team decides which proposals should make into the next version of the language. The key is that each release focuses on a small number of themes - proposals contributing to theses themes are given priority:
"The coherent design is important both within the releaseโbecause it makes it easier for developers to learn to use the new features togetherโbut also for the long-term health of the language. Without theming proposals, it is very difficult to see how an individual proposal fits into the overall direction of Swift."
๐ฏ Makes sense
SE-0158 [ IMPLEMENTED (Swift 4)]: Package Manager Manifest API Redesign
Thanks @aciidb0mb3r ๐
The
Package.swift
manifest APIs were designed prior to the API Design Guidelines, and their design was not reviewed by the evolution process. Additionally, there are several small areas which can be cleaned up to make the overall API more "Swifty".
Podcasts
Source Stability (What is a Source Breaking Change?)
It's not as straightforward as you may think...
Swift Code
- SwiftPlate - Easily generate cross platform Swift framework projects from the command line
- plank - A tool for generating immutable model objects
- touch-bar-simulator - Launch the macOS Touch Bar simulator from anywhere without needing to have Xcode installed
- GodEye - Automatically display Log, Crash, Network, ANR, Leak, CPU, RAM, FPS, NetFlow, Folder and etc with one line of code based in Swift.
- FNReactionsView - FNReactionsView is a customizable control (based on UIView) to give people a way to show floating emoji like facebook does during live stream, easy way.
- FengNiao - A command line tool for cleaning unused resources in Xcode.
Business
Apple Acquires Workflow
Possible future of iOS? I've been talking a lot about how the future is a more decentralized version of your app, and it definitely looks like Apple is heading this way especially now with the acquisition of Workflow. But of course it could just be a longer-term acquihire of a very talented team. Congratulations to everyone involved ๐
Swift Thoughts
WWDC ticket registration opens today! I won't be attending this year, even just being in the city for AltConf, but I've had an amazing time every time I have attended. I'm sure it's going to be amazing... even in San Jose!
May the odds be ever in your favor ๐