Skip to content

Releases: markohlebar/BIND

BNDView bindings improvements

22 Mar 19:50
Compare
Choose a tag to compare

Added BINDINGS and BINDViewModel macros to ease binding from code for BNDView.

Shorthands and observe:

08 Mar 16:58
Compare
Choose a tag to compare
  • shorthands
    • BINDO()
    • BINDOS()
    • BINDS()
    • BINDSL()
    • BINDSR()
  • observe:

BIND() macro and transform:

07 Mar 20:16
Compare
Choose a tag to compare
  • macros that create bindings and allow for compile time keyPath checking
    • BIND()
    • BINDT()
    • BINDNT()
  • transform: method

Asynchronous Transformers

04 Mar 06:27
Compare
Choose a tag to compare
  • added support for asynchronous value transformers
  • added BNDButton

Special Keypaths and Autoinvalidate

04 Feb 10:24
Compare
Choose a tag to compare
  • bindings now invalidate automatically, there should be no KVO exceptions raised on dealloc
  • included backward compatibility to shorthand bindings for views (text -> textLabel.text) instead of (viewModel.text -> textLabel.text) which was lost in previous version
  • special keypaths are added
    • UIButton -> onTouchUpInside
    • UITableViewCell -> onTouchUpInside

Added special keypaths

22 Jan 20:28
Compare
Choose a tag to compare
  • special keypaths added to enable binding to i.e. button actions
  • fire and forget memory management for bindings

MVVM

18 Nov 07:23
Compare
Choose a tag to compare

This release is focused on MVVM and includes more protocols and concrete implementations of UIKit subclasses for binding from XIB

  • UIView
  • UIViewController
  • UICollectionViewCell

Bug fixes

02 Nov 09:49
Compare
Choose a tag to compare
  • fixed a memory management issue on BNDTableViewCell where view model would get dealloc'd before unbinding.