The joy of unexpected SIGABRTs

2012-09-28 Thread Alex Zavatone
I'm trying to get a rather important demo together and plan on being up all night again, so pleas pardon me if my brain power appears lacking. About 10 mins ago, before I started wiring up my GUI by simply dragging storyboard items into the .h file to make IBOutlets my app ran and displayed fin

Re: Shared NSNumberFormatters

2012-09-28 Thread Samuel Williams
Binding the formatter's currencyCode worked brilliantly and lets me reuse almost all the existing NIBs without change. Thanks =) On 29 September 2012 02:28, Sean McBride wrote: > On Sat, 29 Sep 2012 01:37:58 +1200, Samuel Williams said: > > >Hi Friends, > > > >I have an application that is curre

Re: NSPredicate / NSArray addObserver:forKeyPath:options:context: exception

2012-09-28 Thread Mikkel Eide Eriksen
On 28/09/2012, at 03.51, Keary Suska wrote: > On Sep 27, 2012, at 11:54 AM, Mikkel Eide Eriksen wrote: >> >> When I run my app, I get an exception (quoted below) as soon as I expose my >> objects to my array controller (via a property on my document it's bound >> to), though as far as I can tel

Re: Spotlight and Quick Look plugin behaviour change on OS X 10.8

2012-09-28 Thread jonat...@mugginsoft.com
On 28 Sep 2012, at 10:02, jonat...@mugginsoft.com wrote: > My app uses a bundled Spotlight importer plugin and a Quick Look plugin. > > Pre 10.8 when the app is installed the 2 plugins are active immediately after > application installation. > I rely on Spotlight to index data files that I expor

Re: KVO Question: How to programmatically determine if one object is observing another on a keyPath and context?

2012-09-28 Thread Richard Somers
On Sep 11, 2012, at 10:06 AM, Motti Shneor wrote: > OK. Could you spare some pseudo-code for this? Or some link to a known > code-sample? or maybe some 10 highlight lines from your own utilities? > > Documentation on method swizzling isn't that easy to use. In my case, all I > need to do is to

Re: Registering iOS developer program

2012-09-28 Thread Fritz Anderson
On 28 Sep 2012, at 12:22 AM, kiran kumar wrote: > For registering iOS developer program, is same cost $99 for individual and > company. Assuming you mean for distribution through the App Store, yes. — F ___ Cocoa-dev mailing list (Cocoa-de

Re: Shared NSNumberFormatters

2012-09-28 Thread Sean McBride
On Sat, 29 Sep 2012 01:37:58 +1200, Samuel Williams said: >Hi Friends, > >I have an application that is currency using multiple NSNumberFormatters. > >Now a requirement has come up to support a per-document currency code. > >I have about 10 NIB files and the most complex NIB files have about 10-15

Re: Need some clarity about iOS developer Registration.

2012-09-28 Thread The Rhythmic
Sorry, my answer was that it supports devices i.e. iphone, ipod, ipad (upto 100). (not a PC, of course!) On Fri, Sep 28, 2012 at 4:34 AM, wrote: > Since when does iOS or the Mac OS run on a PC? > > Sent from my Verizon Wireless BlackBerry > > -Original Message- > From: kiran kumar > Se

Notification Center settings

2012-09-28 Thread Dragan Milić
Hi all, Is there any API (or any other way) to read user settings for the Notification Center in OS X 10.8 (e.g. whether user notifications are enabled for a particular application)? The only thing I can find is some kind of database (.db) file located in the "~/Library/Application Support/Noti

Shared NSNumberFormatters

2012-09-28 Thread Samuel Williams
Hi Friends, I have an application that is currency using multiple NSNumberFormatters. Now a requirement has come up to support a per-document currency code. I have about 10 NIB files and the most complex NIB files have about 10-15 fields using per-NIB file formatters connected to fields using ou

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Joe Wollard
On Sep 28, 2012, at 8:51 AM, Dave Keck wrote: >> I'd like to observe a notification when a user edits (renames) an item in >> the outline view that tells me the old and new values. I'm getting >> notifications, but the old and new values are always null. For what it's >> worth, I'm currently

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Dave Keck
> I'd like to observe a notification when a user edits (renames) an item in the > outline view that tells me the old and new values. I'm getting notifications, > but the old and new values are always null. For what it's worth, I'm > currently observing the "content.name" key path of the NSTreeCo

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Joe Wollard
On Sep 28, 2012, at 8:33 AM, Alex Zavatone wrote: > > On Sep 27, 2012, at 10:42 PM, Joseph M. Wollard wrote: > >> I'm pretty sure I'm doing something wrong here. I have an NSTreeController >> bound to the 'value' of an NSOutlineView's table column. The >> NSTreeController's content is then b

Re: Proper KVO with NSTreeController + NSOutlineView

2012-09-28 Thread Alex Zavatone
On Sep 27, 2012, at 10:42 PM, Joseph M. Wollard wrote: > I'm pretty sure I'm doing something wrong here. I have an NSTreeController > bound to the 'value' of an NSOutlineView's table column. The > NSTreeController's content is then bound to a property of one of my classes > which feeds it an a

Re: Need some clarity about iOS developer Registration.

2012-09-28 Thread zav
Since when does iOS or the Mac OS run on a PC? Sent from my Verizon Wireless BlackBerry -Original Message- From: kiran kumar Sender: cocoa-dev-bounces+zav=mac.com@lists.apple.comDate: Fri, 28 Sep 2012 12:22:45 To: Cocoa-dev@lists.apple.com List Subject: Need some clarity about iOS deve

Spotlight and Quick Look plugin behaviour change on OS X 10.8

2012-09-28 Thread jonat...@mugginsoft.com
My app uses a bundled Spotlight importer plugin and a Quick Look plugin. Pre 10.8 when the app is installed the 2 plugins are active immediately after application installation. I rely on Spotlight to index data files that I export from the app bundle into ~/Documents When my app is first install