Perform one-time initializations in +initialize when possible

This commit is contained in:
Ethan Nagel
2015-08-14 14:41:13 -07:00
parent e93e97ad5f
commit 176e4962bf
4 changed files with 102 additions and 45 deletions

View File

@@ -72,7 +72,7 @@ typedef NS_OPTIONS(NSUInteger, ASDisplayNodeMethodOverrides) {
_ASPendingState *_pendingViewState;
struct {
struct ASDisplayNodeFlags {
// public properties
unsigned synchronous:1;
unsigned layerBacked:1;