-cancelPreviousPerformRequestsWithTarget:selector: missing
| Originator: | futuretap | ||
| Number: | rdar://12825634 | Date Originated: | |
| Status: | Duplicate/4531527/Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | n/a |
| Classification: | Feature (New) | Reproducible: | Not Applicable |
There is -[NSObject cancelPreviousPerformRequestsWithTarget:] and -[NSObject cancelPreviousPerformRequestsWithTarget:selector:object:]. But -[NSObject cancelPreviousPerformRequestsWithTarget:selector:] is missing. This would be useful if there are multiple delayed requests with different selectors running and one would like to cancel just a specific one. The additional restriction that -cancelPreviousPerformRequestsWithTarget:selector:object: imposes, namely that the object of the previous request must be known, makes it rather useless in most situations. One would need to store the object in an ivar just to be able to cancel it later on. Sounds complicated.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!