ios - NSOperationQueue (delegate/callback/notification) when operation is added to queue -
is there way know when particular operation added nsoperationqueue
instance?
ps: currently, not interested in subclassing nsoperationqueue
, overwriting required addoperation
apis.
you periodically check operations
property , see if changed previous reference (maybe method runs time?). if did check if operation added or not.
this way don't need subclass nsoperationqueue
or override addoperation
.
Comments
Post a Comment