Re: NSCoding vs NSSecureCoding
On 17 Jun 2014, at 00:33, Sean McBride s...@rogue-research.com wrote: Hi all, I was modernizing some of my code to support NSSecureCoding instead of just NSCoding and stumbled upon that fact that NSColor and NSImage support only NSCoding and not NSSecureCoding. Whereas NSURL, NSData, NSArray and countless others now support NSSecureCoding. Is it just that Apple hasn't gotten around to NSColor and NSImage, or is there some rationale I'm not seeing? I suspect the rationale might be “NSColor and NSImage live in AppKit, not Foundation, and the AppKit engineers aren’t so bothered about secure coding ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On 17 Jun 2014, at 01:33, Sean McBride s...@rogue-research.com wrote: Hi all, I was modernizing some of my code to support NSSecureCoding instead of just NSCoding and stumbled upon that fact that NSColor and NSImage support only NSCoding and not NSSecureCoding. Whereas NSURL, NSData, NSArray and countless others now support NSSecureCoding. Is it just that Apple hasn't gotten around to NSColor and NSImage, or is there some rationale I'm not seeing? For NSImage at least you can got the extra round via NSData. For NSColor I suspect you have to write something of your own. Maybe that's the though behind it - NSData adopts NSSecureCoding, NSImage has an interface to get and set it via NSData. Who knows. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/michael.starke%40hicknhack-software.com This email sent to michael.sta...@hicknhack-software.com ___m i c h a e l s t a r k e geschäftsführer HicknHack Software GmbH www.hicknhack-software.com ___k o n t a k t +49 (170) 3686136 cont...@hicknhack.com ___H i c k n H a c k S o f t w a r e G m b H geschäftsführer - maik lathan | andreas reischuck | michael starke bayreuther straße 32 01187 dresden amtsgericht dresden HRB 30351 sitz - dresden ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
That's probably a Launchpad icon caching issue. I don't know where it used to cache icons though. Le 17 juin 2014 à 05:35, Roland King r...@rols.org a écrit : My OSX app has an icon. It shows in the dock when active, it shows on Alt-Tab, it shows in the Applications folder, however in Launchpad I get the generic OSX Application Icon. I'm using Images.xcassets for my icons (it's a fairly new project). What do I need to have for Launchpad to show the icon? ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/mailing%40xenonium.com This email sent to mail...@xenonium.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
Sean McBride wonders: I was modernizing some of my code to support NSSecureCoding instead of just NSCoding and stumbled upon that fact that NSColor and NSImage support only NSCoding and not NSSecureCoding. Whereas NSURL, NSData, NSArray and countless others now support NSSecureCoding. Is it just that Apple hasn't gotten around to NSColor and NSImage, or is there some rationale I'm not seeing? Given my understanding of NSSecureCoding's implications/promises, I'm thinking NSColor and NSImage may have nothing to gain by implementing that protocol. Perhaps the (current) encoded form of those types is only a collection of scalars; object substitution isn't a meaningful concern. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
Personal suggestion, convert colors to strings (you can use any format, but I prefer #RRGGBB., drop the . for opaque color, which is compact and easily understood by humans) and images to PNG data (lossless), then archive. On Jun 17, 2014, at 17:30, Greg Weston gwes...@mac.com wrote: Sean McBride wonders: I was modernizing some of my code to support NSSecureCoding instead of just NSCoding and stumbled upon that fact that NSColor and NSImage support only NSCoding and not NSSecureCoding. Whereas NSURL, NSData, NSArray and countless others now support NSSecureCoding. Is it just that Apple hasn't gotten around to NSColor and NSImage, or is there some rationale I'm not seeing? Given my understanding of NSSecureCoding's implications/promises, I'm thinking NSColor and NSImage may have nothing to gain by implementing that protocol. Perhaps the (current) encoded form of those types is only a collection of scalars; object substitution isn't a meaningful concern. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com This email sent to xcvi...@me.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Color closest to color
Hi all, Is there a way of identifying the closest match to a given NSColor, out of a list of possible colors to match? The user could have selected any color using the color picker, but I would like to know whether it is approximately red, green, blue or white. Of course, it might be e.g. magenta, and not really map well onto one of those four, but I would still be interested in knowing the best guess. It struck me that there might be an API for that, but I couldn't immediately find one. I could probably come up with a way of doing this myself, but thought I'd see if there was anything out there already. Cheers Jonny. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
One easy-to-implement method: colour cube. Define a colour using its RGB values as a 3-tuple (r, g, b) and standard colours (ri, gi, bi) (where i = 0..n).The square distance between the given colour and a standard colour is (ri-r)^2+(gi-g)^2+(bi-b)^2. You can calculate square distances between the given colour and each of the standard colours, and the one with the minimal squared distance is the best match. Better methods may exist, consult a book on computer vision or fine arts maybe? On Jun 17, 2014, at 18:52, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: Hi all, Is there a way of identifying the closest match to a given NSColor, out of a list of possible colors to match? The user could have selected any color using the color picker, but I would like to know whether it is approximately red, green, blue or white. Of course, it might be e.g. magenta, and not really map well onto one of those four, but I would still be interested in knowing the best guess. It struck me that there might be an API for that, but I couldn't immediately find one. I could probably come up with a way of doing this myself, but thought I'd see if there was anything out there already. Cheers Jonny. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com This email sent to xcvi...@me.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On 17 Jun 2014, at 11:36, Maxthon Chan xcvi...@me.com wrote: Personal suggestion, convert colors to strings (you can use any format, but I prefer #RRGGBB., drop the . for opaque color, which is compact and easily understood by humans) and images to PNG data (lossless), then archive. Probably better to go with full-on HTML colors and just do #RRGGBBAA instead of with the dot. Principle of least surprise and all. Keep in mind that not all colors are RGB. So really, you’d have to first convert to RGB color space and then extract the components. This is of course a slightly lossy conversion. Alternately, you’d probably want to save colors as a dictionary containing the color space name and use -numberOfComponents/-getComponents: to extract the actual color information, and +colorWithColorSpace:components:count: to recreate it. That’d cover everything except image-based +colorWithPatternImage colors, which you’d have to special-case. Alternately, maybe you could use NSColor’s pasteboard support to “copy” and “paste” your colors into a custom pasteboard, then extract the NSData from that. That’d probably be a tad safer in case Apple ever add a new color space that doesn’t have components (like the patterns). Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
On 17 Jun 2014, at 10:55, Jean-Daniel Dupas mail...@xenonium.com wrote: That's probably a Launchpad icon caching issue. I don't know where it used to cache icons though. I’ve seen such issues with beta versions of Mac OS that are out there right now. That wouldn’t be the case for you, would it? I also occasionally get it when a Mac has been running for quite a while (weeks or months with only “sleep” in between). Usually a restart fixes it again, so it’s probably an OS X bug. In general, if anything in your Info.plist that is correct doesn’t work, a good idea is to zip the application, delete the original, then unzip it again. This apparently causes it to be deleted from the OS’s databases, and when unzipped it gets re-added, and that usually eliminates any iffiness on the OS’s part (like the OS having added your app to the database while Xcode was still building, which means it worked with an incomplete app). Cheers, -- Uli Kusterer “The Witnesses of TeachText are everywhere...” http://zathras.de ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On 17 Jun 2014, at 9:33 am, Sean McBride s...@rogue-research.com wrote: NSImage support only NSCoding You don't want to be archiving NSImage objects if you can help it, FWIW. Some variants don't even support it, like the one you get from the IKPictureTaker. --Graham ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
On 17 Jun, 2014, at 8:06 pm, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 17 Jun 2014, at 10:55, Jean-Daniel Dupas mail...@xenonium.com wrote: That's probably a Launchpad icon caching issue. I don't know where it used to cache icons though. I’ve seen such issues with beta versions of Mac OS that are out there right now. That wouldn’t be the case for you, would it? Nope - this is good ol 10.9.latest I also occasionally get it when a Mac has been running for quite a while (weeks or months with only “sleep” in between). Usually a restart fixes it again, so it’s probably an OS X bug. Restart fairly often, so not that I think. In general, if anything in your Info.plist that is correct doesn’t work, a good idea is to zip the application, delete the original, then unzip it again. This apparently causes it to be deleted from the OS’s databases, and when unzipped it gets re-added, and that usually eliminates any iffiness on the OS’s part (like the OS having added your app to the database while Xcode was still building, which means it worked with an incomplete app). I did better, I deleted the application entirely, checked it wasn't in Applications for the Launchpad, it was not, then re-installed it from the installer which put it back in Applications, with an icon and back in the launchpad .. without one still. Launchpad doesn't like my app. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
Try it after building after changing the bundle identifier. Then the OS will see it as a different app. Sent from my iPhone On 2014/06/17, at 21:19, Roland King r...@rols.org wrote: Applications for the Launchpad, it was not, then re-installed it from the installer which put it back in Applications, with an icon and back in the launchpad .. without one still. Launchpad doesn't like my app. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
On Jun 17, 2014, at 06:43:54, Maxthon Chan xcvi...@me.com wrote: One easy-to-implement method: colour cube. Define a colour using its RGB values as a 3-tuple (r, g, b) and standard colours (ri, gi, bi) (where i = 0..n).The square distance between the given colour and a standard colour is (ri-r)^2+(gi-g)^2+(bi-b)^2. You can calculate square distances between the given colour and each of the standard colours, and the one with the minimal squared distance is the best match. The algorithm I've seen then takes the square root of that value. -- Steve Mills office: 952-818-3871 home: 952-401-6255 ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
Square rooting is slow, and not calculating square root do not throw off comparison. On Jun 17, 2014, at 21:14, Mills, Steve smi...@makemusic.com wrote: On Jun 17, 2014, at 06:43:54, Maxthon Chan xcvi...@me.com wrote: One easy-to-implement method: colour cube. Define a colour using its RGB values as a 3-tuple (r, g, b) and standard colours (ri, gi, bi) (where i = 0..n).The square distance between the given colour and a standard colour is (ri-r)^2+(gi-g)^2+(bi-b)^2. You can calculate square distances between the given colour and each of the standard colours, and the one with the minimal squared distance is the best match. The algorithm I've seen then takes the square root of that value. -- Steve Mills office: 952-818-3871 home: 952-401-6255 signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
On Jun 17, 2014, at 7:14 AM, Mills, Steve smi...@makemusic.com wrote: The algorithm I've seen then takes the square root of that value. If the square root of a is larger than the square root of b, then a is larger than b ;-) (In this case a b will both be positive.) -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
RGB is not perceptually uniform, hence the Euclidean distance is not quite right. Wikipedia and Stackoverflow has more information on this: http://en.wikipedia.org/wiki/Color_difference http://stackoverflow.com/questions/9018016/how-to-compare-two-colors cheers, Torsten ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
I know, it is just sqared Euclidean distance is simplest to calculate. Sure you can, for example, add coefficients to the formula, to adjust. On Jun 17, 2014, at 21:22, Torsten Curdt tcu...@vafer.org wrote: RGB is not perceptually uniform, hence the Euclidean distance is not quite right. Wikipedia and Stackoverflow has more information on this: http://en.wikipedia.org/wiki/Color_difference http://stackoverflow.com/questions/9018016/how-to-compare-two-colors cheers, Torsten signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
Alternatively I have an idea based on HSB colours: difference in hue in radians raised to 4th power (or 6th) plus squared Euclidean distance of saturation and brightness. On Jun 17, 2014, at 21:22, Torsten Curdt tcu...@vafer.org wrote: RGB is not perceptually uniform, hence the Euclidean distance is not quite right. Wikipedia and Stackoverflow has more information on this: http://en.wikipedia.org/wiki/Color_difference http://stackoverflow.com/questions/9018016/how-to-compare-two-colors cheers, Torsten signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
Thanks everyone. I had thought there might be a pre-existing API that would do this (I was half expecting to find a method defined for the NSColorList class...), but I will implement the euclidean distance test myself... Cheers Jonny. On 17 Jun 2014, at 12:43, Maxthon Chan xcvi...@me.com wrote: One easy-to-implement method: colour cube. Define a colour using its RGB values as a 3-tuple (r, g, b) and standard colours (ri, gi, bi) (where i = 0..n).The square distance between the given colour and a standard colour is (ri-r)^2+(gi-g)^2+(bi-b)^2. You can calculate square distances between the given colour and each of the standard colours, and the one with the minimal squared distance is the best match. Better methods may exist, consult a book on computer vision or fine arts maybe? On Jun 17, 2014, at 18:52, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: Hi all, Is there a way of identifying the closest match to a given NSColor, out of a list of possible colors to match? The user could have selected any color using the color picker, but I would like to know whether it is approximately red, green, blue or white. Of course, it might be e.g. magenta, and not really map well onto one of those four, but I would still be interested in knowing the best guess. It struck me that there might be an API for that, but I couldn't immediately find one. I could probably come up with a way of doing this myself, but thought I'd see if there was anything out there already. Cheers Jonny. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com This email sent to xcvi...@me.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
you may wish to look up ‘Delta E’. [what has this to do w/ cocoa?] On Jun 17, 2014, at 9:29 AM, Maxthon Chan xcvi...@me.com wrote: Alternatively I have an idea based on HSB colours: difference in hue in radians raised to 4th power (or 6th) plus squared Euclidean distance of saturation and brightness. On Jun 17, 2014, at 21:22, Torsten Curdt tcu...@vafer.org wrote: RGB is not perceptually uniform, hence the Euclidean distance is not quite right. Wikipedia and Stackoverflow has more information on this: http://en.wikipedia.org/wiki/Color_difference http://stackoverflow.com/questions/9018016/how-to-compare-two-colors cheers, Torsten ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/etaffel%40me.com This email sent to etaf...@me.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
Once again, you don’t need to perform the square root before comparing. It is a waste of processor resource and not doing ti will not throw off comparison (since mathematically, square root function is moronically increasing.) On Jun 17, 2014, at 22:02, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: Thanks everyone. I had thought there might be a pre-existing API that would do this (I was half expecting to find a method defined for the NSColorList class...), but I will implement the euclidean distance test myself... Cheers Jonny. On 17 Jun 2014, at 12:43, Maxthon Chan xcvi...@me.com wrote: One easy-to-implement method: colour cube. Define a colour using its RGB values as a 3-tuple (r, g, b) and standard colours (ri, gi, bi) (where i = 0..n).The square distance between the given colour and a standard colour is (ri-r)^2+(gi-g)^2+(bi-b)^2. You can calculate square distances between the given colour and each of the standard colours, and the one with the minimal squared distance is the best match. Better methods may exist, consult a book on computer vision or fine arts maybe? On Jun 17, 2014, at 18:52, Jonathan Taylor jonathan.tay...@glasgow.ac.uk wrote: Hi all, Is there a way of identifying the closest match to a given NSColor, out of a list of possible colors to match? The user could have selected any color using the color picker, but I would like to know whether it is approximately red, green, blue or white. Of course, it might be e.g. magenta, and not really map well onto one of those four, but I would still be interested in knowing the best guess. It struck me that there might be an API for that, but I couldn't immediately find one. I could probably come up with a way of doing this myself, but thought I'd see if there was anything out there already. Cheers Jonny. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com This email sent to xcvi...@me.com signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On Tue, 17 Jun 2014 09:17:46 +0100, Mike Abdullah said: I suspect the rationale might be “NSColor and NSImage live in AppKit, not Foundation, and the AppKit engineers aren’t so bothered about secure coding That's a good theory. So I just looked through Foundation and found numerous other clases that only conform to NSCoding and not NSSecureCoding like NSAffineTransform, NSAttributedString, NSCharacterSet, etc. I guess I should conclude that NSSecureCoding is not a general replacement for NSCoding and only really meant for XPC, and that Apple hasn't found much use for sending those kinds of objects between processes. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On 17 Jun 2014, at 15:50, Sean McBride s...@rogue-research.com wrote: On Tue, 17 Jun 2014 09:17:46 +0100, Mike Abdullah said: I suspect the rationale might be “NSColor and NSImage live in AppKit, not Foundation, and the AppKit engineers aren’t so bothered about secure coding That's a good theory. So I just looked through Foundation and found numerous other clases that only conform to NSCoding and not NSSecureCoding like NSAffineTransform, NSAttributedString, NSCharacterSet, etc. I guess I should conclude that NSSecureCoding is not a general replacement for NSCoding and only really meant for XPC, and that Apple hasn't found much use for sending those kinds of objects between processes. Ah, it was a nice theory, but no more than a theory then. Oh well! I think your analysis about it coming down to XPC is probably nearer the mark. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSCoding vs NSSecureCoding
On Jun 17, 2014, at 8:00 AM, Mike Abdullah mabdul...@karelia.com wrote: On 17 Jun 2014, at 15:50, Sean McBride s...@rogue-research.com wrote: On Tue, 17 Jun 2014 09:17:46 +0100, Mike Abdullah said: I suspect the rationale might be “NSColor and NSImage live in AppKit, not Foundation, and the AppKit engineers aren’t so bothered about secure coding That's a good theory. So I just looked through Foundation and found numerous other clases that only conform to NSCoding and not NSSecureCoding like NSAffineTransform, NSAttributedString, NSCharacterSet, etc. I guess I should conclude that NSSecureCoding is not a general replacement for NSCoding and only really meant for XPC, and that Apple hasn't found much use for sending those kinds of objects between processes. Ah, it was a nice theory, but no more than a theory then. Oh well! I think your analysis about it coming down to XPC is probably nearer the mark. The main purpose for secure coding is for NSXPCConnection, but NSKeyedArchiver and NSKeyedUnarchiver also support secure coding as of 10.9. In “regular” coding, the name of the class that is created is stored in the archive and the unarchiver trusts it when it goes to allocate it during decoding. In secure coding, the name of the class is in the archive, but since the decoder also specifies a class as an argument (to -decodeObjectOfClass:forKey:), the decoder can double-check that the class in the archive is something that the caller expects. There is actually series of checks performed here. By adopting the NSSecureCoding protocol, a class is declaring that not only has it switched to specifying classes when it decodes (again, with -decodeObjectOfClass:forKey:) but that the initWithCoder: method has been audited for other kinds of security risks as well. So we didn’t automatically upgrade all NSCoding classes to NSSecureCoding because we wanted to make sure that they were (a) appropriate for sending across a security boundary in the first place and (b) safe to do so. The framework in which a class lives is not really a factor in determining if it should adopt NSSecureCoding or not. If you run into a class which you wish adopted secure coding, then please file a bug. We do already have plenty of requests for NSColor, NSImage, and NSAttributedString. - Tony ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
On Jun 17, 2014, at 5:36 AM, dangerwillrobinsondan...@gmail.com wrote: Try it after building after changing the bundle identifier. Then the OS will see it as a different app. Try bumping the bundle version first. Often the bundle name can't be changed. --Kyle Sluder ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
On Jun 16, 2014, at 8:35 PM, Roland King r...@rols.org wrote: My OSX app has an icon. It shows in the dock when active, it shows on Alt-Tab, it shows in the Applications folder, however in Launchpad I get the generic OSX Application Icon. As the previous reply said, it might be a caching issue. Try logging out and logging back in to see if that resolves the issue (I have to do this when developing HelpBooks for an application). At times I’ve rebooted my system as well just to make sure caches were cleared. Todd signature.asc Description: Message signed with OpenPGP using GPGMail ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
how can I get info from vec_ycc_bgrx_convert crash?
I've got lots of crash like this below: Thread : Crashed: com.apple.main-thread 0 ImageIO0x30c808fc vec_ycc_bgrx_convert + 427 1 ???0x27d440d0 2 ImageIO0x30c80707 sep_upsample + 170 3 ImageIO0x30cc3dfb process_data_simple_main + 94 4 ImageIO0x30c7f5df _cg_jpeg_read_scanlines + 82 5 ImageIO0x30c7d6f7 copyImageBlockSetJPEG + 3262 6 ImageIO0x30c66779 ImageProviderCopyImageBlockSetCallback + 528 7 CoreGraphics 0x2ffa347d CGImageProviderCopyImageBlockSetWithOptions + 136 8 QuartzCore 0x323eef59 CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int) + 680 9 QuartzCore 0x323ee409 CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double) + 292 10 QuartzCore 0x323c766d -[CALayer(CALayerPrivate) _copyRenderLayer:layerFlags:commitFlags:] + 484 11 QuartzCore 0x323c7481 CA::Layer::copy_render_layer(CA::Transaction*, unsigned int, unsigned int*) + 32 12 QuartzCore 0x323c741b CA::Context::commit_layer(CA::Layer*, unsigned int, unsigned int, void*) + 94 13 QuartzCore 0x323c43fb CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 314 14 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 15 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 16 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 17 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 18 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 19 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 20 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 21 QuartzCore 0x323c4399 CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 216 22 QuartzCore 0x323c2719 CA::Context::commit_transaction(CA::Transaction*) + 1048 23 QuartzCore 0x323c21f7 CA::Transaction::commit() + 314 24 UIKit 0x329ac2c9 _UIWindowUpdateVisibleContextOrder + 208 25 UIKit 0x329ac15d +[UIWindow _prepareWindowsPassingTestForAppResume:] + 16 26 UIKit 0x32951539 -[UIApplication _handleApplicationResumeEvent:] + 76 27 UIKit 0x32750613 -[UIApplication handleEvent:withNewEvent:] + 1882 28 UIKit 0x3274fdf9 -[UIApplication sendEvent:] + 72 29 UIKit 0x327b4405 _UIApplicationHandleEvent + 616 30 GraphicsServices 0x34dbdb55 _PurpleEventCallback + 608 31 GraphicsServices 0x34dbd73f PurpleEventCallback + 34 32 CoreFoundation 0x2fee6847 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34 33 CoreFoundation 0x2fee67e3 __CFRunLoopDoSource1 + 346 34 CoreFoundation 0x2fee4faf __CFRunLoopRun + 1406 35 CoreFoundation 0x2fe4f769 CFRunLoopRunSpecific + 524 36 CoreFoundation 0x2fe4f54b CFRunLoopRunInMode + 106 37 GraphicsServices 0x34dbc6d3 GSEventRunModal + 138 38 UIKit 0x327ae891 UIApplicationMain + 1136 39 myApp 0x001cedd9 main (main.m:26) I can know only that some jpeg files are wrong to render on screen, but how can I know which one or where the crash happed? The common backtrace is from CA::Layer::commit_if_needed to vec_ycc_bgrx_convert. I've got lots of crash logs from user, but I can't reproduce it, anyone can help? ___ 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:
Dictionaries or custom class containing no methods?
I need to store a large collection of settings (not application preferences, but parameters describing how complex data is to be displayed) and am looking for pros/cons as to the best way. At the top I have a class called MySettings. Within this I need to have groups of related settings. They can either be NSMutableDictionary or a custom class containing properties, but no methods. @interface MySettings : NSObject { MySettingsAppearance*appearance; // size, graphic style etc. MySettingsColors*colors; // colors for different elements MySettingsLocations* locations; // array of data ... About 8 more like these ... } In this way I could do something like: [[settings appearance] width] [[settings colors] centerline] [[[settings locations] allLocations] objectAtIndex:i] Alternatively I could do: @interface MySettings : NSObject { NSMutableDictionary*appearance; // size, graphic style etc. NSMutableDictionary*colors; // colors for different elements NSMutableDictionary*locations; // array of data ... About 8 more like these ... } [[settings appearance] objectForKey:kSettingsAppearanceWidth] [[settings colors] objectForKey:kSettingsColorCenterline] [[[settings locations] objectForKey:kSettingsLocationsAll] objectAtIndex:i] All the data in the dictionaries (or custom property-only classes) will be standard types: NSNumber, NSData, NSString, NSColor (which will have to be archived to convert it to NSData for saving). Thoughts on the pros and cons of both methods? It feels weird to create a class that has zero methods (other than getters/setters). Thanks, Trygve ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dictionaries or custom class containing no methods?
Doesn't seem weird to me, I do it all the time. One advantage of using a custom class over a dictionary is that the compiler knows what's expected of it, while a dictionary is just a black box. On Jun 17, 2014, at 3:21 PM, Trygve Inda wrote: I need to store a large collection of settings (not application preferences, but parameters describing how complex data is to be displayed) and am looking for pros/cons as to the best way. At the top I have a class called MySettings. Within this I need to have groups of related settings. They can either be NSMutableDictionary or a custom class containing properties, but no methods. @interface MySettings : NSObject { MySettingsAppearance*appearance; // size, graphic style etc. MySettingsColors*colors; // colors for different elements MySettingsLocations* locations; // array of data ... About 8 more like these ... } In this way I could do something like: [[settings appearance] width] [[settings colors] centerline] [[[settings locations] allLocations] objectAtIndex:i] Alternatively I could do: @interface MySettings : NSObject { NSMutableDictionary*appearance; // size, graphic style etc. NSMutableDictionary*colors; // colors for different elements NSMutableDictionary*locations; // array of data ... About 8 more like these ... } [[settings appearance] objectForKey:kSettingsAppearanceWidth] [[settings colors] objectForKey:kSettingsColorCenterline] [[[settings locations] objectForKey:kSettingsLocationsAll] objectAtIndex:i] All the data in the dictionaries (or custom property-only classes) will be standard types: NSNumber, NSData, NSString, NSColor (which will have to be archived to convert it to NSData for saving). Thoughts on the pros and cons of both methods? It feels weird to create a class that has zero methods (other than getters/setters). Thanks, Trygve ___ 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: https://urldefense.proofpoint.com/v1/url?u=https://lists.apple.com/mailman/options/cocoa-dev/lrucker%2540vmware.comk=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0Ar=yJFJhaNnTZDfFSSz1U9TSNMmxGyib3KjZGuKfIhHLxA%3D%0Am=0WilBCnsowzp%2FdQ4L4RWeeHju%2FtkFlg998wjBlKNrzQ%3D%0As=35ee4fc7f8e133c7ca5f5c74da398a3ba1d7eee98ca41bcaadc1387cd9929aee This email sent to lruc...@vmware.com ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dictionaries or custom class containing no methods?
On Jun 17, 2014, at 15:21 , Trygve Inda cocoa...@xericdesign.com wrote: Thoughts on the pros and cons of both methods? I strongly agree with Lee Ann that the custom class is a better approach. It almost always happens that you (eventually) want to associate behavior with the properties. There can also be issues trying to use bindings and KVO on values stored in a dictionary, when the relationship between the values and the UI gets more complex. I always find myself rewriting quickie dictionaries as classes, and swearing not to take the shortcut next time. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dictionaries or custom class containing no methods?
Doesn't seem weird to me, I do it all the time. One advantage of using a custom class over a dictionary is that the compiler knows what's expected of it, while a dictionary is just a black box. On Jun 17, 2014, at 3:21 PM, Trygve Inda wrote: I need to store a large collection of settings (not application preferences, but parameters describing how complex data is to be displayed) and am looking for pros/cons as to the best way. At the top I have a class called MySettings. Within this I need to have groups of related settings. They can either be NSMutableDictionary or a custom class containing properties, but no methods. @interface MySettings : NSObject { MySettingsAppearance*appearance; // size, graphic style etc. MySettingsColors*colors; // colors for different elements MySettingsLocations* locations; // array of data ... About 8 more like these ... } Would you use a class-naming scheme like I have outlined? Trygve ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dictionaries or custom class containing no methods?
On Jun 17, 2014, at 4:16 PM, Trygve Inda wrote: Doesn't seem weird to me, I do it all the time. One advantage of using a custom class over a dictionary is that the compiler knows what's expected of it, while a dictionary is just a black box. On Jun 17, 2014, at 3:21 PM, Trygve Inda wrote: I need to store a large collection of settings (not application preferences, but parameters describing how complex data is to be displayed) and am looking for pros/cons as to the best way. At the top I have a class called MySettings. Within this I need to have groups of related settings. They can either be NSMutableDictionary or a custom class containing properties, but no methods. @interface MySettings : NSObject { MySettingsAppearance*appearance; // size, graphic style etc. MySettingsColors*colors; // colors for different elements MySettingsLocations* locations; // array of data ... About 8 more like these ... } Would you use a class-naming scheme like I have outlined? It looks overly generic to me, but I assume you simplified it for the list, especially since you said your main class was already MySettings :) When it's associated with another class like that, I'd do something like use the owning class (MySettings) as a prefix - so maybe MySettingsConfiguration. But then a lot of time I'm using this for C++ structs, so foo::Bar::Struct becomes MyFooBarStruct (namespaces! So awesome! But I guess we aren't ever getting them for Cocoa now :( ) ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dictionaries or custom class containing no methods?
On Jun 17, 2014, at 4:16 PM, Trygve Inda wrote: Doesn't seem weird to me, I do it all the time. One advantage of using a custom class over a dictionary is that the compiler knows what's expected of it, while a dictionary is just a black box. On Jun 17, 2014, at 3:21 PM, Trygve Inda wrote: I need to store a large collection of settings (not application preferences, but parameters describing how complex data is to be displayed) and am looking for pros/cons as to the best way. At the top I have a class called MySettings. Within this I need to have groups of related settings. They can either be NSMutableDictionary or a custom class containing properties, but no methods. @interface MySettings : NSObject { MySettingsAppearance*appearance; // size, graphic style etc. MySettingsColors*colors; // colors for different elements MySettingsLocations* locations; // array of data ... About 8 more like these ... } Would you use a class-naming scheme like I have outlined? It looks overly generic to me, but I assume you simplified it for the list, especially since you said your main class was already MySettings :) When it's associated with another class like that, I'd do something like use the owning class (MySettings) as a prefix - so maybe MySettingsConfiguration. But then a lot of time I'm using this for C++ structs, so foo::Bar::Struct becomes MyFooBarStruct (namespaces! So awesome! But I guess we aren't ever getting them for Cocoa now :( ) Yup... I am using MySettings as a prefix, but of course the real class name is different... Just that I am using the main class name as a prefix for all the other (8 or so) classes that form a part of it. Seems much better to group related ones like this than to try shoving everything into the main MySetting class. Trygve ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Color closest to color
On 18 Jun 2014, at 12:04 am, Maxthon Chan xcvi...@me.com wrote: moronically :) monotonically? But maybe both are true! --Graham ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: app icon for Launchpad
On 18 Jun, 2014, at 12:15 am, Todd Heberlein todd_heberl...@mac.com wrote: On Jun 16, 2014, at 8:35 PM, Roland King r...@rols.org wrote: My OSX app has an icon. It shows in the dock when active, it shows on Alt-Tab, it shows in the Applications folder, however in Launchpad I get the generic OSX Application Icon. As the previous reply said, it might be a caching issue. Try logging out and logging back in to see if that resolves the issue (I have to do this when developing HelpBooks for an application). At times I’ve rebooted my system as well just to make sure caches were cleared. Todd We talked about rebooting earlier in the thread, that's long-since done, and there's a bundle version bump too with this build so that's done as well. Apart from that I just grabbed my wife's laptop which hasn't ever seen this app and hasn't even been turned on in 6 months, installed the app from the installer and .. there's no icon on Launchpad. I just rebuilt the Image catalog from scratch, same png files, same slots, new catalog, deleted the old one, pointed the app at the new one, now it seems to be working. I can only assume the old one was somehow corrupted. ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Bindings setup with NSCollectionViews
Hi all I am having trouble getting the master-detail binding configuration setup correctly. I've sat down far too many hours trying to debug this and I hope anyone can give me a hint on how to solve this issue. The full problem description can be found already at http://stackoverflow.com/questions/24190299/nscollectionview-master-detail-binding-configuration Thank you -- Med vänliga hälsningar / Best Regards Hajder ___ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com