When debugging i found this method.
- (void)sendPublicEvent:(NSInteger)type, ... KNCONTANT_VALUE
The method declaration is different from generation method declaration.
I do not understand why it postfix after type ,... KNCONTANT_VALUE`
I want to know why method declaration is different,any one advice me!
@thanks in Advance
This method is taking a variable argument.
See this example:
In .h
In .m
And
KNCONTANT_VALUEis showing that this should be your last constant value after the Integer values.When we deal with strings we use :
-(void)variableArgument:(NSString *)string, ... NS_REQUIRES_NIL_TERMINATION;