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

Objective-C or Swift: Which Technology to Learn for iOS App Development?

  Introduction   It’s no argument that mobile platforms are kicking desktop computers out of the limelight and according to the most recent statistics, these will gain a significantly greater offer of the market in th...

Top 5 IDE Tools for iOS App Development

  Integrated Development Environment (IDE) is a software application that facilitates for Android & iOS app development. It is a graphical user interface that helps the developer to build software applications in an integrated e...

5 Steps iOS Tutorial to Create Repository in Bitbucket

Bitbucket is a hosting service which is used to store source code of any application and code reviews. We can store source code of the application in bitbucket with the help of repository. The repository is used to store source code and any furth...

Implement Face Detection Feature in iOS Swift Using Core Image Framework

In popular apps like Facebook, you may notice that while uploading any photo post, it automatically detects human faces. Everyone now knows that the face detection feature has become the hour of need for every Photo Sharing app. With the face ...

Install CocoaPods and Dependencies in Swift

Hi,   CocoaPods is a dependency manager built on Ruby. It has thousands of libraries and more than a million of apps which helps to scale our project in a graceful and stylish manner. It saves a lot of time when dealing with various de...

Email Password Validation

Hello Coders, It’s always a need to validate email at user end. Not only this but strong password is also suggested to secure accounts. Here are snippets to validate if correct email and strong password are entered or not.   ...

Dictionary to JSON String

We often come across a condition where JSON string is to be sent to server. for example parameters like username & password is to be posted as JSON String for validating credentials from server. Best practice is to create an extension of N...

Rescale UImage to New Size

We may be using image sets where few images are pretty big or small in size(say big 500X500 for instance). And if you want to resize the image to your desired size then it’s easiest by creating an extension of UIImage that will draw the ima...

Draw Line And Circle with Animation

CoreAnimation has provided various animation APIs that can be used to accomplish the animation needs. Using UIBeizierPath and CoreAnimation APIs here I’m drawing a line and a circle using CAShapeLayer. //Below is the function to d...

No Selection in interface builder

With Xcode4.0 and onward(including XCode7.x) we occasionally come across an issue in interface builder which happens while working. The Attribute inspector in Interface builder says “No Selection” although you’ve object/ele...

Creating SubDirectory using XCAssets

Sometimes we need to be more generic about naming convention of images. We may need same name of assets(images) for various views. Xcode doesn’t allow us to keep the files with same name and can throw error or change the asset name by it...

Make a simple paint application in iOS

We all have seen a paint application in our PCs or laptops. So, here we are going to build a simple application which uses different colors to draw on the screen :-   Lets start with making the UI. Drag an UIImageView and UIView in the...

How to make a view blur in iOS

If you want to make any UIView blur just like 'Notification' bar screen then here is a simple code to make it happen. This method will return a blur view and you can add that to your view as a sub view. -(UIVisualEffectView*)creat...

How to take screen shot of an iOS device

If you want to capture screen of an iOS device as you take the same from iPhone by pressing 'Power' button an 'Home' button then here is the code. It will take screen shot even if there is any transformation or transition running....

Crop UIImage in iOS

Hello all ! To crop an UIImage in iOS the following code can be used :-   - (void)viewDidLoad { [super viewDidLoad]; [_originalImage setImage:[UIImage imageNamed:@"Scenery.jpg"]]; CGRect rect = CGRectMake(...

Passing data using NSNotificationCenter

There are different ways for passing data between controllers in Objective-C. In this example we are going to use NSNotificationCenter for passing data from one view controller to another view controller. NSNotificationCenter is generally used to...

LIVBubbleMenu for iOS

We can create animated and customisable bubble menu for iOS using LIVBubbleMenu. Here is a link from GitHub for the project https://github.com/limitlessvirtual/LIVBubbleMenu-iOS.   In the following example we are going to show bub...

Send e-mail in iOS

Email application of iOS device helps in sending emails. We can compose Email using MFMailComposeViewController in iOS. A standard interface that manages the editing and sending of email message is provided by the MFMailComposeViewController cla...

How to present a UIViewController from top to bottom in iOS?

When we present the viewcontroller it slides from bottom to top but, if we want to change the slide position then we have to use the animation for the UIView. By using animation we just change the frames of UIView.  If we want to present ...

Tabbed Application in iOS

In this blog we are displaying that how we can create a tab bar based application in iOS. Step 1. Create a new project and select Tabbed Application Template instead of the Single View Based application and click next. Step 2. Name that app...

Autoplay the Youtube video in UIWebview in iOS

if you are using the UIWebview and want to autoplay the video from url then just add the "autoplay=1" at the end of the url. Here is the code: NSString *url=@"https://www.youtube.com/watch?v=vs3sVrm_W4o&autoplay=1"; [se...

How to add multiple images with animation in UIImageview in iOS

If you want to display the multiple images with animation in UIImageview then use the following code: Here you can also set the repeat count of the images. UIImageView* animatedImageView = [[UIImageView alloc] initWithFrame:self.view.boun...

How to create Triangular imageview in objective C

Here is the code for creating the triangular uiimageview - UIBezierPath *bzrPath = [UIBezierPath new]; [bzrPath moveToPoint:(CGPoint){0, self.imgView.frame.size.height}]; [bzrPath addLineToPoint:(CGPoint){80, 0}]; [bzrPath...

How to get time intervals in hours between start time and end time in objective C

If we want to get the time intervals between the start time and end time then use the following code- it will return the array of hours according to the start time and end time. + (NSMutableArray *)getTimeIntervals:(NSString *)startTime a...

How to calculate distance from array of coordinates in iOS

If we want to calculate the distance from the array which contains the coordinates i.e Latitude and Longitude then use the following code- -(void) getDistanceFromArray { CLLocationDistance totalKilometers = 0; for (int i = 0; i < ...

How to use the Autocomplete API with Google Maps SDK on iOS

By Using the following code you can integrate the Google Maps SDK in your iOS project. First we will write the function which results the array of related nearby places. -(void) searchLocation:(NSString *)locationName{ GMSAutocomplet...

How to add new .pch file to your Xcode Project?

From Xcode6 and later .pch file is not created automatically. One has to create it manually. Following are the steps to add/create a pch file in your xcode project:   Create a new file using: cmd+N     • &nbs...

Pass data from one ViewController to another in iOS

I’ve just created second view controller class by extending from the UIViewController class. However, it doesn’t differ from the parent class until we add our own variables and methods. There are a couple of things we have to change: ...

How to create UINavigationController Based Application in iOS

The UINavigationBar class provides a control for navigating hierarchical content. It’s a bar, typically displayed at the top of the screen, containing buttons for navigating within a hierarchy of screens. The primary properties are a left (...

Xcode Demo

Welcome to Xcode tutorial series. This is an XCode tutorial for beginners and introduce you to the main parts of the development environment of Xcode. There are 4 major areas: the Navigator, Editor, Debug Area and Utility Area. The Navigator ...

Crop Image in iOS

To crop image in iOS use the following method. it will crop the image from the visible frame of the imageView. -(UIImage *)imageFromImageView:(UIImageView *)imageView rectFrame:(CGRect)frame{ UIGraphicsBeginImageContextWithOptions(frame....

Slide menu application in iOS.

Hi Friends, I know there are several applications which are using Slide Menu option. You can find several libraries or classes in Objc to build an app like that. Here is the most easy and customizable class to get it. Its name is SKSlideVie...

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...

How to Show a pdf File from URL in a UIWebview in iOS

when we want to open the pdf file from a URL string then we use the UIWebView. In webview we can directly open the file by loading the url request.use the following function-- -(void)addWebViewOverLay:(UIWebView *)webView { webView = [[UI...

How to create first iOS application in Xcode?

How to create first iOS application in Xcode for iPhone with no programming experience where Ill help even the non-programmer to enjoy coding as an iOS developer. This is an XCode tutorial for beginners so Ill be going through where to downlo...

How to show a overlay view in ios

Sometimes we need to show a overlay view over the main view so that user not able to click on the background view assets like button click. in order to display the overlay view use the following function-- - (void)getOverlayView{ overlay...

Show a route between two coordinates using MKMap view in iOS

In ios when we want to show a route or poly line between two coordinate then we use the following function. most of time we use this when we want to dislplay the route from current location to destination address. Here mapView is the property...

How to upload image in Specific folder of your application iOS

Here is the code for UIImagePickerController Delegate. In this Code when we select an image from UIImagePickerController then we call this delegate function which upload the selected image to your local application folder. You have to first find ...
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: