December 2011
2 posts
2 tags
While loading a custom UIView from a xib
Instead of this: NSArray *bundle = [[NSBundle mainBundle] loadNibNamed:@”CategoryView” owner:self options:nil]; CategoryView *categoryView = (CategoryView *)[bundle objectAtIndex:0]; for (id object in bundle) { if ([object isKindOfClass:[CategoryView class]]) categoryView = (CategoryView *)object; }   Isn’t this nicer and shorter?  CategoryView *categoryView =...
Dec 28th
1 note
4 tags
SESpringBoard is now paginated!
I just added some paging support to my new iOS control. Now if you have more than 12 items in your stack, it is gonna get paged beautifully and will have a page control in the bottom of the screen. You can grab SESpringBoard from GitHub and use it in your projects freely. Be sure to fork it if you have some ideas for any additional functionality :)
Dec 14th
5 notes