Good evening, i need to know how can i have one .h file that defines my class and multiple .m files for the same class! the project is big and i am loosing it:S. Can you please paste a simple example?
Sincerely
L_Sonic
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use Categories:
Foo.h
Foo.m
Foo-Bar.h
Foo-Bar.m
In your implementation for Foo, you can now access any of the methods defined in
Foo (Bar)Keep in mind that all your properties and ivars must be defined in Foo
You can continue to do this eg.
Foo (Duck)Another option is to put
in your code. You can then use the Jump bar (at the top of the file editor) to group your methods