rs/SDSegmentedControl — pull request #13 by xzenon (2012-11-03 17:52:12+00:00)
Title: Changed _items initialization to avoid EXC_BAD_ACCESS crash

Somehow _items property is not propely initialized when directly accessed in commonInit. It then causes EXC_BAD_ACCESS crash when looping self._items in layoutSegments.

(I don't use Interface Builder and initialize control via [[SDSegmentedControl alloc] initWithItems:...])