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 [...]
3
2011
Parsing XML in Objective-C with TouchXML
There’s a lot of libraries available for parsing XML in Objective-C, one of them is TouchXML. Here’s a sample source code on how to use TouchXML to parse XML data. You can get the TouchXML here. TouchXML is using XPath, if you never heard of XPath, read it more here.
28
2011
PLCrashReporter, The iPhone crash framework
PLCrashReporter provide an in-process CrashReporter framework for the iPhone and Mac OS X. This framework is very helpful in getting the crash report for your app from beta tester or real users. I’m not sure how most of the developer ask for the crash report from their users, but one way is to ask them to connect their IOS device to iTune, get the crash report and send them manually, but this is just too [...]
26
2011
CLKeypad, A Customized iPhone Keyboard NumberPad
CLKeypad is a customized iPhone keyboard NumberPad with a customized toolbar. It has the same function as UIKeyboardTypeNumberPad except that CLKeypad provide an extra decimal point button. You can customize the toolbar and each of the keys with your own image. To use CLKeypad, you just need to implement it’s delegates, – (void)hideCLKeypad; – (void)numberPressed:(NSString *)number; and the UITextFieldDelegate to assign the texfield’s inputView(toolbar) and inputAccessoryView(keypad): -(void)textFieldDidBeginEditing:(UITextField *)textField{ if (keypad == nil) { keypad = [...]
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


