Objective-C partial implementation of classes in separate files
Posted
by Aran Mulholland
on Stack Overflow
See other posts from Stack Overflow
or by Aran Mulholland
Published on 2010-06-12T13:06:35Z
Indexed on
2010/06/12
13:13 UTC
Read the original article
Hit count: 449
I am using core data and am generating classes from my data model.
I implement custom methods in these classes, however when i regenerate i generate over the top so i end up copying and pasting a bit. What i would like to do is split my implementation files ('.m') so i can have one header file with multiple '.m' files. then i can keep my custom methods in one and not have to worry about erasing them when i regenerate. I use this technique in .NET a lot with its partial keyword. Is there anything similar in objective-C
© Stack Overflow or respective owner