26
2012
Customize UISearchBar Background Image
In this post, I’ll walkthrough how to customize the background of UISearchBar. In order to customize the UISearchBar, first we need to know it’s subviews. We can get the subviews by running the code below: for (UIView *subview in [searchBar subviews]) { NSLog(@"%@", [subview class]); } If you run the code above, and you are running IOS 4.3 and above, you should see two subviews “UISearchBarBackground” and “UISearchBarTextField”. So, we know that UISearchBar consist of [...]
26
2012
O level POA iPhone App
New iPhone app released on Chinese New Year, Jan 25, 2012. App name: O Level POA Description: Learn GCE ‘N’ and ‘O’ Level Principles of Accounts by reviewing the notes specially designed for Secondary 3, 4 and 5 students in Singapore. You will be able to read full notes of all topics and test yourself by attempting on at least 10 multiple-choiced questions per topic. Correct answers will be marked in green while wrong answers [...]
17
2012
UILabel With Different Style Text
There are situations when we need to style a UILabel differently for each text. This can be done by using NSAttributedStrings. Thanks to the library OHAttributedLabel, you can achieve the styled NSAttributedStrings easily under one UILabel. In order to use the library, you must first import the CoreText Framework. In the example below, I style the label so that the text are splited into 2 different colors. OHAttributedLabel *label; NSString *txt = @"page (1 of [...]
Ads
Facebook Page
Recent Comments
Categories
- Apache (1)
- Apps (1)
- Blog (18)
- IOS (17)
- IOS Library (4)
- iPhone Tutorial (15)
- Javascript (1)
- Node.js (1)
- Twitter (1)

An article by

