I have found myself using objc_util a whole lot. Heck my pride and joy of a library is made with it
Some things I wish objc_util had are
Better ways of responding to blocks.
A block should have it's own accessible class that functions within the block can access. Also a block should be self contained and not having to push to a global variable
class Block(object):
def __init__(self):
self.someValue = 1
def callOnFinish(self, passed_value):
self.someValue = passed_value
Better type error handling
Currently objc_utils throws very cryptic errors when a type issue happens with an objc function. The type expected should be stated in the error
Error objects
If something has an option that is an NSError a built in part of objc_util should provide that. (I currently have an implementation but it's strange)
Though in all I'm still really happy with objc_util