Consuming WCF Web Services in an iOS Application
Consuming WCF Web Services in an iOS Application -(void)viewDidLoad { [super viewDidLoad]; //Web Service Call NSString *soapMessage = [NSString stringWithFormat: @"\n" "; \n" "\n" "" " \n" " \n" ""]; //[[NSURLCache sharedURLCache]…
Debug memory leaks with XCode Instruments
Debug memory leaks with XCode Instruments Using Appcelerator doesn’t mean you don’t have to take care of memory leaks. Odds are there is at least one leak in your app right now. Relatively unknown is that this can be easily detected with some XCode…
Tips for Lazy Loading of Images in IOS
Tips for Lazy Loading of Images in IOS 1. Create a new Xcode Project, Single View Application template and add a tableview. 2. Create a custom table view cell. 3. Download SDWebImage latest framework here.…
Tips to create Custom Cells And Delegates
Tips to create Custom Cells And Delegates Create A New Project Open Xcode, click on File->New->Project and select Single View Application. Name the project Tableview Tutorial 3 and set class prefix as TVT. Create the project. – Download the…
Tips for Bounds and Frames in IOS
Tips for Bounds and Frames in IOS The bounds of an UIView is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0). The frame of an UIView is the rectangle, expressed as a location (x,y) and size…
Tips To Store and Retrieve Your Value From Keychain in IOS
Tips To Store and Retrieve Your Value From Keychain in IOS You should always use Keychain to store usernames and passwords, and since it’s stored securely and only accessible to your app, there is no need to delete it when app quits (if that was…
Tips to create dropdown list in IOS
Tips to create dropdown list in IOS The Native iOS controls do not specifically have a native control for a dropdown. What we want is a control that behaves like a dropdown that uses a UIPickerControl . Native iOS dropdown To create the dropdown arrow we…
Tips for beginner programming mistakes
Fear and lack of self-confidence The number one mistake you can make as a beginner programmer is to think you’re not good enough, not smart enough: that you have the wrong type of brain, and you’ll just never get it. I believe that anyone can learn to…
Tips for How to write Better Code
Use a Coding Standard It’s easy to write a line of code, unorganized code, but it’s hard to maintain such code. Good code typically follows some standard for naming conventions, formatting, etc. Such standards are nice because they make things…
Simple Objective-C Tutorial For Developing Apps in IOS
Objective-C is an object-oriented programming language, and is a layer over the C programming language. This means that if you know how to write C, there are only a few syntax changes to learn. In this section, we will look at how we can implement…