Thanks Luke for this tutorial! This can be a time saver and rather easy than Autolayout however, I’m wondering if it can work with controls when their sizes are growing dynamically? Say we have UITextView on a ScrollView. UITextView height grows while typing text inside that.
Hey @afturner , sorry for the late reply, but I’m hoping to get full Swift versions of these tutorials made in the next month or two! I’ve been pretty swamped with Video Tutorials since I finished writing these so I haven’t gotten to get the Swift versions out as soon as I’d have liked
@shafi Yes it can work with dynamically growing content! There may be some specific things about scroll nodes I don’t know off the top of my head, but in general you can just define your layoutSpec so that it works for the smaller or larger version and then call -transitionLayoutWithAnimation: and then either let the default animations happen or implement -animateLayoutTransition: to write custom animations.
Also hoping for a Swift version here also. But I think if we just get a Swift version of the Starter Project, that might even be sufficient. Don’t even need a complete rewrite of the tutorial.
This tutorial is more than six months old so questions regarding it are no longer supported for the moment. We will update it as soon as possible. Thank you! :]