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

Exciting 5 New Features of Apple iOS 11 Latest Version

There is a lot of buzz in the market about the Apple developers who are working to develop the latest iOS version. Yes, we are talking only about the iOS 11. As Apple iPhones are hugely responsible for reshaping our digital lives, this new versio...

How to use multiple target and macro for handling multiple environment

In this article, I’ll share 7 easy steps to use multiple targets and macro for handling the multiple environments.   Different environments are created to separate various parameters like Server URL, Bundle ID, API keys, etc...

Programmticaly Add AutoLayout by Visual Format Language in Swift

Auto layout adjusts the size and position of view according to the constraints applied to it. This approach dynamically changes our User Interface according to different screen sizes. There are different ways for adding autolayout programmatical...

How to Fetch data from Plist in Swift?

Hi Property List  or plist files provide a convenient way to store and access our data. Data can be stored in the form of array as well as Dictionary. It supports various primitive types such as boolean, data, date, number, and string. ...

How to use custom sound for notifications when application is in foreground/active mode?

Hi Reader’s, This blog includes the concept of how to use custom sound for notifications when application is in foreground/active mode. Below is the code in objective C language for the same which you have to write in AppDelegate file ...

Convert NSDate to NSString in iOS

This is a simple code snippet which explains's you how to convert NSDate to NSString in iOS. Create a string as NSString *myDate & a date formatter. Suppose we have picked a random date from date picker so that the date we have picked is...

Search bar & how search bar displays search-results from API in iOS

Hi all, today we  will discuss about search bar & how search bar displays search results from API in iOS, I'll skip some basics and lets suppose u have a tableView which already has some data lets suppose record of names of students,...

Using UIAlertController instead of UIAlertView (Deprecated) in iOS

Hi guys, As we all know that from iOS8 Apple has provided a new UIAlertController class which you can use instead of UIAlertView which is now deprecated. So today i'll demonstrate, how to use UIAlertController for displaying an alert in iO...

Refresh Control or Pull to refresh in iOS

Hi guys here's an example of how to add RefreshControl in your tableView 1. Take a refresh control object in your interface as UIrefreshControl *refreshControl; 2. Alloc init the refresh control & add it to the tableview you are using...

Get location from postal code in Swift 3.0

1. import coreLocation in your controller. import CoreLocation 2. Add this function to your view controller. func getLocationFromPostalCode(postalCode : String){ let geocoder = CLGeocoder() geocoder.geocod...

How to pick image from Camera or Gallery in iOS

Hiii guys, Today I'll be demonstrating how to pick any image via Gallery or via Camera in iOS ObjecticeC 1. Create a ViewController & add these two delegates to it-UIImagePickerControllerDelegate and UINavigationControllerDelegate. ...

Pass Data from One ViewController to Another in iOS Objective C

Hi, guys, today will learn how to pass data from one view controller to another in iOS 1. First & foremost you have to analyse the type of data that is in your first ViewController that you have to pass ahead to the next view controller. ...

iOS-Get Number of Days According to the Selected Month in Month Picker

1. Suppose you want to select or get number of days as per its month. 2. First, use a picker & convert it into month picker you can use many third-party pods or simply use their .h or .m files also. 3. Once ur picker is ready to go select a...

UIPopoverPresentationController in iOS

Hi To present a controller as a popOver we use UIPopoverPresentationController. It  display the content in a popover. We can easily do it by setting controller presentation Style as popover and then presenting it. Add UIPopoverPresenta...

How to Show an Animated Splash Screen in iOS?

1. Add an image view in your initial view controller as-UIImageView *animatedSplashScreen; 2. Set its frame in such a way that its compatible with all the devices as animatedSplashScreen  = [[UIImageView alloc]initWithFrame:[[UIScreen ma...

How to login with Facebook in swift 3.0

To Implement Facebook login in swift 3.0, we can use following steps. 1. install pod pod 'FacebookCore' pod 'FacebookLogin' 2.Register your app on the Facebook  developer account. After registration,Go to you info.plist, right ...

Convert NSDate from local timezone to UTC and vice versa in Swift 3.0

1. To convert UTC(Coordinated Universal Time) to Local timezone func convertToLocalDateFromUTCDate(dateStr : String) -> String { let formatter = DateFormatter() formatter.dateFormat = "yyyy-MM-dd HH:mm:ss Z" let...

How to Move Map in Background with Fixed Marker Pin in Objective-C iOS?

Install pods named as- pod 'GoogleMaps' Import <GoogleMaps/GoogleMaps.h> in your class. On your view controller where you want to show the map take a UIview & adjust its size according to the size you want to show the map...

UINotification in iOS10, Swift 3.0

To implement Notification in iOS 10, follow below steps. Go to Project -> Target -> capabilities -> push notifications enable push notification. Now in Your AppDelegate Class do following steps - 1. Import UserNotifications. 2...

Learn iOS Core Animation Basicsin 5 Minute [Video Tutorial]

Hello everyone, in this iOS Video Tutorial we will learn Core Animation Basics with Example. For any queries feel free to ask in comment.

Convenience Initializer in Swift with Example

Convenience Initializer used in swift as a supporting initializer. By using the convenience initializer you can put multiple -init along with other and use whichever you want to use.   convenience initializers have the convenience keyw...

MKMapView in iOS App With Example [Beginners Video Tutorial]

In this iOS Video Tutorial for Beginners we will learn how to: a) Set region on map view b) Get location coordinates of point where user taps on map c) Add annotation on map view d) Drop animation for adding annotation Other Topics Co...

iOS Delegation - Video Tutorial with Example

Hello everyone, in this iOS Video Tutorial we will learn Delegation in iOS with Example. Delegate is simply just a means of communication between objects of iOS applications. You can think delegation as a simple way of connecting objects ...

iOS UITabbarController Video Tutorial for Beginners with Example

In this Tutorial of iOS Beginners Video Tutorial Series, we will learn the following things: a) Adding a UITabbarController b) Setting icon and title to Tab bar items c) Adding view controller to Tab bar controller d) Rearranging/reordering...

