UITableView has Plain and Grouped style. When you use grouped style top cell will have upper corners rounded, middle cell don’t have any of corners rounded and bottom cell have lower corners rounded. I’ll show you how to customize UITableView grouped look, so you’ll need 3 cell images: top, middle and bottom image. You’ll also […]
Read MoreWe blog on all things iOS
How to Take Screenshots Programmatically?
Today I’ve been playing a bit Jetpack Joyride, game is really cool and I noticed one nice detail in game: as you finish game you get option to take a look at gameplay screenshot and if you like it you can save it to your photo album. This gave me an idea to write a […]
Read MoreUIGestureRecognizer dependencies
Common sense for gestures detection in iOS programming is to use UIGestureRecognizer class. Gestures you can detect are: tap, pinch, rotation, swipe, pan and long press. To define gesture recognizer you’ll have to use one of UIGestureRecognizer subclasses: UITapGestureRecognizer; UIPinchGestureRecognizer; UIRotationGestureRecognizer; UISwipeGestureRecognizer; UIPanGestureRecognizer; UILongPressGestureRecognizer. It’s possible to create dependencies between gesture recognizers and I’ll show […]
Read MoreUIImageView Quartz tricks
I can see that very often developers in their apps just place image on screen and they do nothing about it. With Quartz framework you can easily add some effects to UIImageView like: borders, rounded corners, shadow, etc. Images with such effects looks much better. In this tutorial I’ll show you how to create UIImageView […]
Read MoreHow to Create UILabel inside of UIScrollView – programmatically
This short tutorial will show you how to programmatically create UILabel inside of UIScrollView. UILabel will contain long text and we’ll set UIScrollView content size to fit UILabel size. Create new project (view based application) and inside your main view controller find method viewDidLoad, tha’s where we going to add our code. First we need […]
Read More