0
I Use This!
Very Low Activity

Commits : Listings

Analyzed about 22 hours ago. based on code collected 1 day ago.
Apr 19, 2023 — Apr 19, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Update to latest Xcode More... 2 months ago
Update to latest Xcode More... 10 months ago
Update to Xcode 14 More... over 1 year ago
Update to Xcode 12 More... over 3 years ago
Update project version More... almost 5 years ago
Update to Xcode 10.2 More... almost 5 years ago
Refactor accessor methods for keyPathBlockObservers, use explicit argument More... over 5 years ago
Fixed internalRemoveAllObservations. More... over 5 years ago
Update for Xcode 9.3 More... about 6 years ago
Fix memory management of weak self in observation blocks More... about 6 years ago
Remove @weakify() and @strongify(), they are out of scope for this library More... about 6 years ago
Fix parameter name in documentation comment More... about 6 years ago
Adjust formatting, no tabs please More... over 6 years ago
Update Example code More... over 6 years ago
Merge branch 'observedDeallocCrashFix' of https://github.com/JamesBucanek/Block-KVO into pull-request-49 More... over 6 years ago
Fix tabs More... over 6 years ago
Fixed a crash that could occur if the observed object was destroyed before the observer/owner. The owner would retain a strong reference to the observer object, keeping it alive after the observed object was destroyed. Later, when the owner is being destroyed, it would try to remove the observer from the (now nonexistent) target and crash. The owner now registers a dealloc block that captures a weak reference to the observer. If the observed object is deallocated first, it should release all of its observer objects. The owner's dealloc block now has a nil reference and does nothing. (Note: This assumes that no other objects retain an observer, and the observer is always destroyed when it's observed object is destroyed. If this turns out not to be true, additional steps—possibly making the target property weak, or nil-ing it during deallocation—would need to be taken.) Optimization: The block to remove an observation before the owner is deallocated is redundant with the -internalRemoveAllObservations block when the owner is observing itself. In other words, the owner always executes -internalRemoveAllObservations first during dealloc; all subsequent blocks to remove individual observers are pointless. Now, the block to remove an individual observer is added to the dealloc task list iff the observed object is not the owner. More... over 6 years ago
Fixed memory leak: a block that runs -internalRemoveAllObservations was added *every* time the dictionary of key-path observers was requested. Now, it is added only once the first time the dictionary is requested/created. More... over 6 years ago
Updated the tests to remove @keypath macro. Modified -testInitialObservation to reflect the new initial value states. Added -testAutomaticRemovalOfOnObjectDealloc to test an observed object that gets destroyed before the owner/observer. More... over 6 years ago
Remove @keypath(…) macro, it’s out of scope for this library More... almost 7 years ago
Update build settings for Xcode 9 More... almost 7 years ago
Update product ID More... almost 7 years ago
Update podspec file to 3.0 More... over 7 years ago
Change behavior of oldValue for initial observations. More... over 7 years ago
Remove redundant dealloc handlers More... over 7 years ago
Fix automatic removal of observations when foreign owner deallocates More... over 7 years ago
Actually fix deallocation behavior More... over 7 years ago
Fix obscure memory issue in -removeAllObservationOfObject: More... over 7 years ago
Xcode 8 More... over 7 years ago
Update README.md More... almost 8 years ago