Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 882981 thumbnail
User 225256 avatar

By mswatcher
via infragistics.com
Submitted: Nov 26 2012 / 10:42

Interfaces do exist in Objective-C, they just aren’t called interfaces. In fact, if you read my last post on Classes, you probably noticed that in the header file a class was defined as: @interface MyClass : NSObject @end Hmm… if I was coming directly from C# and knew nothing about Obj-C, i’d assume thats the same as .Net interface.  So whats going on above? And whats the equivalent of a C# interface in obj-c? When you look at the above statement, and you look at it in relationship to the second part of a class declaration, it actually makes a lot of sense.  
  • 3
  • 0
  • 88
  • 66

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)