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:
Krunoslav Zaher 2015-07-08 08:21:43 +02:00
parent d580552436
commit f524f20eb9
7 changed files with 11 additions and 6 deletions

View File

@ -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 {
}
}
}
}
}
*/

View File

@ -7,7 +7,7 @@
//
import Foundation
import CoreData
//import CoreData
import RxSwift
/*

View File

@ -9,7 +9,6 @@
import Foundation
import RxSwift
import RxCocoa
import CoreData
struct ItemPath : CustomStringConvertible {
let sectionIndex: Int

View File

@ -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)
}

View File

@ -10,7 +10,7 @@ import Foundation
import UIKit
import RxSwift
import RxCocoa
import CoreData
//import CoreData
let generateCustomSize = true
let runAutomatically = false

View File

@ -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>

View File

@ -7,7 +7,6 @@
//
import UIKit
import CoreData
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {