You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.
When registering an observer using addObserverForKeyPaths with only one property name in the array, BlocksKit will crash the application as soon as that property changes.
The reason appears to be that the provided BKSenderKeyPathBlock is called as BKSenderBlock (so without the second parameter). The helper method used to register all observers sets the context wich is used to infer the block type based solely on the number of entries in the array (NSObject+BlockObservation.m:112), which is clearly wrong in this case.
The text was updated successfully, but these errors were encountered:
I second this motion… and it is causing all sorts of problems… I had to remove blockskit from my project… until i realized all my dependencies on it.. please FIX!
When registering an observer using
addObserverForKeyPaths
with only one property name in the array, BlocksKit will crash the application as soon as that property changes.The reason appears to be that the provided BKSenderKeyPathBlock is called as BKSenderBlock (so without the second parameter). The helper method used to register all observers sets the context wich is used to infer the block type based solely on the number of entries in the array (NSObject+BlockObservation.m:112), which is clearly wrong in this case.
The text was updated successfully, but these errors were encountered: