Hello,

Recently, I've been working on an app that will sync with an iphone app. So, I am using NSNetServices. I would like the iPhone to display the mac's icon, so I was thinking of using the TXT Record to store the icon. However, whenever I add it to the dictionary, convert the dictionary to data (using the NSNetService methd), it becomes nil. I am guessing that's because it's too large. Then, I decided to set the size of the image to (1,1) thinking it must be small enough. However, I still got nil. Is there a way to send an NSImage (as NSData in the dictionary, PNG formatted using an NSImageRep then converted to data) through a TXTRecord. And, if so, is there a way for the image to be able to be displayed on the iphone? I know an NSImage cannot be displayed on the iphone, which is why I converted it to PNG data, hoping the iphone could read that.

Thanks!

Joe
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to