thanks 4 putting source for a noob to learn a little
-
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
-
Real Time Congress
thanks 4 putting source for a noob to learn a little
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
Real Time Congress
| // | |
| // AppDelegate.swift | |
| // pushtest | |
| // | |
| // Created by sawapi on 2014/06/08. | |
| // Copyright (c) 2014年 sawapi. All rights reserved. | |
| // | |
| // iOS8用 | |
| import UIKit |
| // | |
| // Call a soap web service | |
| // | |
| // Add | |
| // NSURLConnectionDelegate | |
| // NSXMLParserDelegate | |
| class MapViewController: UIViewController, MKMapViewDelegate, CLLocationManagerDelegate, NSURLConnectionDelegate, NSXMLParserDelegate{ | |
| @IBOutlet weak var mapKit: MKMapView! | |
| var wsUrl : String = "http://mobilewebservice.greenmotion.ch/MobileEvpass.asmx" |
| <!-- | |
| This disables app transport security and allows non-HTTPS requests. | |
| Note: it is not recommended to use non-HTTPS requests for sensitive data. A better | |
| approach is to fix the non-secure resources. However, this patch will work in a pinch. | |
| To apply the fix in your Ionic/Cordova app, edit the file located here: | |
| platforms/ios/MyApp/MyApp-Info.plist | |
| And add this XML right before the end of the file inside of the last </dict> entry: |
| sudo apt-get update | |
| #Instalar o python-pexpect | |
| sudo apt-get install git i2c-tools python-pexpect python-smbus libavfilter-dev libavformat-dev libcurl4-gnutls-dev libgcrypt-dev libjson0-dev libao-dev | |
| #Instalar o pybluez | |
| sudo apt-get install python-pip python-dev ipython | |
| sudo apt-get install bluetooth libbluetooth-dev | |
| sudo pip install pybluez |
| # install Homebrew if you don't already have it: http://mxcl.github.io/homebrew/ | |
| # install nano from homebrew | |
| brew install nano | |
| # update your nanorc file with the contents of the nanorc file below | |
| nano ~/.nanorc | |
| # re-open your terminal and you'll have syntax highlighting |
| extension UITabBar { | |
| override public func sizeThatFits(size: CGSize) -> CGSize { | |
| super.sizeThatFits(size) | |
| var sizeThatFits = super.sizeThatFits(size) | |
| sizeThatFits.height = 71 | |
| return sizeThatFits | |
| } | |
| } |
| --- | |
| language: objective-c | |
| before_script: | |
| - ./scripts/travis/add-key.sh | |
| after_script: | |
| - ./scripts/travis/remove-key.sh | |
| after_success: | |
| - ./scripts/travis/testflight.sh | |
| env: | |
| global: |
| import Foundation | |
| import UIKit | |
| extension UIColor { | |
| convenience init(hexString:String) { | |
| let hexString:NSString = hexString.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet()) | |
| let scanner = NSScanner(string: hexString) | |
| if (hexString.hasPrefix("#")) { | |
| scanner.scanLocation = 1 |