One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| // | |
| // MTKCIImageView.swift | |
| // Fil | |
| // | |
| // Created by Muukii on 9/27/15. | |
| // Copyright © 2015 muukii. All rights reserved. | |
| // | |
| import Foundation | |
| import Metal |
| import UIKit | |
| extension UIStoryboard { | |
| func instantiate<T>(identifier: String, asClass: T.Type) -> T { | |
| return instantiateViewControllerWithIdentifier(identifier) as! T | |
| } | |
| func instantiate<T>(identifier: String) -> T { | |
| return instantiateViewControllerWithIdentifier(identifier) as! T |
| import UIKit | |
| import AVFoundation | |
| class ViewController: UIViewController, AVCaptureMetadataOutputObjectsDelegate { | |
| @IBOutlet weak var myView: UIView! | |
| var session: AVCaptureSession? | |
| var device: AVCaptureDevice? | |
| var input: AVCaptureDeviceInput? |
| @import MobileCoreServices; | |
| @import AVFoundation; | |
| @import AssetsLibrary; | |
| // ... | |
| - (void)cropVideoAtURL:(NSURL *)videoURL toSquareWithSide:(CGFloat)sideLength completion:(void(^)(NSURL *resultURL, NSError *error))completionHander { | |
| /* asset */ |
| #import "ViewController.h" | |
| @interface ViewController () | |
| @end | |
| @implementation ViewController { | |
| UIView *containerView; | |
| NSArray *subviews; |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"