use Foundation.Timer
and fix result of call unused warning
This commit is contained in:
parent
9287bebd10
commit
db4c04dcea
|
|
@ -26,7 +26,7 @@ class PartialUpdatesViewController : ViewController {
|
|||
@IBOutlet weak var partialUpdatesTableViewOutlet: UITableView!
|
||||
@IBOutlet weak var partialUpdatesCollectionViewOutlet: UICollectionView!
|
||||
|
||||
var timer: Timer? = nil
|
||||
var timer: Foundation.Timer? = nil
|
||||
|
||||
static let initialValue: [AnimatableSectionModel<String, Int>] = [
|
||||
NumberSection(model: "section 1", items: [1, 2, 3]),
|
||||
|
|
|
|||
|
|
@ -19,13 +19,13 @@ func allocation() {
|
|||
}
|
||||
|
||||
repeat {
|
||||
compareTwoImplementations(true, benchmarkMemory: false, first: {
|
||||
compareTwoImplementations(benchmarkTime: true, benchmarkMemory: false, first: {
|
||||
let publishSubject = PublishSubject<Int>()
|
||||
|
||||
//let a = Observable.just(1)
|
||||
|
||||
//combineLatest(a,
|
||||
publishSubject //.asDriver(onErrorJustReturn: -1)
|
||||
_ = publishSubject //.asDriver(onErrorJustReturn: -1)
|
||||
/*create { (o: AnyObserver<Int>) in
|
||||
for i in 0..<100 {
|
||||
o.on(.Next(i))
|
||||
|
|
|
|||
Loading…
Reference in New Issue