Revision: 6685
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6685&view=rev
Author:   hofman
Date:     2010-08-10 11:03:53 +0000 (Tue, 10 Aug 2010)

Log Message:
-----------
no need for SKBookmark to implement NSCopying

Modified Paths:
--------------
    trunk/SKBookmark.h
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.h
===================================================================
--- trunk/SKBookmark.h  2010-08-09 21:31:23 UTC (rev 6684)
+++ trunk/SKBookmark.h  2010-08-10 11:03:53 UTC (rev 6685)
@@ -46,7 +46,7 @@
 };
 typedef NSInteger SKBookmarkType;
 
-...@interface SKBookmark : NSObject <NSCopying> {
+...@interface SKBookmark : NSObject {
     SKBookmark *parent;
 }
 

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2010-08-09 21:31:23 UTC (rev 6684)
+++ trunk/SKBookmark.m  2010-08-10 11:03:53 UTC (rev 6685)
@@ -170,11 +170,6 @@
     return nil;
 }
 
-- (id)copyWithZone:(NSZone *)aZone {
-    [self doesNotRecognizeSelector:_cmd];
-    return nil;
-}
-
 - (void)dealloc {
     parent = nil;
     [super dealloc];
@@ -335,10 +330,6 @@
     return self;
 }
 
-- (id)copyWithZone:(NSZone *)aZone {
-    return [[[self class] allocWithZone:aZone] initWithAlias:alias 
pageIndex:pageIndex label:label];
-}
-
 - (void)dealloc {
     SKDESTROY(alias);
     SKDESTROY(aliasData);
@@ -420,10 +411,6 @@
     return self;
 }
 
-- (id)copyWithZone:(NSZone *)aZone {
-    return [[[self class] allocWithZone:aZone] 
initFolderWithChildren:[[[NSArray alloc] initWithArray:children copyItems:YES] 
autorelease] label:label];
-}
-
 - (void)dealloc {
     SKDESTROY(label);
     SKDESTROY(children);
@@ -557,10 +544,6 @@
 
 @implementation SKSeparatorBookmark
 
-- (id)copyWithZone:(NSZone *)aZone {
-    return [[[self class] allocWithZone:aZone] init];
-}
-
 - (NSString *)description {
     return [NSString stringWithFormat:@"<%@: separator>", [self class]];
 }


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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to