How can I do the following things in Objective C (the examples below are in pseudo-code):
interface A extends B, C
interface A
interface B
class X inplemements A, B
3. interface A
class X implements A
class Y implements A
interface B
class Z extends Y implements B
thanks!
Sounds like homework, you should take the first move: http://en.wikipedia.org/wiki/Objective-C
look at 2.2 Interfaces and implementations
MyClass extends Class
@interface MyClass : Class { }
@end
MyClass extends Class implements Interface1 & Interface2
@interface MyClass : Class <Interface1, Interface2> {}
@end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With