I'm aware standard delegate method declaration should include the object that triggers the method, usually of the class that declared the protocol.
That's fine when the delegate method includes further arguments down the line, but what if it doesn't?
@protocol MyObjectDelegate <NSObject> - (void)myObject:(id)object didPerformActionWithResult:(NSObject*)resul; - (void)myObject:(id)object didPerformActionWithoutResult; @end
I know the second method isn't accepted, its missing an argument, but what do I put there? A BOOL that I know will always be true?
Do I change |didPerformActionWithoutResult| to performedAction:(BOOL)yesOrNo?
Or move the object reference to the end?