Recent Posts
- Example: Detecting Tangible Objects On The iPad Screen
- Great Looking Open Source Drag To Share iOS UI Control
- Top iOS Development Resources For Week Ended April 19th, 2013
- Open Source Control Allowing You To Easily Create An E-Mail Recipient Library Like The Mail App
- iOS Library For Creating Great Looking Customizable Flat User Interface Elements
- Open Source iOS Utility Library For Easier Concurrency Programming
- Open Source Drawer-Style Navigation Controller With Customizable Transitions
- Open Source Control Providing FlipBoard Style View Navigation
- Open Source iOS Component For Making Great Looking Animated Circular Menu Controls
- Top iOS Development Resources For Week Ended April 12th, 2013
Random Posts
- Tool: UIColor Color Display And Color Picking Extension For Xcode
- Custom iOS Control For Gesture Responsive Page Flipping (Flipboard Style) Between Views
- Easily Customizable UIAlertView Replacement With Support For A Blocks-Based Syntax
- Best Resources In iOS Development – October 17th, 2011
- Open Source UI Control Allowing You To Easily Create Animated Text Labels
- The Best Resources In iOS Development – January 31st 2011
- Dead Simple Library For Creating MD5, SHA1, And SHA256 Hashes From NSData and NSString Objects
- Offer: 3 App/Game Starter Kits And An Extensive Cocos2D Course For Beginners
- How To Add A Slick iBooks Like Page Turning Effect Into Your Apps
- Advanced Content Sharing With The Kik Messenger API For More iOS App Downloads
Hot Pages
- iOS App Review Sites - 174 Sites For iPhone And iPad App Reviews
- Open Source iPhone and iPad Apps Listing - Real App Source Code
- Open Source iOS Games List - Game Source Code
- Xcode 4 - iOS 5 Storyboard Tutorial And Guide
- (ARC) Automatic Reference Counting Tutorial And Guide
- GLKit Tutorial And Guide
- iOS 5 Core Image Tutorial And Example
- An Interview With Ray Wenderlich About The Space Game Starter Kit
- Game Programming Tutorial – Beginners Action Game
- iPad Development Thoughts Roundup
- iPhone Game Tutorial With Video - Programming Tutorials
- Xcode 4 Tutorial And Guide
Resource Lists
- Xcode Plugins List
- Cocos2D Tutorial And Example Page
- iOS App Review Sites - 100+ Sites To Promote Your iPhone And iPad Apps
- Tutorials From A Pro Designer For Design Noobs Looking To Create Great Looking Apps
- iOS Developer Cheat Sheets
- iPhone Game Engine Comparison - Open Source
- Open Source iPhone Apps Listing
- iPad Development Tutorial and Resources Collection
- iPhone Development On Windows Options
- iOS 6 Tutorial And Example Page
- Cocos2D iPhone Tutorial Resources
Johann Dowa
Create Great Looking UIButtons Quick And Easy
If you’ve used interface builder then you’ve probably noticed that you can change the colors and the actual image used for a UIView or UIButton background. The problem with doing this is that things end looking just a bit off. Either the corners are squared, things are off center or the other view elements just end up not looking right and you wind up either giving up or changing everything. I found this excellent tutorial from Matt Long, co-writer of the Core Animation book on creating custom buttons and views easily that just look great.
By changing the layer attributes of the button is it possible to keep the rounded button look while changing the color, and using CAGradientLayer it is possible to add some great looking gradients. You can see Matt’s tutorial for doing this here along with a nice sample application: Fun With UIButtons and Core Animation Layers
A useful resource for customizing the gradient effects can be found here:
The CAGradientLayer Class Reference
If you’d like to make gradient UITableView cells check out:
How To Make Ultra-Slick Gradient UITableView Cells
Hope this helps. I like it alot better than changing the background images myself. Please post any comments below.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.