Hello React Native one more time
I wanted to try React Native for quite some time now. But this time for real.
I wanted to try React Native for quite some time now. But this time for real.
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.