Using Auto Layout in UITableView for dynamic cell layouts & variable row heights

How do you use Auto Layout within UITableViewCells in a table view to let each cell’s content and subviews determine the row height (itself/automatically), while maintaining smooth scrolling performance? 2 28 TL;DR: Don’t like reading? Jump straight to the sample projects on GitHub: iOS 8 Sample Project – Requires iOS 8 iOS 7 Sample Project … Read more

How can I make a UITextField move up when the keyboard is present – on starting to edit?

With the iOS SDK: I have a UIView with UITextFields that bring up a keyboard. I need it to be able to: Allow scrolling of the contents of the UIScrollView to see the other text fields once the keyboard is brought up Automatically “jump” (by scrolling up) or shortening I know that I need a … Read more

What’s the difference between the atomic and nonatomic attributes?

What do atomic and nonatomic mean in property declarations? @property(nonatomic, retain) UITextField *userName; @property(atomic, retain) UITextField *userName; @property(retain) UITextField *userName; What is the operational difference between these three? 2 27 The last two are identical; “atomic” is the default behavior (note that it is not actually a keyword; it is specified only by the absence … Read more