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

How to Build Chat Application in iOS Swift3 Using Firebase for iPhones?

Before moving on to the topic first of all you must be aware with Firebase, if not then please, do visit this my last tutorial on How to Register Realtime User Information at Firebase in iOS. It will clear you about how to get...

How to Register Realtime User Information at Firebase in iOS App

Firebase is a realtime database where we can store the information and can check whether data got saved or not in Firebase. Here is a simple example of creating a project and connection of the project with Firebase, so, here we go.   ...

How to Show UICollectionView in UITableViewCell Using Swift in iOS App

We can easily create a simple table view to show the data in tabular format but if we need to show UICollectionView inside the UITableViewCell then it become a challenging task for the beginners. So here is an easy tutorial, to get the concept of...

How to Play, Record & Save Videos in Swift3 iOS App in iPhone

If you have ever tried to play, record and save a video using iOS Swift 3 language and found difficulty or messy code, then today in this tutorial, I am here with a simple and easy example for you. Lets's discuss all the aspects one by one. ...

How to Implement Custom Camera Functionality using Swift3 iOS App

To Implement camera functionality in iOS, we use Image Picker Controller but if we need to change the style and functionality other than of Image Picker Controller then we need to create a custom camera. So, in this tutorial, we will see an examp...

2 Easy Steps to Implement PageViewController in iOS Swift 3 Application

The user can easily navigate between the pages of content in which each page is managed by its own view controller objects. screen navigation is controlled by the user gestures. Once UIPageViewController interface is defined, you can add the View...

How to Localize Your Swift3 iOS App for Multilingual Support in 8 Easy Steps

iOS devices are widely used by the people across the world speaking different languages. Making an application supporting multiple languages will make it user friendly and acceptable by large number of users. To support this, apple has introduced...

Learn How to Integrate Google Login SDK Using Swift in iOS - 3 Easy Steps

To integrate your iOS app with Google for allowing login from Google, Share and other features we need integration by Google login SDK. So in this tutorial, I am providing you simple steps to integrate Google Login SDK using swift in iOS. &n...

Learn How to Integrate Facebook Login SDK Using Swift in iOS - Easy Tutorial

To integrate your iOS app with Facebook for allowing login from Facebook, Share and other features we need integration by Facebook login SDK. So in this tutorial I am providing you simple steps to integrate Facebook Login SDK using swif...

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

How to Fetch Particular Substring from a String in iOS Swift3 Program

In this tutorial, we will see how to Fetch Particular Substring from a String in iOS Swift3 Program, but before moving on the mane case first of all let us see, What is String and Substring?     What is String Strin...

How to implement SFSafariViewController in swift3?

What is SFSafariViewController?   SFSafariViewController is a view controller which is used to provide a user interface to show web pages from an application. It includes different safari features like autofill, content blocking, illegal w...

Creating Tic-Tac-Toe Game in iOS Swift3 Language for iPhone Users

Tic-tac-toe is a very well known game among young children and very often most of us like to play this game to remove stress and feel refreshed. This game is for two players and all about placing noughts and crosses or Xs and Os in any place in a...

Major Feature Difference Between UIWebView and WKWebView

Because of the need of showing the HTML data/content inside an application the WKWebView is developed. It was introduced by iOS 8.0 whereas UIWebView was introduced by iOS 2.0     The UIWebView is a part of UIKit an...

5 Easy Steps to Set User Notification Feature in iOS Swift Application

User notification is a new local notification feature in iOS. It gives the additional functionality i.e. to remove pending notifications which is not possible in UILocalNotification. So lets start how it works.   As we know for schedul...

iOS UIKit Framework and its Components

The UIKit framework is used to provide graphical infrastructure and event-driven interface for the iOS application. The User interface can be implemented by window and view architecture which is provided by the UIKit framework. It manages the int...

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

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

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

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

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

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

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

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

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

Play video within given frame or in UICollectionViewCell/UITableViewCell

Hi Readers, Usually we have scenarios for playing videos within the app. MPMoviePlayerController will be used for that. But you can see MPMoviePlayerController deprecated in iOS 9 and later. So we need to put our focus on AVPlayer now. With AV...

How to crop the video from URL in objective-C

If we record the video from our app and need to crop that video in the square shape on any other specific frame then use the following code- In this code, we need the URL of the video that can be local URL because when we record any video it i...

How to create custom library in iOS?

Hi Reader’s,   This blog includes the concept of how to create custom library with the help of AssestsLibrary framework. Custom library is useful for multiple images selection at one time so given below is the screenshot of story...

How to set random numbers from an array as title of UIButton in iOS?

  Hi Reader’s,   This blog includes the concept of how to set random numbers from an array as title of different UIButton taken in story board. Random numbers are much needed if you are making a number based gaming applic...

Bottom pull to refesh for pagination in table view in Swift

Hi Readers, Pagination is required in most of our apps in today scenario. We can achieve it either pull to refresh from top or bottom. UIRefreshControl is the feature if you want to implement it from top side and insert processed records into ...

How to parse JSON in Swift with ObjectMapper

Hi Readers, Every app needs to parse JSON data coming from server and ObjectMapper is a powerful tool to achieve that. It can be easily done with provided pod which can be install by adding following line into podfile:  pod 'ObjectMa...

Blocks or closures in Swift

Hi Readers, We used to code blocks in Objective C, mainly to implement callbacks. For that particular functionality we can use closures in Swift. That will work same as blocks in Objective C. Closures are enclosed in curly braces { } and are d...

How to play music in the background using AVAudioplayer

Hi Readers, Many times we need to play music even app is in background. It is normal behavior of AVAudioPlayer to play sound when app is in foreground or active state. But to play sound, music or song even in background state can be achieved b...

How to drag and drop UICollectionView cell item to another UIView in iOS?

  Hi Reader’s, This blog includes the concept of how to drag and drop UICollectionView cell item to another UIView with the help of long press gesture. First of all given below is the snapshot of storyboard in which collection ...

Customizing search bar in iOS SDK

Hi Readers, Customizing search bar can be easily done with UISearchBar. All you need to check view hierarchy of search bar subviews for that as with latest iOS SDK hierarchy can get changed. Customizing can be done by changing these views colo...

How to download videos from YouTube in iOS

Hi Readers, We can download video file from Youtube if we know youtube URL of the video. First you need to add attached files (HCYoutubeParser) into your project. Now you need to call following function into your code: let video = HCYout...

How to download data Using NSOperations and NSOperationQueue

Hi Readers, It is sometimes required to download files or images from server into local. We can perform these tasks by NSOperation and NSOperationQueue efficiently. The basic idea is to create each download operation separately and add these o...

How to decode HTML string coming from server to iOS readable string

Hi Readers, Many time we will get HTML content in our API response which we need to load into our component like UILabel.  We can convert this HTML content into normal string or more specifically NSAttributed string which we can set into ...

How to perform task in background thread using GCD

Hi Readers, GCD stands for Grand Central Dispatch. It can be used to handle background task. In app requirement many time we need to perform some tasks like calculation etc without any effect on main thread. So all we need is to perform that p...

How to implement autolayout programatically in iOS?

  Hi Reader’s, This blog includes the concept of implementing autolayout programatically. This can be done in two ways:- 1.NSLayoutConstraint Class 2.VisualFormat   Below is an example which includes a UITextField ...

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...
prev 1 3 4 5
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: