Skip to content

Commit

Permalink
Pragma mark "dash"
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy Ratcliffe committed May 25, 2013
1 parent ee8bc39 commit 3364f7c
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion ActiveResourceKit/ARConnection+Private.m
Expand Up @@ -49,7 +49,7 @@ - (NSDictionary *)buildRequestHeaderFieldsUsingHeaders:(NSDictionary *)headers f
}

//------------------------------------------------------------------------------
#pragma mark Format Header for Method
#pragma mark - Format Header for Method
//------------------------------------------------------------------------------

- (NSDictionary *)HTTPFormatHeaderForHTTPMethod:(NSString *)HTTPMethod
Expand Down
4 changes: 2 additions & 2 deletions ActiveResourceKit/ARConnection.m
Expand Up @@ -37,7 +37,7 @@ @implementation ARConnection
@synthesize timeout = _timeout;

//------------------------------------------------------------------------------
#pragma mark Initialisers
#pragma mark - Initialisers
//------------------------------------------------------------------------------

// designated initialiser
Expand Down Expand Up @@ -144,7 +144,7 @@ + (NSError *)errorForResponse:(ARHTTPResponse *)response
}

//------------------------------------------------------------------------------
#pragma mark Building Requests
#pragma mark - Building Requests
//------------------------------------------------------------------------------

- (NSMutableURLRequest *)requestForHTTPMethod:(NSString *)HTTPMethod path:(NSString *)path headers:(NSDictionary *)headers
Expand Down
4 changes: 2 additions & 2 deletions ActiveResourceKit/ARIncrementalStore.m
Expand Up @@ -100,7 +100,7 @@ - (void)evictAllResources
}

//------------------------------------------------------------------------------
#pragma mark Active Resource-to-Core Data Names
#pragma mark - Active Resource-to-Core Data Names
//------------------------------------------------------------------------------

@synthesize entityNamePrefix = _entityNamePrefix;
Expand Down Expand Up @@ -140,7 +140,7 @@ - (NSString *)propertyNameForAttributeName:(NSString *)attributeName
}

//------------------------------------------------------------------------------
#pragma mark Incremental Store Method Overrides
#pragma mark - Incremental Store Method Overrides
//------------------------------------------------------------------------------

// The following methods appear in Core Data's public interface for
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKit/ARJSONFormat.m
Expand Up @@ -50,7 +50,7 @@ - (id)decode:(NSData *)data error:(NSError **)outError
}

//------------------------------------------------------------------------------
#pragma mark Singleton
#pragma mark - Singleton
//------------------------------------------------------------------------------

+ (ARJSONFormat *)JSONFormat
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKit/ARQueuedLoadingURLConnection.m
Expand Up @@ -47,7 +47,7 @@ - (void)sendRequest:(NSURLRequest *)request completionHandler:(ARConnectionCompl
}

//------------------------------------------------------------------------------
#pragma mark Operation Queue
#pragma mark - Operation Queue
//------------------------------------------------------------------------------

@synthesize operationQueue;
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKit/ARResource+Private.m
Expand Up @@ -138,7 +138,7 @@ - (NSString *)collectionPathWithOptions:(NSDictionary *)options
}

//------------------------------------------------------------------------------
#pragma mark Active Model Conversions
#pragma mark - Active Model Conversions
//------------------------------------------------------------------------------

- (NSArray *)toKey
Expand Down
16 changes: 8 additions & 8 deletions ActiveResourceKit/ARResource.m
Expand Up @@ -155,7 +155,7 @@ - (NSDictionary *)foreignID
}

//------------------------------------------------------------------------------
#pragma mark Base
#pragma mark - Base
//------------------------------------------------------------------------------

@synthesize service = _service;
Expand All @@ -171,7 +171,7 @@ - (ARService *)serviceLazily
}

//------------------------------------------------------------------------------
#pragma mark Attributes
#pragma mark - Attributes
//------------------------------------------------------------------------------

// Store attributes using a mutable dictionary. Take care, however, not to
Expand Down Expand Up @@ -296,13 +296,13 @@ - (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues
}

//------------------------------------------------------------------------------
#pragma mark Prefix Options
#pragma mark - Prefix Options
//------------------------------------------------------------------------------

@synthesize prefixOptions = _prefixOptions;

//------------------------------------------------------------------------------
#pragma mark Schema and Known Attributes
#pragma mark - Schema and Known Attributes
//------------------------------------------------------------------------------

- (NSDictionary *)schema
Expand All @@ -320,7 +320,7 @@ - (NSArray *)knownAttributes
}

//------------------------------------------------------------------------------
#pragma mark Persisted
#pragma mark - Persisted
//------------------------------------------------------------------------------

@synthesize persisted = _persisted;
Expand All @@ -336,7 +336,7 @@ - (BOOL)isNewRecord
}

//------------------------------------------------------------------------------
#pragma mark Primary Key
#pragma mark - Primary Key
//------------------------------------------------------------------------------

- (NSNumber *)ID
Expand All @@ -351,7 +351,7 @@ - (void)setID:(NSNumber *)ID
}

//------------------------------------------------------------------------------
#pragma mark RESTful Services
#pragma mark - RESTful Services
//------------------------------------------------------------------------------

- (void)saveWithCompletionHandler:(void (^)(ARHTTPResponse *response, NSError *error))completionHandler
Expand Down Expand Up @@ -387,7 +387,7 @@ - (NSData *)encode
}

