24/7 twenty-four seven

iOS/OS X application programing topics.

2010-03-11から1日間の記事一覧

Objective-C における可変引数の実装方法

Q: How can I write a method that takes a variable number of arguments, like NSString's +stringWithFormat:? A: Methods that take variable arguments are known as variadic methods.Keep in mind that the implementation of an Objective-C method …