Skip to content

Commit

Permalink
fix(ios): expose TiApp singleton accessor to swift (#11419)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Williams <chris.a.williams@gmail.com>
  • Loading branch information
2 people authored and ssekhri committed Jan 13, 2020
1 parent 8646a46 commit 981869a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ TI_INLINE void waitForMemoryPanicCleared() //WARNING: This must never be run on
/**
Returns singleton instance of TiApp application object.
*/
+ (TiApp *)app;
+ (TiApp *)app NS_SWIFT_NAME(sharedApp());

/**
* Returns a read-only dictionary from tiapp.xml properties
Expand Down

0 comments on commit 981869a

Please sign in to comment.