protocol file extension

Discussion in 'Mac Programming' started by kamo, Apr 27, 2008.

  1. kamo macrumors member

    Joined:
    Mar 21, 2008
    #1
    What file extension should protocols have?

    Thanks
    -kamo
     
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Protocols do not have file extensions. In fact they don't have files either. They are just a set list of commands basically that establish a connection between a host and a client. They use streams to transmit information.
     
  3. kamo thread starter macrumors member

    Joined:
    Mar 21, 2008
    #3
    Sorry, I should've been more specific. I meant protocols in Obj-C. (@protocol)

    I made them .h and they seem to work.
     

Share This Page