1. Peter Hosey
  2. PRHTask


Peter Hosey  committed a24bd35

Use NS_REQUIRES_NIL_TERMINATION here, enabling clients to get a warning when they don't fulfill that requirement.

  • Participants
  • Parent commits 3b7ca19
  • Branches default

Comments (0)

Files changed (1)

File PRHTask.h

View file
 //taskWithProgramNameAndArguments: passes the array to argumentsIncludingProgramName (see below).
 + (id) taskWithProgramNameAndArguments:(NSArray *)arguments;
 //Wraps taskWithProgramNameAndArguments:, enabling you to pass the name and arguments individually without rolling them into an array yourself first.
-+ (id) taskWithProgramName:(NSString *)name arguments:(id)arg1, ...;
++ (id) taskWithProgramName:(NSString *)name arguments:(id)arg1, ... NS_REQUIRES_NIL_TERMINATION;
 //init works, too.