Stack Implementation in swift

public struct Stack{ private var array:[T] public var maxSize:Int? public init(){     array = [] } //MARK: isEmpty public var isEmpty:Bool{ return array.count == 0 } //MARK: count public var count:Int{ return array.count } //MARK: PUSH public mutating func push(element:T){ if (maxSize != nil){ if array.count >= maxSize{ print("OverFlow") } } array.append(element) } //MARK:... Continue Reading →


Strava integration in iOS

Strava is a website and  mobile app used to track athletic activity via GPS. Its headquarters are located in California. The most popular activities tracked using the software are  Cycling and running. If we are developing a health based application , sometimes we need to fetch data from Strava for analysis .In this tutorial , we will... Continue Reading →

FitBit AOuth in iOS app

The Fitbit API allows developers to interact with Fitbit data in their own applications, products and services. The API allows for most of the read and write methods that you will need to support your application. If you have uses or needs that are not currently supported by the API, drop by the Dev Forum... Continue Reading →

CoreData Day-2 :: CoreData Components ?

1.NSIncrementalStore: NSIncrementalStore is an abstract superclass defining the API through which Core Data communicates with a store. This interface is designed to allow you to create persistent stores which load and save data incrementally, allowing for the management of large and/or shared datasets 2. NSIncrementalStoreNode : NSIncrementalStoreNode is a concrete class to represent basic nodes... Continue Reading →

Touch ID Authentication in iOS App

Step 1: Add Local Authentication framework to you Application Step 2: Import #import <LocalAuthentication/LocalAuthentication.h> in your class Step 3: Write code for Touch Authentication. - (IBAction)MakeTouchIdAthentication:(id)sender {     LAContext *context = [[LAContext alloc] init];          NSError *error = nil;     if ([context canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error]) {         [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics... Continue Reading →

Create a free website or blog at

Up ↑

%d bloggers like this: