1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

2 interface and 2 implementation in one class possibility?

Discussion in 'Mac Programming' started by saleh.hi.62, Dec 9, 2011.

  1. macrumors member

    is it possible to have 1 class with 2 interface in Header file and 2 implementation in M file?
  2. macrumors 68030


    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.
  3. macrumors 68040



Share This Page