I have a shared delegate defined by a macro in an Objective-C class. I would like to access this shared delegate from a Swift class. I have defined my shared instance as:
#define APP_DELEGATE((AppDelegate *)[[UIApplication sharedApplication] delegate])
I have a property declared in my AppDelegate that I would like to access from my Swift class:
@property (nonatomic) BOOL isReady;
How would I accomplish this in Swift? Thanks in advance.