Variadic Functions in Objective-C
Ever wondered how NSLog or UIAlertView accept an infinite amount of arguments. It's really not that hard to use or write these kinds of functions.
Check it out.
Written by Alex Boyd
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ios
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#