(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/sh | |
| # makeuniversalstaticlib.sh | |
| # SAMPLELib | |
| # | |
| #################[ Tests: helps workaround any future bugs in Xcode ]######## | |
| DEBUG_THIS_SCRIPT="false" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
Author: Chris Lattner
| import UIKit | |
| import RxSwift | |
| import RxCocoa | |
| final class SceneCoordinator: SceneCoordinatorType { | |
| fileprivate var window: UIWindow | |
| var currentViewController: UIViewController | |
| required init(window: UIWindow) { |
| extension UITabBarController { | |
| /** | |
| Show or hide the tab bar. | |
| - Parameter hidden: `true` if the bar should be hidden. | |
| - Parameter animated: `true` if the action should be animated. | |
| - Parameter transitionCoordinator: An optional `UIViewControllerTransitionCoordinator` to perform the animation | |
| along side with. For example during a push on a `UINavigationController`. | |
| */ |
| # Uncomment the next line to define a global platform for your project | |
| # platform :ios, '9.0' | |
| target '%TargetName%' do | |
| # Comment the next line if you're not using Swift and don't want to use dynamic frameworks | |
| use_frameworks! | |
| # Pods for %TargetName% | |
| # pod 'FBSDKCoreKit' | |
| end |