Setup AppDelegate Without Storyboard
UPDATE 2019 AUG: If you are using SceneDelegate, refer to this newer post.
Figuring out software, one rabbit hole at a time.
UPDATE 2019 AUG: If you are using SceneDelegate, refer to this newer post.
Container view controller is a new concept from iOS 5.
SSL/HTTPS is now almost mandatory.
SwiftLint helps to enforce coding style.
Show Build Time
Travis CI is a service, providing machines, to help build your app, test, deploy, and more.
This is a guide on creating your custom UIViewController with code, without any storyboard/nibs/xibs. You may also be interested in reading guide to creating custom UIView.
This post explains how iOS determines the language to use in an app, and how Apple fallback to the next-best default language when necessary.
This guide is on using BrowserStack to run UI Tests on cloud devices.
iPhone X introduced The Notch, The Home Indicator, Safe Area, and a different resolution form factor..
Universal links are HTTP links that open your app, instead of the website in Safari.
This is a guide to creating custom UIView using Auto Layout, without Nib/Storyboard, and in Swift 4.
UPDATE APRIL 2018:
1. Create framework project
Codable is a new feature introduced along with Swfit 4 for encoding and decoding models easily, making third party libraries such as SwiftyJSON and Unbox obsolete. It is part of...
Swift’s official migration guide gives a good overview.
Changing the app icon is just 1 line of code with setAlternateIconName, but there are many pitfalls, and the lack of guide on how to do it.
tldr; I was integrating Oracle’s mobile push SDK and was stuck for 2 months. Turned out they have an embarassing bug involving an underscore! Oracle’s Responsys/PushIO proved ri...
Summary of what’s new in Foundation, Swift 4, from session 212. Tip: You can download WWDC videos easily with wwdc-dl.
Git has a very powerful command for developers to systematically find the commit that introduce a bug.
Adobe announced they are killing Flash in 2020.
I was backing up my Photos Library, a huge 500 GB Photos Library.photoslibrary, and copying the file to my external drive, it had this error:
We all know UI calls have to be run in the main thread.
This is a common scenario we will use as an example: Creating a table view that display images of different sizes, loading the images from the network and resizing the table vie...
The secret feature of Xcode
A guide for watchOS 3, because the watch app programming guide is not obvious.
This guide is for troubleshooting macOS in the scenario that it can’t boot up.
UICollectionView is the most powerful view controller in UIKit.
Over the past 10 years, I’ve lots of friends and classmates say to me: