Skip to content

Instantly share code, notes, and snippets.

@GiorgioNatili
Created July 13, 2016 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GiorgioNatili/4da7a13ce20dcbabb35a2ae0ad6b60b8 to your computer and use it in GitHub Desktop.
Save GiorgioNatili/4da7a13ce20dcbabb35a2ae0ad6b60b8 to your computer and use it in GitHub Desktop.
TwitterKit Learning Curve

Add this https://twittercommunity.com/t/twitterkitresources-bundle-twittercore-framework-does-not-contain-a-bundle-executable/55062/7 Add this https://twittercommunity.com/t/latest-version-of-twitterkit-result-in-runtime-error/31895

This is an interesting note https://docs.fabric.io/apple/twitter/upgrading.html

Getting started with CannonBall https://github.com/twitterdev/cannonball-ios and explore a tutorial dedicated to this app https://docs.fabric.io/apple/examples/cannonball/index.html!

Login with Twitter https://docs.fabric.io/apple/twitter/log-in-with-twitter.html and recover the username http://stackoverflow.com/questions/29120055/how-to-get-profile-url-of-the-logged-in-user-with-twitter-kit-fabric-ios (just in case you still trapped into OBJC :P).

TwitterKit, the reference https://dev.twitter.com/twitter-kit/ios-reference/twtrsession.

Add a border to the UINavigationBar http://stackoverflow.com/questions/19226965/how-to-hide-ios7-uinavigationbar-1px-bottom-line.

Review constraints http://www.techotopia.com/index.php/Implementing_Cross-Hierarchy_Auto_Layout_Constraints_in_iOS_8 and then play with constraints applied programmatically https://github.com/rshankras/NSLayoutConstraintDemoApp/blob/master/ViewController.swift.

The translatesAutoresizingMaskIntoConstraints trick explained http://stackoverflow.com/questions/21687722/why-does-my-programmatically-created-view-ignore-its-constraints.

Camera landscape in practice http://stackoverflow.com/questions/7845520/why-does-avcapturevideoorientation-landscape-modes-result-in-upside-down-still-i and a transformation matrix example http://stackoverflow.com/questions/31436994/avmediatypevideo-capture-still-image-orientation.

Scale and rotate images after capturing http://stackoverflow.com/questions/11291344/iphone-image-captured-from-camera-changes-orientation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment