Showing posts with label Multiple arguments. Show all posts
Showing posts with label Multiple arguments. Show all posts

Monday, September 17, 2012

Creating and implementing a custom method with dynamic number of arguments.

As you have noticed, there are methods which can take dynamic numbers of arguments. eg initWithObejcts:obj1,obj2,nil. This post will show you how you can create a custom method with dynamic numbers of arguments.