Grandpa's guide to autoresizingMask for modern UIKit developers
So I wanted to write a quick tutorial on autoresizingMask
. It’s quick because there isn’t a lot of talk about. Or is it?
So I wanted to write a quick tutorial on autoresizingMask
. It’s quick because there isn’t a lot of talk about. Or is it?
After many years of search for the best way to build GUI softwares I think I’ve finally found the one true architecture to rule them all!
Quick question: How would you align all subviews horizontally while keeping their centers aligned using autolayout?
There are a plethora of wrappers around the AutoLayout engine. They all seem to provide convenience towards making the layout code look cleaner. In all fairness this is due to the fact that the first version of NSLayoutContraint
API was very verbose. But I remember when Apple announced the constraint based layout they were equally excited about providing a what they referred to as ‘ascii based constraints’. The idea is to create constraints between siblings and parent UI elements in a string based format. They even provide a guide to “Visual Format Language” aka VFL.
So it turns out apart from the fonts that come packaged with the Apple platforms you can also download a bunch of fonts at runtime There is a list that Apple has made available that you can find here https://developer.apple.com/fonts/system-fonts/.