Revision: 3424
http://skim-app.svn.sourceforge.net/skim-app/?rev=3424&view=rev
Author: hofman
Date: 2008-02-21 13:38:00 -0800 (Thu, 21 Feb 2008)
Log Message:
-----------
Change method name.
Modified Paths:
--------------
trunk/NSURL_SKExtensions.m
Modified: trunk/NSURL_SKExtensions.m
===================================================================
--- trunk/NSURL_SKExtensions.m 2008-02-21 20:39:13 UTC (rev 3423)
+++ trunk/NSURL_SKExtensions.m 2008-02-21 21:38:00 UTC (rev 3424)
@@ -43,7 +43,7 @@
@interface NSURL (SKPrivateExtensions)
- (id)replacementInitFileURLWithPath:(NSString *)path;
-- (id)replacementInitString:(NSString *)URLString;
+- (id)replacementInitWithString:(NSString *)URLString;
@end
@implementation NSURL (SKExtensions)
@@ -53,14 +53,14 @@
+ (void)load {
originalInitFileURLWithPath =
OBReplaceMethodImplementationWithSelector(self,
@selector(initFileURLWithPath:), @selector(replacementInitFileURLWithPath:));
- originalInitWithString = OBReplaceMethodImplementationWithSelector(self,
@selector(initWithString:), @selector(replacementInitString:));
+ originalInitWithString = OBReplaceMethodImplementationWithSelector(self,
@selector(initWithString:), @selector(replacementInitWithString:));
}
- (id)replacementInitFileURLWithPath:(NSString *)path {
return path == nil ? nil : originalInitFileURLWithPath(self, _cmd, path);
}
-- (id)replacementInitString:(NSString *)URLString {
+- (id)replacementInitWithString:(NSString *)URLString {
return URLString == nil ? nil : originalInitWithString(self, _cmd,
URLString);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit