Instance methods are essentially code routines that perform tasks so instances of classes we create methods to get and set the instance variables and to display the current values of these variables.
Declaration of instance method :
– (void)click me: (id)sender;
1.Void is return type which does not giving any thing here.
2.Click me is method name.
3.Id is data type which returns any type of object.
Liked By
Write Answer
What is the instance methods?
Join MindStick Community
You have need login or register for voting of answers or question.
Tarun Kumar
21-Aug-2015Instance methods are essentially code routines that perform tasks so instances of classes we create methods to get and set the instance variables and to display the current values of these variables.
Declaration of instance method :
– (void)click me: (id)sender;
1. Void is return type which does not giving any thing here.
2. Click me is method name.
3. Id is data type which returns any type of object.