typedef in objective C

/ Published in: Objective C
Save to your folder(s)

the url attached has a very nice article to help in understanding enum!

Copy this code and paste it in your HTML
  1. typedef enum {
  2. kCircle,
  3. kRectangle,
  4. kOblateSpheroid
  5. } ShapeType;

URL: http://stackoverflow.com/questions/707512/typedef-enum-in-objective-c

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.