Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #import <Foundation/Foundation.h>
  2.  
  3. @interface Person : NSObject
  4. {
  5.     //Instance variables
  6.     float heightInMeters;
  7.     int weightInKilos;
  8. }
  9.  
  10. //Declaring them as properties (see the .m file for this class)
  11. @property float heightInMeters;
  12. @property int weightInKilos;
  13.  
  14. //Instance method
  15. - (float)bodyMassIndex;
  16.  
  17. @end
  18.