diff options
author | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-11-04 20:10:52 +0000 |
---|---|---|
committer | thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2008-11-04 20:10:52 +0000 |
commit | 8ddb49cefd01b220ad5e1d2f0060b2a0ad54efdb (patch) | |
tree | b1cb7590d31d8086eb3929028303e1d16324e115 /Foundation/GTMNSString+Replace.h | |
parent | 750b28c89618586a0450cacb86e28cd709374c9d (diff) |
- Added has ability to check if a script has an open handler to GTMNSAppleScript+Handler.
- GTMStackTrace support for building a trace from the call stack in an NSException (for 10.5+ and iPhone).
- Added GTMUIFont+LineHeight.
- Cleaned up some OS version checks to use constants instead of numbers directly.
Diffstat (limited to 'Foundation/GTMNSString+Replace.h')
-rw-r--r-- | Foundation/GTMNSString+Replace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Foundation/GTMNSString+Replace.h b/Foundation/GTMNSString+Replace.h index edc8478..71a98c5 100644 --- a/Foundation/GTMNSString+Replace.h +++ b/Foundation/GTMNSString+Replace.h @@ -21,7 +21,7 @@ /// Give easy search-n-replace functionality to NSString. @interface NSString (GTMStringReplaceAdditions) -#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 +#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 // 10.5 has stringByReplacingOccurrencesOfString:withString:, use that directly. /// Returns a new autoreleased string by replacing all occurrences of @@ -40,6 +40,6 @@ - (NSString *)gtm_stringByReplacingString:(NSString *)target withString:(NSString *)replacement; -#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 1050 +#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5 @end |