How do we refer to a particular enum value

162 views
Skip to first unread message

Titus Abraham

unread,
Sep 19, 2013, 1:20:16 PM9/19/13
to appl...@googlegroups.com
HI, 

I have an issue with NSEnum value usage. 

if I have an enum like below

/**

 This section lists error codes 

 */

typedef NS_ENUM(NSInteger, YPErrorType) {

    /**API Resulted in Success*/

    YP_SUCCESS,

    /**Generic failure*/

    YP_ERROR_FAILURE

};


How can i use the enum values in other comments.  by just putting `YPErrorType ` i see it refers back . but if i want to say a specific enum value i cant seem to find a method.

Rob Van der Veer

unread,
Sep 19, 2013, 1:21:56 PM9/19/13
to appledoc on behalf of Titus Abraham
Unfortunately, it is not yet implemented. 


--
You received this message because you are subscribed to the Google Groups "appledoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to appledoc+u...@googlegroups.com.
To post to this group, send email to appl...@googlegroups.com.
Visit this group at http://groups.google.com/group/appledoc.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages