Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

saleh.hi.62

macrumors member
Original poster
Jul 25, 2011
95
0
is it possible to have 1 class with 2 interface in Header file and 2 implementation in M file?
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
is it possible to have 1 class with 2 interface in Header file and 2 implementation in M file?

That's called "having 2 classes", but yes it works fine. Each @interface defines a class, each @implementation implements one. Doesn't matter how many of each you have in a file, or what files they're in, really.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.