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

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

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

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

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: