Some insights here - hope it helps!

http://developer.apple.com/library/ios/#qa/qa1546/_index.html#//apple_ref/doc/uid/DTS40011324

John

On Dec 8, 2011, at 3:11 PM, Martin Linklater wrote:

> Hi - I'm writing some OSX NSNetService code with ARC enabled, and I'm getting 
> the following compile error with the following code:
> 
> @property(strong) NSInputStream* inputStream;
> @property(strong) NSOutputStream* outputStream;
> 
> - (void)netServiceDidResolveAddress:(NSNetService *)sender
> {
>       [sender getInputStream:&_inputStream outputStream:&_outputStream]; 
> <===ERROR
> }
> 
> The error is:
> 
> 'Passing address of non-local object to __autoreleasing parameter for 
> write-back'
> 
> I'm a bit stumped as to what I need to do to get this compiling... can anyone 
> help at all ?
> 
> Thanks._______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/john%40positivespinmedia.com
> 
> This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to