Apple ARKit

Augmented Reality Add the 2D or 3D model virtual content should be placed in the computer vision, those elements appear to inhabit the real world. ARKit This main aim to do the live AR operation display in the live camera. Simplify the process for developer to use it in our projects. Ability to create and…

Table view with text field in swift 3.0

  Why I am creating this, every registration view I want to create the lot of the text fields and valid it each and every text field and I have to face the alignment problems. But, here I am not yet receiving any alignment problem and easy to get the values. Meanwhile, when keyboard hidden appeared easy move…

Share Video/ image / text through an iOS app in whatsapp

We provide several ways in which your iPhone application can interact with WhatsApp: through custom URL schemes, share extension and through the Document Interaction API. Video : NEXT LINE OF CODE IS OPTIONAL AND NOT RECOMMENDED, BUT YOU CAN USE IT TO TEST TO SEE IF THEY HAVE THE WHATSAPP INSTALLED if ([[UIApplication sharedApplication] canOpenURL:…

Custom array using to sort the Array based on the Distance

1. Create Swift file and paste it the below code import Foundation import CoreLocation final public class Places : NSObject { var title: String? var cllocation: CLLocation var regionRadius: Double var location: String? var type: String? var distance : Double? var coordinate : CLLocationCoordinate2D init(title:String , cllocation: CLLocation , regionRadius: Double, location: String, type: String…

UIColor Category file in Swift (extension)

Aspect of Class Initializers. The Swift language has two different types of initializers They are followed by : — designated initializers. — convenience initializers. Designated initializers used for initialization. Its getting the parameter to set the value in the method variable. init(sender: String, recipient: String) { self.sender = sender self.recipient = recipient timeStamp = NSDate()…