All example work except for 2 for iOS. Can't compile reactive data sources. Compiler is not yet ready for that :(
This commit is contained in:
parent
d580552436
commit
f524f20eb9
|
|
@ -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 {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
|
||||
import Foundation
|
||||
import CoreData
|
||||
//import CoreData
|
||||
import RxSwift
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
import Foundation
|
||||
import RxSwift
|
||||
import RxCocoa
|
||||
import CoreData
|
||||
|
||||
struct ItemPath : CustomStringConvertible {
|
||||
let sectionIndex: Int
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import Foundation
|
|||
import UIKit
|
||||
import RxSwift
|
||||
import RxCocoa
|
||||
import CoreData
|
||||
//import CoreData
|
||||
|
||||
let generateCustomSize = true
|
||||
let runAutomatically = false
|
||||
|
|
|
|||
|
|
@ -38,6 +38,11 @@
|
|||
<string>UIInterfaceOrientationLandscapeLeft</string>
|
||||
<string>UIInterfaceOrientationLandscapeRight</string>
|
||||
</array>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>UISupportedInterfaceOrientations~ipad</key>
|
||||
<array>
|
||||
<string>UIInterfaceOrientationPortrait</string>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
//
|
||||
|
||||
import UIKit
|
||||
import CoreData
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
|
|
|||
Loading…
Reference in New Issue