Should i use a C function or Obj-C Method?

Posted by Daniel Granger on Stack Overflow See other posts from Stack Overflow or by Daniel Granger
Published on 2010-05-01T15:18:20Z Indexed on 2010/05/01 15:27 UTC
Read the original article Hit count: 129

Filed under:
|
|

I'm about to create a function which adds to NSDateComponents together is there any advantage to putting this in a C style function or should it go in a Obj-C method?

Is there ever a reason to use one rather then the other or should I always stick to Obj-C?

BTW: Not that it makes any difference I'm sure but this is for an app on the iPhone

Many thanks

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa