18
2012
Connect IOS App to ASMX Webservice in MAC
Just for sharing, i was working on a project that needs the iphone app to be connected to an asmx webservice. ASMX runs in windows, under .NET architecture. Of course, the best fix is to get a Windows machine. As a MAC user without a Windows PC, I have to figure out how to run a .NET webservice in my MAC so that i can test my iphone app’s webservice with my MACBOOK. Generally, there [...]
5
2012
CLTickerView – An IOS Ticker
CLTickerView is an IOS library for building a ticker or marquee in HTML. It is built with UIScrollView, UILabel and NSTimer. Features: Animated text from right to left, like HTML Marquee Tap on text to stop, drag to scroll, and release to resume the animation This is how you can use the library: CLTickerView *ticker = [[CLTickerView alloc] initWithFrame:CGRectMake(0, 20, 320, 30)]; //set the text ticker.marqueeStr = @"This is a sample ios marquee using scrollview [...]
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 [...]
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 [...]
19
2011
Customizing UINavigationbar
Before IOS 5.0, UINavigationbar can be customized by using ‘Category’. On IOS 5.0 onwards, customizing with ‘category’ doesn’t work anymore, instead we can use a new API called: – (void)setBackgroundImage:(UIImage *)backgroundImage forBarMetrics:(UIBarMetrics)barMetrics In order to customize UINavagationBar for both IOS 5.0 and below IOS 5.0 devices, we have to prepare these two methods: 1. Write a category for UINavigationBar (for IOS 4.3 and below) 2. Check if device is IOS 5.0 and above, use – [...]
7
2011
Modify XCode 4.2 Project Template
In this post I’ll show you how to modify the XCode 4.2 Project Template. When we create a new project in XCode, we can choose which project template to use. However, some project templates provide an options to use Core Data while some not. To enable the Core Data option in a project template, we need to modify the ‘TemplateInfo.plist’ which you can find at: Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application/(Application Type).xctemplate/TemplateInfo.plist For example, by default my Tabbed Application [...]
Ads
Facebook Page
Categories
- Apache (1)
- Apps (2)
- Blog (19)
- IOS (20)
- IOS Library (5)
- iPhone Tutorial (17)
- Javascript (1)
- Node.js (1)
- Twitter (1)


An article by



