(Yes, I have converted to the Church of Auto Layout, and I’m not looking back. It’s awesome. Ship one thing with it and it’ll become easy.)
-
-
- View other replies
-
@SteveStreza I still struggle with auto-layout when doing animation; other than, that it is awesome. -
@mcflainez Change constants outside the animation block, call [self.view layoutIfNeeded] in the animation block.
-
-
-
@SteveStreza I really wish I understood Auto Layout. I can sometimes make it do what I want, but I can never reproduce that. -
@ws Start small. Build a stupidly easy view with it. Build up. This is not a system you will master overnight. -
@SteveStreza I still have a really hard time understanding the concepts. - Show more
-
-
-
@SteveStreza My life changed for the better the exact moment I realized you could hook IBOutlets to constraints - View other replies
-
@hooktail154@SteveStreza wait what -
@KyleHughes@hooktail154 YEP. Then you just set the constant, animate [self.view layoutIfNeeded], and everything is awesome. -
@SteveStreza god dammit jonas
-
-
-
@stevestreza for real and for true? -
.
@arcyn1c Yep. It’s not perfect for everything, but it can remove hundreds of lines of code from view controller subclasses. - Show more
-
-
@matthewmascioni Build the smallest possible thing with it and it’ll start to become clearer and easier. -
-
@stevestreza@colincornaby it still kinda sucks for localisation. I hope that changes soon :/ -
@notjosh@stevestreza This is true. I just use text in Nibs as placeholders, and then fill in the text in code. -
@colincornaby@notjosh This is what I do as well. -
@stevestreza@colincornaby oh yeah, same. it's just an extra hoop to jump through that I don't think we should -
@notjosh@stevestreza I’m doing a lot of reusable nibs these day so the text has to be dynamically updated anyway. -
@notjosh@stevestreza The real power of nibs is you can swap the UI but use the same class. Great for tables and collection views.
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Spooky Streza
flainez
Will Smidlein
Josh
kyle hughes
Jeffery
joshua may
Colin Cornaby