Tag Archives: Delegate

Advantages of NSURLSession over NSURLConnection in iOS and Sample Demo Code

By | March 30, 2016

In an application we usually works with Data tasks – Data tasks are used for requesting data from a server, such as JSON data. These data are usually stored in memory and never touches the File System We can use NSURLSessionDataTask. Upload Tasks – Upload tasks are used to upload data to a remote destination.… Read More »

iphone adjustable UITextField when keyboard popup

By | June 15, 2011

In iphone programming there is no direct method to move the UITextField above the keyboard. Instead we do some adjustment. Iphone keyboard occupies the bottom 216 pixels on the screen so the UITextField placed at the bottom will not be visible. Try this method The first function will move the UITextField to the position we… Read More »