Constants
The following constants are available globally.
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT double FWFrameworkVersionNumber
-
Undocumented
Declaration
Objective-C
FOUNDATION_EXPORT const unsigned char FWFrameworkVersionString[]
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch35 = 35
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch40 = 40
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch47 = 47
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch54 = 54
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch55 = 55
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch58 = 58
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch61 = 61
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch65 = 65
-
Undocumented
Declaration
Objective-C
static const FWScreenInch FWScreenInch67 = 67
-
异常捕获通知,object为NSException对象,userInfo为附加信息(name|reason|method|remark|symbols)
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWExceptionCapturedNotification
-
本地化语言改变通知,object为本地化语言名称
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWLanguageChangedNotification
-
定位更新通知
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWLocationUpdatedNotification
-
定位失败通知
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWLocationFailedNotification
-
方向改变通知
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWHeadingUpdatedNotification
-
模块默认优先级,100
Declaration
Objective-C
static const NSUInteger FWModulePriorityDefault = 100
-
状态改变通知
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWStateChangedNotification
-
浅色样式
Declaration
Objective-C
static const FWThemeStyle FWThemeStyleLight = 1
-
深色样式
Declaration
Objective-C
static const FWThemeStyle FWThemeStyleDark = 2
-
跟随系统模式,iOS13以上动态切换,iOS13以下固定浅色,默认
Declaration
Objective-C
static const FWThemeMode FWThemeModeSystem = 0
-
固定浅色模式
Declaration
Objective-C
static const FWThemeMode FWThemeModeLight = FWThemeStyleLight
-
固定深色模式
Declaration
Objective-C
static const FWThemeMode FWThemeModeDark = FWThemeStyleDark
-
iOS13主题改变通知,object为FWThemeManager时表示手工切换,object为UIScreen时为系统切换
Declaration
Objective-C
extern const NSNotificationName _Nonnull FWThemeChangedNotification