diff --git a/RxCocoa/RxCocoa/iOS/CoreDataEntityEvent.swift b/RxCocoa/RxCocoa/iOS/CoreDataEntityEvent.swift index 7f52d41e..4f718226 100644 --- a/RxCocoa/RxCocoa/iOS/CoreDataEntityEvent.swift +++ b/RxCocoa/RxCocoa/iOS/CoreDataEntityEvent.swift @@ -6,6 +6,7 @@ // Copyright (c) 2015 Krunoslav Zaher. All rights reserved. // +/* import Foundation import CoreData import RxSwift @@ -55,4 +56,5 @@ enum CoreDataEntityEvent : CustomStringConvertible { } } } -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/RxCocoa/RxCocoa/iOS/NSManagedObjectContext+Rx.swift b/RxCocoa/RxCocoa/iOS/NSManagedObjectContext+Rx.swift index b234a4cf..7acc71c6 100644 --- a/RxCocoa/RxCocoa/iOS/NSManagedObjectContext+Rx.swift +++ b/RxCocoa/RxCocoa/iOS/NSManagedObjectContext+Rx.swift @@ -7,7 +7,7 @@ // import Foundation -import CoreData +//import CoreData import RxSwift /* diff --git a/RxDataSourceStarterKit/Changeset.swift b/RxDataSourceStarterKit/Changeset.swift index bb10c3af..ecdf2fdf 100644 --- a/RxDataSourceStarterKit/Changeset.swift +++ b/RxDataSourceStarterKit/Changeset.swift @@ -9,7 +9,6 @@ import Foundation import RxSwift import RxCocoa -import CoreData struct ItemPath : CustomStringConvertible { let sectionIndex: Int diff --git a/RxExample/RxExample/Examples/Introduction/IntroductionExampleViewController.swift b/RxExample/RxExample/Examples/Introduction/IntroductionExampleViewController.swift index 77501b32..18e209ba 100644 --- a/RxExample/RxExample/Examples/Introduction/IntroductionExampleViewController.swift +++ b/RxExample/RxExample/Examples/Introduction/IntroductionExampleViewController.swift @@ -27,7 +27,7 @@ class IntroductionExampleViewController : ViewController { super.viewDidLoad() // c = a + b - let sum = combineLatest(a.rx_text, b.rx_text) { (a, b) -> Int in + let sum = combineLatest(a.rx_text, b.rx_text) { (a: String, b: String) -> (Int, Int) in return (Int(a) ?? 0, Int(b) ?? 0) } diff --git a/RxExample/RxExample/Examples/PartialUpdates/PartialUpdatesViewController.swift b/RxExample/RxExample/Examples/PartialUpdates/PartialUpdatesViewController.swift index d07a7a24..4b4a56ad 100644 --- a/RxExample/RxExample/Examples/PartialUpdates/PartialUpdatesViewController.swift +++ b/RxExample/RxExample/Examples/PartialUpdates/PartialUpdatesViewController.swift @@ -10,7 +10,7 @@ import Foundation import UIKit import RxSwift import RxCocoa -import CoreData +//import CoreData let generateCustomSize = true let runAutomatically = false diff --git a/RxExample/RxExample/Info-iOS.plist b/RxExample/RxExample/Info-iOS.plist index 70ef23e7..ec238e9c 100644 --- a/RxExample/RxExample/Info-iOS.plist +++ b/RxExample/RxExample/Info-iOS.plist @@ -38,6 +38,11 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + UISupportedInterfaceOrientations~ipad UIInterfaceOrientationPortrait diff --git a/RxExample/RxExample/iOS/AppDelegate.swift b/RxExample/RxExample/iOS/AppDelegate.swift index e674ce19..6bf3cf7a 100644 --- a/RxExample/RxExample/iOS/AppDelegate.swift +++ b/RxExample/RxExample/iOS/AppDelegate.swift @@ -7,7 +7,6 @@ // import UIKit -import CoreData @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {