Objective C methods naming conventions
What name is better for the "delete" method that deletes document in
database with given documentID?
1) -(void) deleteDocumentWithID:(NSString ) documentID error:(NSError
*)error;
or
2) -(void) deleteDocumentByID:(NSString ) documentID error:(NSError *)error;
No comments:
Post a Comment