Closures
Closures copied to clipboard
Swifty closures for UIKit and Foundation
i define an observed property, and use observe(_, until: _, changeHandler: _) to get value changed callback, most of time it works fine, but in iOS 10.3.3, i receive a...
In Core.swift on line 130 there is `self?.removeObserver(observer!)` but I believe directly after this you should have: `observer = nil` You do this currently: ``` self?.removeObserver(observer!) observer = nil ```...
There are two identical cases in `TableViewDelegate.responds(to:)`, both checking `TableViewDelegate.tableView(_:sectionForSectionIndexTitle:at:)` ([L486:L489](https://github.com/vhesener/Closures/blob/master/Xcode/Closures/Source/UITableView.swift#L486:L489)).
It's my first PR regarding this repo, just want to share incremental work @vhesener #15 Adding support to MFMailComposeViewController, it's not done yet
I'm interested in using modules within my own project and the ability to define this as a dependency package
Example ``` button.onTap(handler:{ // do stuff }) ``` How do I clear this handler to avoid a leak when my VC is deallocated?