Bond

A Swift binding framework

MIT License

Stars
4.2K
Committers
86

Bot releases are hidden (Show)

Bond - 7.8.1 Latest Release

Published by srdanrasic almost 4 years ago

  • Fixed search paths. Thanks @deborahgoldsmith!
Bond - 7.8.0

Published by srdanrasic about 4 years ago

Drops iOS 8 support through SPM.

Bond - 7.7.1

Published by srdanrasic over 4 years ago

  • Fix compilation issue on macOS.
Bond - 7.7.0

Published by srdanrasic over 4 years ago

Thanks to @ibrahimkteish's awesome contribution, Bond 7.7 introduces the ability to observe view controller lifecycle events! 🎉 🎈

Example usage:

let viewController = UIViewController()

viewController.reactive.lifecycleEvents.observeNext { (event) in
    print(event)
}

viewController.reactive.lifecycleEvent(.viewDidLoad).observeNext {
    print("view did load")
}

viewController.reactive.lifecycleEvent(.viewWillAppear).observeNext {
    print("view will appear")
}

viewController.reactive.lifecycleEvent(.viewDidAppear).observeNext {
    print("view did appear")
}

viewController.reactive.lifecycleEvent(.viewWillDisappear).observeNext {
    print("view will disappear")
}

viewController.reactive.lifecycleEvent(.viewDidDisappear).observeNext {
    print("view did disappear")
}
Bond - 7.6.6

Published by srdanrasic almost 5 years ago

  • Make collectionView(_: numberOfItemsInSection:) open on CollectionViewBinderDataSource. Thanks @AnthonyMDev!
  • Fix KVO on iOS 10. Thanks @Sephiroth87.
Bond - 7.6.5

Published by srdanrasic almost 5 years ago

  • Fix Retain Cycle in Swift KeyPath KVO. Thanks @AnthonyMDev!
Bond - 7.6.4

Published by srdanrasic almost 5 years ago

  • Fix macOS and tvOS compilation. Thanks @cyrusingraham!
Bond - 7.6.3

Published by srdanrasic almost 5 years ago

  • Introduce MainThreadDisposable. Thanks @diegoRodriguezAguila and @ibrahimkteish!
Bond - 7.6.2

Published by srdanrasic almost 5 years ago

  • Handle threading changes in ReactiveKit.
Bond - 7.6.1

Published by srdanrasic almost 5 years ago

  • Update dependencies.
Bond - 6.10.5

Published by srdanrasic over 5 years ago

  • ReactiveKit 3.13 compatibility
Bond - 7.6.0

Published by srdanrasic over 5 years ago

  • Update to latest ReactiveKit and Differ. Thanks @tonyarnold!
Bond - 7.5.0

Published by srdanrasic over 5 years ago

  • Add support for NSCollectionView data source bindings.
Bond - 7.4.3

Published by srdanrasic over 5 years ago

  • Fix issues with removeAll on observable trees.
Bond - 7.4.2

Published by srdanrasic over 5 years ago

  • Setup Bond dependencies without using submodules.
Bond - 7.4.1

Published by srdanrasic over 5 years ago

  • Fix UICollectionView selectedItemIndexPath inaccessible issue. Thanks @madiguzel!
Bond - 7.4.0

Published by srdanrasic over 5 years ago

🎊 Official Swift 5 support 🎉

  • Update code syntax to Swift 5
  • Update ReactiveKit dependency to 3.10

Do not update if you are still using Swift 4.2 or lower.

Bond - 6.10.4

Published by srdanrasic over 5 years ago

  • ReactiveKit 3.10 (Swift 5) support.
Bond - 7.3.3

Published by srdanrasic over 5 years ago

  • Add method replaceItems(ofSectionAt:with:performDiff:) to MutableObservableArray2D that can replace items of a section at the given index with new items and calculate change diff. For example:
data.replaceItems(ofSectionAt: 1, with: [1, 100, 20], performDiff: true)
Bond - 6.10.3

Published by srdanrasic over 5 years ago

  • Make Bond v6 work with Swift 5 / Xcode 10.2.