Cleanup headers

This commit is contained in:
Mikael Sand
2017-08-24 12:42:18 +03:00
parent 13d5157fc1
commit 5372a3078e
11 changed files with 24 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (FontStyle_) #ifndef FontStyle_h
#define FontStyle_ #define FontStyle_h
NS_ENUM(NSInteger, FontStyle) { NS_ENUM(NSInteger, FontStyle) {
FontStyleNormal, FontStyleNormal,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (FontVariantLigatures_) #ifndef FontVariantLigatures_h
#define FontVariantLigatures_ #define FontVariantLigatures_h
NS_ENUM(NSInteger, FontVariantLigatures) { NS_ENUM(NSInteger, FontVariantLigatures) {
FontVariantLigaturesNormal, FontVariantLigaturesNormal,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (FontWeight_) #ifndef FontWeight_h
#define FontWeight_ #define FontWeight_h
NS_ENUM(NSInteger, FontWeight) { NS_ENUM(NSInteger, FontWeight) {
FontWeightNormal, FontWeightNormal,

View File

@@ -1,8 +1,9 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h> #import <QuartzCore/QuartzCore.h>
#if !defined (PropHelper_) #ifndef PropHelper_h
#define PropHelper_ #define PropHelper_h
@interface PropHelper : NSObject @interface PropHelper : NSObject
+ (double) fromRelativeWithNSString:(NSString *)length + (double) fromRelativeWithNSString:(NSString *)length
@@ -12,4 +13,5 @@
fontSize:(double)fontSize; fontSize:(double)fontSize;
@end @end
#endif #endif

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextAnchor_) #ifndef TextAnchor_h
#define TextAnchor_ #define TextAnchor_h
NS_ENUM(NSInteger, TextAnchor) { NS_ENUM(NSInteger, TextAnchor) {
TextAnchorStart, TextAnchorStart,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextDecoration_) #ifndef TextDecoration_h
#define TextDecoration_ #define TextDecoration_h
NS_ENUM(NSInteger, TextDecoration) { NS_ENUM(NSInteger, TextDecoration) {
TextDecorationNone, TextDecorationNone,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextLengthAdjust_) #ifndef TextLengthAdjust_h
#define TextLengthAdjust_ #define TextLengthAdjust_h
NS_ENUM(NSInteger, TextLengthAdjust) { NS_ENUM(NSInteger, TextLengthAdjust) {
TextLengthAdjustSpacing, TextLengthAdjustSpacing,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextPathMethod_) #ifndef TextPathMethod_h
#define TextPathMethod_ #define TextPathMethod_h
NS_ENUM(NSInteger, TextPathMethod) { NS_ENUM(NSInteger, TextPathMethod) {
TextPathMethodAlign, TextPathMethodAlign,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextPathMidLine_) #ifndef TextPathMidLine_h
#define TextPathMidLine_ #define TextPathMidLine_h
NS_ENUM(NSInteger, TextPathMidLine) { NS_ENUM(NSInteger, TextPathMidLine) {
TextPathMidLineSharp, TextPathMidLineSharp,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextPathSide_) #ifndef TextPathSide_h
#define TextPathSide_ #define TextPathSide_h
NS_ENUM(NSInteger, TextPathSide) { NS_ENUM(NSInteger, TextPathSide) {
TextPathSideLeft, TextPathSideLeft,

View File

@@ -1,7 +1,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#if !defined (TextPathSpacing_) #ifndef TextPathSpacing_h
#define TextPathSpacing_ #define TextPathSpacing_h
NS_ENUM(NSInteger, TextPathSpacing) { NS_ENUM(NSInteger, TextPathSpacing) {
TextPathSpacingAutoSpacing, TextPathSpacingAutoSpacing,