Building an iOS Application Just Got Easier and Quicker

Ever wondered if you could build an iOS application with basic functionalities like user registrations and logins via email and social integrations under a limited amount of time? If yes, we have some news for you. Read on!

On an average, it takes at least a week for us to build an iOS application and integrate user registrations and login functionalities with it.

Why spend so much time on integrating those features into your app when you could focus on your product? Our iOS client library with its pre-developed features helps you build one under a matter of hours. It is a simple and a secure user management for iOS developers. And what’s not to love? It’s easy to integrate with an iOS app.

In this post, I’ll walk you through building the iOS app with the basic functionalities under a minimal amount of time.

To get started with our Starter code, do the following steps:

1. Download the Xcode.

2. Clone the GIT repository from here.

3. Open your project in Xcode.

3. Run the application.


We have created a cocoa pod library to communicate with our API. Cocoa pod library is available here.


1. Mac OS X 10.10+/iOS 8.0+

2. Install Xcode 7.3 from the Appstore.

3. Install the cocoa pods.

CocoaPods – CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects.

You can install CocoaPods tool on OS X by running the following command using the terminal.

$ sudo gem install cocoapods

Add the Wavelabs iOS Client Library to your iOS App:

1) Create an Xcode Project on the local machine.

2) Open a terminal and go to the directory path containing the project.

cd <path-to-project>/project/
pod init
open -a Xcode Podfile

3) Add your dependencies in the Podfile as shown here.

source ''
source 'https'

platform :ios, '8.0'

pod 'wavelabs_ios_client_api'

4) Save the file.

5) Run the command – pod install. This will install the SDK’s specifier in Podfile and dependencies that the framework contains.

$ pod install

6) Open your app’s .xcworkspace file.


1. Register in

2. Create a tenant or workspace and generate a clientID and clientSecret.

3. Add Baseurl and ClientID, Client Secret in Targets/info as WavelabsAPISettings.

Screen Shot 2016-07-15 at 6.43.06 PM

Sample ‘AuthAPI‘ Request:

AuthAPI is using the custom delegate ‘getAuthApiResponseDelegate’, and wherever we want to use the AuthAPI, we need to set the AuthAPI delegate.

User login

import StarteriOSClientAPI

class LoginVC: UIViewController, getAuthApiResponseDelegate {

	// Making Request 

    @IBAction func loginBtnClicked(sender: AnyObject) {

            var loginDict : NSMutableDictionary = NSMutableDictionary()
            loginDict.setObject("demouser", forKey: "username")
            loginDict.setObject("demo", forKey: "password")
            loginDict.setObject(CLIENT_ID, forKey: "clientId")


	// Response handler delegate 

     func handleLogin(userEntity: NewMemberApiModel) {

		// get NewMemberApiModel as response in this method

    func handleValidationErrors(messageCodeEntityArray: NSArray){

		// get the list of validation errors of model 'ValidationMessagesApiModel'

    func handleMessages(messageCodeEntity : MessagesApiModel){
		// get MessagesApiModel as response in this method


We can use this AuthAPI for login, sign up, Refresh token .

You can download the sample app from here.

I hope this helped you in building an iOS app under a couple of hours. If you have any questions regarding this, please comment and I’ll get back to you!