//------------------------------------------------------------------------------
#pragma mark Object
#pragma mark - Object
//------------------------------------------------------------------------------

- (NSString *)description
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKit/ARService+Private.m
Expand Up @@ -144,7 +144,7 @@ - (void)splitOptions:(NSDictionary *)options prefixOptions:(NSDictionary **)outP
}

//------------------------------------------------------------------------------
#pragma mark HTTP Requests
#pragma mark - HTTP Requests
//------------------------------------------------------------------------------

// Under Rails, the HTTP request methods belong to a separate connection class,
Expand Down
22 changes: 11 additions & 11 deletions ActiveResourceKit/ARService.m
Expand Up @@ -98,7 +98,7 @@ - (ARService *)serviceForSubelementNamed:(NSString *)elementName
}

//------------------------------------------------------------------------------
#pragma mark Schema and Known Attributes
#pragma mark - Schema and Known Attributes
//------------------------------------------------------------------------------

@synthesize schema = _schema;
Expand All @@ -109,7 +109,7 @@ - (NSArray *)knownAttributes
}

//------------------------------------------------------------------------------
#pragma mark Site
#pragma mark - Site
//------------------------------------------------------------------------------

@synthesize site = _site;
Expand All @@ -120,7 +120,7 @@ - (NSURL *)siteWithPrefixParameter
}

//------------------------------------------------------------------------------
#pragma mark Format
#pragma mark - Format
//------------------------------------------------------------------------------

@synthesize format = _format;
Expand All @@ -137,13 +137,13 @@ - (NSURL *)siteWithPrefixParameter
}

//------------------------------------------------------------------------------
#pragma mark Timeout
#pragma mark - Timeout
//------------------------------------------------------------------------------

@synthesize timeout = _timeout;

//------------------------------------------------------------------------------
#pragma mark Connection
#pragma mark - Connection
//------------------------------------------------------------------------------

// Lazily constructs a connection using the default connection class.
Expand All @@ -165,7 +165,7 @@ - (void)setConnection:(ARConnection *)connection
}

//------------------------------------------------------------------------------
#pragma mark Headers
#pragma mark - Headers
//------------------------------------------------------------------------------

@synthesize headers = _headers;
Expand All @@ -181,7 +181,7 @@ - (NSMutableDictionary *)headersLazily
}

//------------------------------------------------------------------------------
#pragma mark Element and Collection Names
#pragma mark - Element and Collection Names
//------------------------------------------------------------------------------

@synthesize elementName = _elementName;
Expand Down Expand Up @@ -211,7 +211,7 @@ - (NSString *)collectionNameLazily
}

//------------------------------------------------------------------------------
#pragma mark Primary and Foreign Key
#pragma mark - Primary and Foreign Key
//------------------------------------------------------------------------------

@synthesize primaryKey = _primaryKey;
Expand All @@ -232,7 +232,7 @@ - (NSString *)foreignKey
}

//------------------------------------------------------------------------------
#pragma mark Prefix
#pragma mark - Prefix
//------------------------------------------------------------------------------

@synthesize prefixSource = _prefixSource;
Expand Down Expand Up @@ -277,7 +277,7 @@ - (NSString *)prefixWithOptions:(NSDictionary *)options
}

//------------------------------------------------------------------------------
#pragma mark Paths
#pragma mark - Paths
//------------------------------------------------------------------------------

- (NSString *)elementPathForID:(NSNumber *)ID prefixOptions:(NSDictionary *)prefixOptions queryOptions:(NSDictionary *)queryOptions
Expand Down Expand Up @@ -308,7 +308,7 @@ - (NSString *)collectionPathWithPrefixOptions:(NSDictionary *)prefixOptions quer
}

//------------------------------------------------------------------------------
#pragma mark RESTful Services
#pragma mark - RESTful Services
//------------------------------------------------------------------------------

// Building with attributes. Should this be a class or instance method? Rails
Expand Down
4 changes: 2 additions & 2 deletions ActiveResourceKit/ARURLConnectionDelegate.m
Expand Up @@ -32,7 +32,7 @@ @implementation ARURLConnectionDelegate
@synthesize data = _data;

//------------------------------------------------------------------------------
#pragma mark Connection Delegate
#pragma mark - Connection Delegate
//------------------------------------------------------------------------------

- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
Expand Down Expand Up @@ -61,7 +61,7 @@ - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallen
}

//------------------------------------------------------------------------------
#pragma mark Connection Data Delegate
#pragma mark - Connection Data Delegate
//------------------------------------------------------------------------------

- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKitTests/ActiveResourceKitTests.m
Expand Up @@ -37,7 +37,7 @@
}

//------------------------------------------------------------------------------
#pragma mark Person Class
#pragma mark - Person Class
//------------------------------------------------------------------------------

@interface MyObject : ARService
Expand Down
2 changes: 1 addition & 1 deletion ActiveResourceKitTests/VersioningTests.m
Expand Up @@ -29,7 +29,7 @@
@implementation VersioningTests

//------------------------------------------------------------------------------
#pragma mark Versioning Tests
#pragma mark - Versioning Tests
//------------------------------------------------------------------------------

#define PROGRAM_NAME_STRING PROJECT_NAME_STRING
Expand Down

0 comments on commit 3364f7c

Please sign in to comment.