UICollectionView in iOS App with Example - Video Tutorial for Beginners

In this iOS Video Tutorial we will learn the following points a) Add collection view b) Implement UICollectionViewDataSource methods to populate cells on collection view c) Using custom UICollectionViewCell  d) Setting size of cells by i...

iOS UIPopover Viewcontroller Using Swift and Xcode-Video Tutorial with Example

Hello everyone, In previous Video Tutorial I had explained about iOS UITableView Basic using Swift and Xcode 8 - Video Tutorial with Example.  So continuing the series now this iOS Video Tutorial will guide you to Implement&nbs...

iOS UITableView Basic using Swift and Xcode 8-Video Tutorial with Example

In this iOS Video Tutorial talk about the basic of table view in iOS and iOS 10 using hardcoded value and basic array using SWIFT 3.0 and XCode 8. In our Next Video Tutorial, we will talk about iOS UIPopover Viewcontroller Using...

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

iOS iMessage emoji Animated Stickers Pack Application for iPhones - Apple

  iOS provides a richer way to express feelings via iMessages using various stickers. And most interestingly these stickers are not limited, one can build their own stickers too and submit it to iTunes stores like other apps. Here I&...

Access levels in Swift

Access control is used to define accessibility of a class or data members and functions of a class. We can set scope of a member so that it is visible only in the class in which it is defined or in subclasses or in the module or everywhere. &n...

How to show HTML text on UILabel?

To show HTML text on UILabel we need to convert the text to NSAttributedString. To achieve this we can use following code: if let htmlData = htmlString.data(using: String.Encoding.utf16, allowLossyConversion: false) { if...

How to store user information in NSUserDefaults in swift language?

Hi Reader’s, This blog includes the concept of how to store user information in NSUserDefaults in swift language. Below is the code in swift language for the same:-   import UIKit import Foundation class RegisterViewCont...

5 Essential Tips for Developing Your First iOS App

Every company needs an app. If you’re the one responsible for making those apps, your work is already cut out for you. Making your first iOS app may seem intimidating, but going in with the right knowledge will provide you with some com...

Things to Remember Before Hiring Team for iOS App Development

  The present market scenario, every business firm wants to pump out maximum benefits, and this can be only possible if they deploy essential platforms like digital as well as mobile, to promote the respective products and services in...

Apple launches waterproof iPhone 7, iPhone 7 Plus with dual camera, AirPods & Apple Watch

In my iPhone 7 launch and rumour roundup  published 2 days back, I have compiled a series of  expected specs and features that were circulating around the globe. Glad to see, that majority of expectations that were included in the rumou...

How to add records into Firebase in iOS sdk?

Hi Readers, Many developers use third party SDK for saving records into the Database, Firebase provides us this functionality. To add records into Firebase, please follow these steps: First of all, you need to create a reference to Firebase...

Add camera node in sceneKit

  Adding Camera node  provide us the point of view from which we view our scene. To add camera node we have to simply make the SCNCamera object and assign it to node’s camera property.       let ...

How to Display banner ads for DFP users in ObjectiveC

This blog includes how to display banner ads for DFP users.For this first user need to signed up as a DFP (Double click for publisher) and then install cocoa pods for Google mobile ads. pod 'Google-Mobile-Ads-SDK'   We can also in...

What is FireBase?

Firebase is a Google product for the mobile platform that helps us developing High-quality apps quickly, it also helps us to create our own userbase & earn more money. Google's FireBase  provides us cloud & back-end services. Fir...

What is FireBase?

Firebase came after Parse failed in 2016, initially, Parse gave the leaders in the “mobile backend as a service” MBaaS space. It gave app developers a hosted alternative to building a custom backend from scratch fo...

Generate random number without repetition in ObjectveC

This blog includes generating the random number without repetition of number in specific range. For this we need to take a array to store the generated number so that we can keep track that the number is already generated or not. Here is th...

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

Update location in background after specific interval of time in objecticeC

This blog includes updation of location while your app is in background mode. Sometimes we need to fetch the user location while the app is in a background. To achieve this first we need to use the location manager.   Here is the code ...

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

How to change voice using AVSpeechSynthesis in swift

This blog includes the use of - AVSpeechSynthesisVoice  If we want to change the default voice i.e system voice then we need to use speechVoices{} array which contains the name of persons and locations. iOS has a nice method for sett...

Check if new version of app is present in appstore programmatically.

Many apps these days show an alert on app's launch saying a new update is present at the store. To implement this feature first we need to find version of the app available on app store and version of the current running app and then compa...

How to get the image size after aspect fit in objectiveC

When we set the aspect fit property of image view then the size of image get reduced because it sets the image according to the aspect ratio.  So if we want to get the size after aspect fit the use the following code- In the following cod...

How to animate view zoom and bounce like popup in objectiveC

This blog includes zoom and bouncing In animation on view. If we want to present view like popUp alert then it include two animation- first is zoom and second is bouncing.These two animation can be achieved by affinity transform.Scaling, rotat...

Clear view or image with touch in iOS

Hi Readers, Paint related apps are usually used to clear content what have been drawn. One can achieve it by using Core Graphics framework provided by iOS. With touch delegate methods will be called so following code snippet will give prope...

How to fadeIn the selected cell of uicollection view in objective C

If we want to fadeIn the selected cell of collection view then use the following code- Sometimes we need to show the selected cell . For example - If we have list of songs and we want to display which song is currrently playing then FadeIn met...
prev 1 3 13
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: