Roshan
Roshan

Reputation: 531

How to store segue identifier

What is the most widely used way of storing segue identifier. Is it using #define or NSString constant.

#define SEGUE_IDENTIFIER @"SegueIdentifer"
NSString * const SEGUE_IDENTIFIER = @"SegueIdentifer";

Upvotes: 2

Views: 159

Answers (1)

quaertym
quaertym

Reputation: 3961

You can use this:

static NSString * const SEGUE_IDENTIFIER = @"SegueIdentifier";

Upvotes: 3

Related Questions