This repository serves as a reference for iOS tricks that are commonly forgotten until you dig up that one project from that one time where you implemented it previously.
-
Install rubygems, you probably already have this
-
Install bundler, you might already have this
-
Install dependencies using bundler
bundle install -
Install project dependencies via bundler
bundle exec pod install -
Open TipOfMyKeyboard.xcworkspace
- SelfSizingCollectionViewController.swift, an example of self-sizing
UICollectionViewcells and supplementary views - NavigationBarTintColorUpdatingViewController.swift, an example of animating the
barTintColorproperty ofUINavigationBarin a way that supports interactive pop - BadgedBackBarButtonItemViewController.swift, an example of a badged
backBarButtonItemproperty ofUINavigationItem, similar to how the Mail app badges the back item with the number of unread emails