parameter passing - iphone pass values to the superclass from the subclass -
hi, want pass string value superclass subclass without using object. can please help. know has [self superview]
. please help
class c1 { string s1 -(void) m1 { } } class c2 { // here want call m1 , pass values s1 // without creating object of class c1 }
they keyword communicate superclass super
. can invoke methods on superclass this:
[super mymethod:someparameter];
Comments
Post a Comment