objective c - How can i tell if an object has a key value observer attached -


If you tell objects object to deleting Objects: for an important path and not registering that key path It has been, SADS. As -

A supervisor can not be removed for the main path of 'Kepath' because he is not registered as a supervisor. '

Is there a way to determine whether an object is registered supervisor, so I can do this

  if (object supervisor) (remove supervisor) Other {go on my way to pleasure}  

around your deleted Observer call Hold a try

  @try {[someObject removeObserver: SomeObserver forKeyPath: somePath]; } @chitch (id an exposition) {// nothing, obviously it was not attached because an exception was thrown)  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -