Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

UIAlertViewController with TextFiled in iOS

To Create a alertView with textField in Xcode 7.2 we can Use the the code below to handle the Yes and no action. and also get the text of the textField. You can show this on a viewController.   UIAlertController * alert= [UIAler...

Change UISearchBar appearance in Objective C

If you want to change the appearance of UISearchBar and its related elements then use below code. -(void)changeSearchBarAppearance{ [[UITextField appearanceWhenContainedIn:[UISearchBar class], nil] setBackgroundColor:[UIColor whiteCol...

Post/Blog Sharing time formats like Facebook, Twitter in iOS.

There are several posting time formats available, social sites are using their own styles of post time display. But the logic behind each posting is same, basically it depnds upon the date and time difference. Here is the function to calculate th...

How to disable user interaction of an iOS app

In iOS application there are only few ways to disable user interaction for the whole screen or UI. Some developers use property (User Interaction Enabled) for a specific control, some uses MBProgressHud class by displaying spinner or some uses us...

Save data to Parse DB table in iOS app

To save data in parse DB table, create one PFObject and write the information that you want to save to table. For example - I have a table name "Post" with column names : title, message, postTime. Lets save one record to this table. PFObject ...

Round or Circular ImageView in iOS

You may have seen several mobile applications with round or circular image view. It is mostly used while displaying User's profile pic or in a tabular representation of images. You can do it very easily without using third party classes or Librar...

Trim whitespace from a NSString in ios

If you want to trim occurrence of whitespace character from both ends of a NSString. Use below code to do it:- NSString *newString = [yourString stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceCharacterSet]]...

UIImage Cropping in Objc

Some times we click picture from ios camera but it does not return us the same image as appears inside the camera frame. Use below function to get an image of exact size which was visible through camera. Follow these Steps:- Step 1. First o...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: