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

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

    Catfish_Man

    #2
    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

    mduser63

    #3

Share This Page