Created
August 25, 2011 20:32
-
-
Save OiNutter/1171831 to your computer and use it in GitHub Desktop.
OiNutter.co.uk - ObjectiveC+iOS - Method Definition Comparison
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Actionscript 3 - Method Definitions | |
//single argument methods | |
public function doubleNumber(double: number):double; | |
//multiple argument methods | |
public function multiplyNumberByAnotherNumber(double: number1,double: number2):double; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Objective-C Method Definitions | |
//single argument method | |
- (double) doubleNumber:(double)number; | |
//mulitple argument method | |
- (double) multiplyNumber:(double)number1 byAnotherNumber:(double)number2; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment