//declaration //string var toLocation: String = "" //array var viaStationPlace_Array : NSArray ...
Read More
Image Fit to background Screen (swift)
UIGraphicsBeginImageContext ( self . view . frame . size ) UIImage (named: "background.png" )?. drawInRect ( self . vi...
Read More
polyline in subview (googlemaps) (swift)
func callWebService(){ let url = NSURL (string: "https://maps.googleapis.com/maps/api/directions/json?origin= \ ( 17.42...
Read More
dismiss view controller (swift)
//Dismiss View Controller self . dismissViewControllerAnimated ( true , completion: nil )
Read More
Polyline in GoogleMaps (swift)
func callWebService(){ let url = NSURL (string: "https://maps.googleapis.com/maps/api/directions/json?origin...
Read More
Rest api json serialization (swift)
func webService() { let url = NSURL (string: "http://" ) let request = NSURLRequest (URL: ur...
Read More
slide out called in bar button (swift)
@IBOutlet var menu_BarButton: UIBarButtonItem ! override func viewDidLoad() { super . viewDidLoad () if ...
Read More
table View in swift
import UIKit class MenuViewController: UIViewController , UITableViewDelegate , UITableViewDataSource { var menuItems = [ An...
Read More
One View Controller to Other View Controller (swift)
let storyBoard : UIStoryboard = UIStoryboard (name: "Main" , bundle: nil ) let nextViewController = storyBoard. i...
Read More
background image fit to screen (swift)
UIGraphicsBeginImageContext ( self . view . frame . size ) UIImage (named: "background.png" )?. drawInRect ( self . vi...
Read More
ARCarMovement Library:
.h #import #import #import #define degreesToRadians(x) (M_PI * x / 180.0) #define radiansToDegrees(x) (x * 180.0 / M_PI) #pragma...
Read More
Car moving like uber in google maps
download ARCarMovement from Github view.h #import #import "ARCarMovement.h" @import GoogleMaps; @interface animationViewC...
Read More
circular chat
download CERoundProgressView library from Github view.h #import "CERoundProgressView.h" @property (retain, nonatomic) IBOutl...
Read More
Uiview make circular and rotate :
UILabel *l=[[UILabel alloc]initWithFrame:CGRectMake(50, 15, 50, 50)]; l.text=@"H"; l.textColor=[UIColor redColor]; [self.v add...
Read More
Stop scrolling back view in webview
_WebView.scrollView.bounces = NO;
Read More
Array Objects seperated by ,
NSString *greeting = [ay componentsJoinedByString:@","];
Read More
how to check where this message occurs This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.
Used @markussvensson answer to detect my problem, found it using this Symbolic Breakpoint: Symbols: [UIView layoutIfNeeded] or [UIView up...
Read More
polyline for the subview in Googlemaps
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. GMSCameraPosition *camera = [GMSCameraPo...
Read More
Subscribe to:
Posts (Atom)