From 1632c45fdd9d0b8fe1e0aef3e891e8bd5704df29 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 13 Mar 2011 18:50:40 +0000 Subject: Fix issue related to dragging a node to a group node that is being renamed as well as fix all warnings related to the connection outlinew view. --- Source/SPFavoriteNode.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Source/SPFavoriteNode.m') diff --git a/Source/SPFavoriteNode.m b/Source/SPFavoriteNode.m index ee40f61f..a70823f7 100644 --- a/Source/SPFavoriteNode.m +++ b/Source/SPFavoriteNode.m @@ -23,10 +23,11 @@ // // More info at +#import "SPTreeNode.h" #import "SPFavoriteNode.h" // Constants -static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode"; +static NSString *SPFavoriteNodeKey = @"SPFavoriteNode"; @implementation SPFavoriteNode @@ -44,7 +45,7 @@ static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode"; return self; } -- (id)initWithDictionary:(NSDictionary *)dictionary +- (id)initWithDictionary:(NSMutableDictionary *)dictionary { if ((self = [self init])) { [self setNodeFavorite:dictionary]; @@ -53,7 +54,7 @@ static const NSString *SPFavoriteNodeKey = @"SPFavoriteNode"; return self; } -+ (SPFavoriteNode *)favoriteNodeWithDictionary:(NSDictionary *)dictionary ++ (SPFavoriteNode *)favoriteNodeWithDictionary:(NSMutableDictionary *)dictionary { return [[[self alloc] initWithDictionary:dictionary] autorelease]; } -- cgit v1.2.3