hampelm / nefarious-meow

0 stars 0 forks source link

Some things learned #2

Open hampelm opened 9 years ago

hampelm commented 9 years ago
hampelm commented 9 years ago
hampelm commented 9 years ago
hampelm commented 9 years ago
hampelm commented 9 years ago

(RootView is set in AppDelegate.swift)

hampelm commented 9 years ago
hampelm commented 9 years ago

"The ontology of an application" from Cocoa With Love: http://www.cocoawithlove.com/2010/06/design-of-every-mac-application.html

applicationontology

And this presentation on architecting iOS apps: http://www.slideshare.net/MassimoOliviero/architecting-ios-project

hampelm commented 9 years ago

I can probably use Cartography to make constraints / layout much less verbose: https://github.com/robb/Cartography

hampelm commented 9 years ago

Oh wait, maybe I should be using uiappearance to standardize appearance? (via https://www.reddit.com/r/swift/comments/2iski6/how_to_subclass_uilabel/)

hampelm commented 9 years ago

Adding a bridging header for the Facebook button: http://www.brianjcoleman.com/tutorial-how-to-use-login-in-facebook-sdk-4-0-for-swift/

hampelm commented 9 years ago

Tried to figure out why Facebook auth opens in Safari, instead of the native app.

Learned about AlamoFire, the HTTP app: https://github.com/Alamofire/Alamofire/tree/swift-2.0

Got an intro to how we'd use JWT from Prashant.

hampelm commented 9 years ago

I'll need to figure out how to target previous iOS versions:

Xcode 7 beta includes SDKs for watchOS 2.0, iOS 9 and OS X version 10.11. To develop apps targeting prior versions of OS X or iOS, see the section “About SDKs and the Simulator” in What’s New in Xcode available on developer.apple.com or from the Help > What’s New in Xcode command when running Xcode.

hampelm commented 9 years ago

How to use a previous iOS SDK:

It can be used. You just need to find the file for the 8.x sdk that you want to test on in Xcode 6.x and copy it over to the corresponding Xcode 7 beta folder. You can find the file in this path. Path: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport Xcode will suggest that you fix an error or two, but it should work. Note that when I did it there was still an error and some warnings, and I clicked run anyways and it worked regardless You may need to click "other" and add "iphoneos8.x" (x is your version number)and if you have it added to the correct location it will work .

hampelm commented 9 years ago