Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo of "writing" scattered throughout project

  • Loading branch information...
commit 6795b41c20b27535f33bf8c31326c2f089cb5641 1 parent 700b493
Ryan Maxwell authored
View
2  Application/GBApplicationSettingsProvider.h
@@ -328,7 +328,7 @@ extern id kGBCustomDocumentIndexDescKey;
/** Indicates whether merged section names from categories should be prefixed with category name.
- If `YES`, all merged section names from categories are prefixed with category name to make them more easily identifiable. If `NO`, section names are not changed. The first option is useful in case end users of your code are aware of different categories (if you're writting a framework for example). On the other hand, if you're using categories mostly as a way to split class definition to multiple files, you might want to keep this option off.
+ If `YES`, all merged section names from categories are prefixed with category name to make them more easily identifiable. If `NO`, section names are not changed. The first option is useful in case end users of your code are aware of different categories (if you're writing a framework for example). On the other hand, if you're using categories mostly as a way to split class definition to multiple files, you might want to keep this option off.
@warning *Note:* This option is ignored unless `mergeCategoriesToClasses` and `keepMergedCategoriesSections` is used. The option is also ignored for extensions; only section names are used for extensions!
View
2  Common/ThirdParty/CocoaLumberjack/DDLog.h
@@ -501,7 +501,7 @@ NSString *ExtractFileNameWithoutExtension(const char *filePath, BOOL copy);
* The DDLogger protocol specifies that an optional formatter can be added to a logger.
* Most (but not all) loggers will want to support formatters.
*
- * However, writting getters and setters in a thread safe manner,
+ * However, writing getters and setters in a thread safe manner,
* while still maintaining maximum speed for the logging process, is a difficult task.
*
* To do it right, the implementation of the getter/setter has strict requiremenets:
View
2  Generating/GBDocSetInstallGenerator.m
@@ -76,7 +76,7 @@ - (void)touchInstallMessageFile {
[message appendFormat:@"Time: %@", [NSDate date]];
NSError *error = nil;
[message writeToFile:[filename stringByStandardizingPath] atomically:NO encoding:NSUTF8StringEncoding error:&error];
- if (error) GBLogNSError(error, @"Failed writting docset installed message file at '%@'!", filename);
+ if (error) GBLogNSError(error, @"Failed writing docset installed message file at '%@'!", filename);
}
#pragma mark Overriden methods
View
6 Generating/GBDocSetOutputGenerator.m
@@ -117,7 +117,7 @@ - (BOOL)processInfoPlist:(NSError **)error {
NSString *outputPath = [self outputPathToTemplateEndingWith:templateFilename];
NSString *filename = [outputPath stringByAppendingPathComponent:@"Info.plist"];
if (![self writeString:output toFile:[filename stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting Info.plist to '%@'!", filename);
+ GBLogWarn(@"Failed wrtting Info.plist to '%@'!", filename);
return NO;
}
return YES;
@@ -154,7 +154,7 @@ - (BOOL)processNodesXml:(NSError **)error {
NSString *filename = [outputPath stringByAppendingPathComponent:@"Nodes.xml"];
[self.temporaryFiles addObject:filename];
if (![self writeString:output toFile:[filename stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting Nodes.xml to '%@'!", filename);
+ GBLogWarn(@"Failed writing Nodes.xml to '%@'!", filename);
return NO;
}
return YES;
@@ -253,7 +253,7 @@ - (BOOL)processTokensXmlForObjects:(NSArray *)objects type:(NSString *)type temp
NSString *filename = [outputPath stringByAppendingPathComponent:indexName];
[self.temporaryFiles addObject:filename];
if (![self writeString:output toFile:[filename stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting tokens file '%@'!", filename);
+ GBLogWarn(@"Failed writing tokens file '%@'!", filename);
*index = idx;
return NO;
}
View
12 Generating/GBHTMLOutputGenerator.m
@@ -63,7 +63,7 @@ - (BOOL)processClasses:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [self htmlOutputPathForObject:class];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML for class %@ to '%@'!", class, path);
+ GBLogWarn(@"Failed writing HTML for class %@ to '%@'!", class, path);
return NO;
}
GBLogDebug(@"Finished generating output for class %@.", class);
@@ -80,7 +80,7 @@ - (BOOL)processCategories:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [self htmlOutputPathForObject:category];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML for category %@ to '%@'!", category, path);
+ GBLogWarn(@"Failed writing HTML for category %@ to '%@'!", category, path);
return NO;
}
GBLogDebug(@"Finished generating output for category %@.", category);
@@ -97,7 +97,7 @@ - (BOOL)processProtocols:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [self htmlOutputPathForObject:protocol];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML for protocol %@ to '%@'!", protocol, path);
+ GBLogWarn(@"Failed writing HTML for protocol %@ to '%@'!", protocol, path);
return NO;
}
GBLogDebug(@"Finished generating output for protocol %@.", protocol);
@@ -126,7 +126,7 @@ - (BOOL)processDocuments:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [self htmlOutputPathForObject:document];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML for document %@ to '%@'!", document, path);
+ GBLogWarn(@"Failed writing HTML for document %@ to '%@'!", document, path);
return NO;
}
GBLogDebug(@"Finished generating output for document %@.", document);
@@ -142,7 +142,7 @@ - (BOOL)processIndex:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [[self htmlOutputPathForIndex] stringByStandardizingPath];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML index to '%@'!", path);
+ GBLogWarn(@"Failed writing HTML index to '%@'!", path);
return NO;
}
}
@@ -158,7 +158,7 @@ - (BOOL)processHierarchy:(NSError **)error {
NSString *cleaned = [self stringByCleaningHtml:output];
NSString *path = [[self htmlOutputPathForHierarchy] stringByStandardizingPath];
if (![self writeString:cleaned toFile:[path stringByStandardizingPath] error:error]) {
- GBLogWarn(@"Failed writting HTML hierarchy to '%@'!", path);
+ GBLogWarn(@"Failed writing HTML hierarchy to '%@'!", path);
return NO;
}
}
View
4 Generating/GBOutputGenerator.h
@@ -98,8 +98,8 @@
@param string The string to write.
@param path The path and filename to write to.
- @param error If writting fails, error description is returned here.
- @return Returns `YES` is writting succeds, `NO` otherwise.
+ @param error If writing fails, error description is returned here.
+ @return Returns `YES` is writing succeds, `NO` otherwise.
@see generateOutputWithStore:error:
*/
- (BOOL)writeString:(NSString *)string toFile:(NSString *)path error:(NSError **)error;
View
4 Generating/GBOutputGenerator.m
@@ -107,12 +107,12 @@ - (BOOL)writeString:(NSString *)string toFile:(NSString *)path error:(NSError **
NSString *standardized = [path stringByStandardizingPath];
NSString *directory = [standardized stringByDeletingLastPathComponent];
if (![self.fileManager createDirectoryAtPath:directory withIntermediateDirectories:YES attributes:nil error:error]) {
- GBLogWarn(@"Failed creating directory while writting '%@'!", path);
+ GBLogWarn(@"Failed creating directory while writing '%@'!", path);
return NO;
}
if (![string writeToFile:standardized atomically:YES encoding:NSUTF8StringEncoding error:error]) {
- GBLogWarn(@"Failed writting '%@'!", path);
+ GBLogWarn(@"Failed writing '%@'!", path);
return NO;
}
Please sign in to comment.
Something went wrong with that request. Please try again.