Xcode:
Function should be in the format of
selectorFragmentName:(ParameterType)parameterName
Example:
Function should be in the format of
selectorFragmentName:(ParameterType)parameterName
Example:
-(void)registerNewUser:(NSString *)userId andPassword:(NSString *)userPassword;
Swift:
Swift:
private func registerNewUser(userID: String, password: String)-> Void
No comments:
Post a Comment