Skip to content

🍫 CombineCocoa 0.2.0

Compare
Choose a tag to compare
@freak4pc freak4pc released this 27 Sep 11:38
· 22 commits to main since this release

It's been a long time since the latest release, but this one is a packed one, covering a lot of missing necessities this project aimed to achieve early on. Also - better late than never, right? πŸ˜„

Thanks to the various contributors that made this release so great! πŸ‘πŸ‘πŸ‘πŸ‘

  • πŸ§ͺ It is now possible to wrap delegates as publishers using a new DelegateProxy (#21). Huge kudos to @jdisho for the massive work he's done on this!
    • UITableView gets willDisplayCellPublisher, willDisplayHeaderViewPublisher, willDisplayFooterViewPublisher, didEndDisplayingCellPublisher, didEndDisplayingHeaderViewPublisher, didEndDisplayingFooterView, itemAccessoryButtonTappedPublisher, didHighlightRowPublisher, didUnhighlightRowPublisher, didSelectRowPublisher, didDeselectRowPublisher, willBeginEditingRowPublisher, didEndEditingRowPublisher.
    • UICollectionView gets didSelectItemPublisher, didDeselectItemPublisher, didHighlightItemPublisher, didUnhighlightRowPublisher, willDisplayCellPublisher, willDisplaySupplementaryViewPublisher, didEndDisplayingCellPublisher, didEndDisplaySupplementaryViewPublisher.
    • UITextView gets textPublisher and valuePublisher (alias).
    • Now that the mechanism exists we'll be adding more delegate-based publishers in following versions.
  • πŸ‘¨β€πŸŽ€ Added a new assign(to:on:animation:) animated subscriber (#17). Thanks @icanzilb!
  • πŸ‘‡ The deployment target of the project has been dropped to iOS 10 with conditional compilation to allow older apps that leverage Combine to use CombineCocoa (#18). Thanks @RonKliffer!
  • πŸ“¦ Fix Carthage build from source, instead of only providing a prebuilt binary, as well as some minor issues in SPM.
  • πŸ“ New helper method on UIControl - controlEventPublisher(for:), as a shorthand to init'ing Publishers.ControlEvent (#27). Thanks @wickwirew !
  • πŸ› Various bug fixes and performance improvements.