From c6e78419cb29f4650a8442fa43d8b42ac4cd8ffa Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Jul 2008 09:10:15 -0400 Subject: [PATCH] Fix build errors. Properties cannot be synthesized if they are defined in a category * Source/SocketWrapper.m --- Source/SocketWrapper.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/SocketWrapper.m b/Source/SocketWrapper.m index d904264..fe3a086 100644 --- a/Source/SocketWrapper.m +++ b/Source/SocketWrapper.m @@ -21,14 +21,14 @@ #include #include -@interface SocketWrapper (Private) +@interface SocketWrapper () +@property (copy, readwrite, getter=remoteHost) NSString *hostname; - (void)error:(NSString *)msg; - -@property (copy, readwrite, getter=remoteHost, setter=setHostname:) NSString *hostname; @end @implementation SocketWrapper +@synthesize hostname; /** * Initializes the socket wrapper with a host and port @@ -77,8 +77,6 @@ delegate = aDelegate; } -@synthesize hostname; - /** * Connects to a socket on the port specified during init. This will dispatch another thread to do the * actual waiting. Delegate notifications are posted along the way to let the client know what is going on. -- 2.43.5