Reputation: 531
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
Reputation: 3961
You can use this:
static NSString * const SEGUE_IDENTIFIER = @"SegueIdentifier";
Upvotes: 3