One (Not So) Weird Trick For Accessibility

Recently one of my coworkers was trying to wrangle the accessibility label for a collection view they were working on. By default, performing the accessibility scroll gesture on a UIScrollView (or subclass) will move the scroll view’s content up or down by one “page”[1], and VoiceOver will read out your current position, e.x. “Page 2 of 15”[2]. The problem in this case was that their collection view lazily loaded its contents as the user scrolled, so the accessibility cursor would land on the view and dutifully read out “Page 1 of 1” when in reality there were many pages of...

read the rest of “One (Not So) Weird Trick For Accessibility”

How I Use Storyboards

Acknowledging that storyboards exist, and that any given iOS/OS X developer will have to touch them at some point, let’s look at how to minimize the pain they can cause.

Most storyboards I see on a day-to-day basis boil down to this:

Storyboard Full

Which is to say; the view controller instance in the storyboard contains its view—which means that, in order to be useful, the storyboard must contain some subset (or all) of the GUI elements for the app. Down this road is pain, anguish and merge conflict hell. The drawbacks of this method are well...

read the rest of “How I Use Storyboards”