Issues With Achieving Auto Layout Zen
Justin Williams: What frustrates me about setting constraints with Interface Builder is its instance on adding more constraints automatically for me, even if I don’t want/need them. […] When something...
View ArticleHow Much, or How Little, I Use Interface Builder These Days
Brent Simmons: Any one of those would be enough: all three thoroughly convince me to stay away from IB for all but the rarest cases. And the fourth reason I added just yesterday is that dealing with...
View Article10 Things You Need to Know About Cocoa Autolayout
Ole Begemann: Unfortunately, using autolayout with Interface Builder forces you to be careful. For instance, if you find that you need to replace one control with another, deleting the original from...
View ArticleInterface Builder: Curse or Convenience?
Florian Kugler (via Romain Briche): After working on a fairly complex iPad app for the last six months together with Chris Eidhof, my personal bottom line for Interface Builder doesn’t look too...
View ArticleAuto Layout Performance on iOS
Florian Kugler: For views where the amount of time it takes to create them is crucial (like the contents of table view & collection view cells, paging views, etc.) you have to keep the view...
View ArticleAuto Layout Shorthand
Jonathan Rentzsch: Auto Layout Shorthand is a poor man’s DSL wedged into a normal Objective-C dictionary literal. Each key-value pair contains enough information to create one NSLayoutConstraint. This...
View ArticleHow I Learned to Stop Worrying and Love Cocoa Auto Layout
Ole Begemann: If you find yourself in a situation that is difficult to solve with Auto Layout, just don’t use it for that particular view. You can freely mix the constraint-based layout with manual...
View ArticleStopped Using NIBs Thanks to Auto Layout
Kirby Turner: Because I use Auto Layout in code I realized overtime I was using Interface Builder only to define the UI elements that made up the view. I would define all the Auto Layout constraints in...
View ArticleAuto Layout and Views That Wrap
Jonathon Mah: The first call to [super layoutSubviews] will evaluate the constraints on the label (since it’s a direct subview) and change its frame accordingly. At this point the width is useful, but...
View ArticleAuto Layout on OS X: Backwards Compatibility
Milen Dzhumerov: Unfortunately, as it regularly happens on OS X, the need for maintaining backwards compatibility has lead to important differences and unexpected behaviour in the exact same API when...
View ArticleAchieving Zen With Auto Layout
Justin Williams: Achieving Zen With Auto Layout is the eBook companion to my talk of the same name, but with the goal of being much more expanded than what I am able to do in a 45-60 minute on-stage...
View ArticleThe Trials and Tribulations of Writing a 3rd Party iOS Keyboard
Alexei Baboulevitch (via iOS Dev Weekly): I recently released my first commercial project: Translit Keyboard, a 3rd party keyboard for iPhone that lets you transliterate Latin characters into Cyrillic...
View ArticleDeveloping Keyboards for iOS
Norbert Lindenberg on what he learned developing his English IPA Keyboard (App Store): Yes, some of these suggestions sound a little desperate, and for many keyboards you will at some point have to...
View ArticleMaking Tab-Switching and Scrolling Faster in OmniFocus for Mac
Brent Simmons: Setting up and tearing down the KVO observations isn’t a big deal, though. I was wrong about that. Updating the contents of a cell view is a big deal, however, and this is done when...
View ArticleHow to Use -updateConstraints
Ole Begemann (tweet): So should you use updateConstraints() as suggested in the documentation? In this year’s Mysteries of Auto Layout (Part 2) WWDC session, Apple gives different advice: Really, all...
View ArticleCustomizing Columns in OmniFocus 2.3
Derek Reiff: Today’s update to OmniFocus, v2.3, is all about (OK, is mostly about) column customization. OmniFocus 2 introduced the Fluid layout, which turned tasks with a lot of data—defer and due...
View ArticlePain Free Constraints With Layout Anchors
Keith Harrison: A frequent complaint with Auto Layout is how verbose and unreadable the syntax is for programmatically creating constraints. Fortunately iOS 9 has done a lot to improve things. Stack...
View ArticleConstraint Activation
Daniel Jalkut: Starting in OS X 10.0 and iOS 8.0, I was intrigued by the announcement that NSLayoutConstraint now supports a property called “active,” which can be used to, you guessed it, activate or...
View ArticleBuilding on Auto Layout
Bridger Maxwell: It is common to use addConstraint directly, but Auto Layout is actually a great engine to build layout systems on top of. In this post I’ll talk about different abstraction layers on...
View ArticleWorking Without a Nib
Jeff Johnson: Four score and minus seventy-two years ago, I brought forth on this internet a new blog post, conceived in levity, and dedicated to the proposition that no nibs are created. Since then,...
View Article
More Pages to Explore .....