This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| extension UITableView { | |
| // MARK: - Dequeue Nib Views | |
| func dequeueNibView<T: UITableViewCell where T: ReuseIdentifierProtocol>(view: T.Type) -> T { | |
| return dequeueReusableCellWithIdentifier(view.reuseIdentifier()) as T | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| // MARK: - Nib Views | |
| /** | |
| A protocol to be implemented by all views that implement their | |
| presentation through a `.xib`. | |
| */ | |
| protocol NibView { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| An API Route | |
| */ | |
| protocol APIRoute { | |
| var method: Alamofire.Method { get } | |
| var encoding: Alamofire.ParameterEncoding { get } | |
| var path: String { get } | |
| var parameters: [String: AnyObject]? { get } | |
| var requestConvertible: APIRequestConvertible { get } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
| configureParse(launchOptions) | |
| registerForUserNotifications() | |
| // If the current user is authenticated, show the home feed, else show onboarding. | |
| if let currentUser = PFUser.currentUser() { | |
| setHomeFeed() | |
| } else { | |
| setOnboarding() | |
| } |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Build settings from command line: | |
| SDKROOT = iphonesimulator8.1 | |
| === BUILD TARGET Alamofire OF PROJECT Alamofire WITH CONFIGURATION Release === | |
| Check dependencies | |
| Write auxiliary files | |
| write-file /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Alamofire-aflxdqlntpylrgdhhkgddvdkbkbl/Build/Intermediates/Alamofire.build/all-product-headers.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Build target Present | |
| Write auxiliary files | |
| /bin/mkdir -p /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Present-egvfofealyzqsjfehdjhwtpijikb/Build/Intermediates/ArchiveIntermediates/Present/IntermediateBuildFilesPath/Present.build/Release-iphoneos/Present.build | |
| write-file /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Present-egvfofealyzqsjfehdjhwtpijikb/Build/Intermediates/ArchiveIntermediates/Present/IntermediateBuildFilesPath/Present.build/Release-iphoneos/Present.build/Present-own-target-headers.hmap | |
| write-file /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Present-egvfofealyzqsjfehdjhwtpijikb/Build/Intermediates/ArchiveIntermediates/Present/IntermediateBuildFilesPath/Present.build/Release-iphoneos/Present.build/swift-overrides.hmap | |
| /bin/mkdir -p /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Present-egvfofealyzqsjfehdjhwtpijikb/Build/Intermediates/ArchiveIntermediates/Present/IntermediateBuildFilesPath/Present.build/Release-iphoneos/Present.build/Objects-normal/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Build settings from command line: | |
| SDKROOT = iphonesimulator8.1 | |
| === BUILD TARGET Alamofire OF PROJECT Alamofire WITH CONFIGURATION Release === | |
| Check dependencies | |
| Write auxiliary files | |
| write-file /Users/justinmakaila/Library/Developer/Xcode/DerivedData/Alamofire-cgbpbwqjbxyuzrbajofguojonprq/Build/Intermediates/Alamofire.build/all-product-headers.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // RAC.swift | |
| // ReactiveCocoaExample | |
| // | |
| // Created by Justin Makaila on 7/23/14. | |
| // Copyright (c) 2014 jmakaila. All rights reserved. | |
| // | |
| struct RAC { | |
| var target: NSObject! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class User: Object { | |
| private var _username: String! | |
| public var username: String! { | |
| return _username | |
| } | |
| public var password: String! | |
| public var fullName: String! | |
| public var email: String? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var searchKey = prompt("Enter keywords for repositories:"); | |
| var array = searchKey.split(' '); | |
| var urlString = "https://github.com/search?q="; | |
| var suffix = "&ref=cmdform"; | |
| for (var i = 0; i < array.length; i++) { | |
| var key = array[i].replace("'", ""); | |
| if (i != (array.length - 1)) |