Commits

Ivan Vučica  committed 5de93d8

A bit of documentation for 'name', 'type' and 'identifier' in XCSpecification.

  • Participants
  • Parent commits 3005bdf

Comments (0)

Files changed (2)

File Builder/XCSpecification.h

 
 @interface XCSpecification : NSObject {
     NSDictionary *properties;
+    
+    // name: 
+    // - examples: "Headers Build Phase"
+    // type:
+    // - string specifying what is being specified
+    // - case insensitive
+    // - not required everywhere
+    // - examples: BuildSystem, BuildPhase
+    // identifier:
+    // - identifies uniquely the object
+    // - mostly everywhere
+    // - can be a string, a reverse-dns string, etc
+    // - examples: com.apple.buildphase.headers
+    // very similar to a specification for a build system property!
+    // example name there: HEADER_SEARCH_PATH (variable name)
+    // example types there: PathList, Path, String, StringList, Enumeration, Boolean, CodeSigningIdentity
+    // example identifier there: no identifier!
+    NSString *name;
+    NSString *type;
     NSString *identifier;
 
+    
     XCSpecification *superSpecification;
 }
 

File Builder/XCSpecification.m

 
 
 @implementation XCSpecification
+@synthesize superSpecification;
 @synthesize identifier;
-@synthesize superSpecification;
 @synthesize type;
 @synthesize name;