Re: Mac OS X - Inter-Application Communications

2015-03-05 Thread Dave
Hi, I’m really confused as it what type of a Application I need to create, from reading the Daemons and Services Programming Guide, it lists: Login Item. XPC Service. Launch Daemon. Lauch Agent. On the face of it, a LogIn Item seems to be what i am looking for, but its unclear (at least to

Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing

2015-03-05 Thread Jens Alfke
On Mar 5, 2015, at 9:30 AM, Jon Baumgartner j...@bergenstreetsoftware.com wrote: That bug has gotten no response whatsoever from Apple. Any advice on how to proceed? I wouldn’t expect a response from Apple in ‘only’ a month, except perhaps to notify you that it’s a duplicate. If they

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 10:32 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: Er, what exactly was bound to what? In the cell-based table, the table's (sole) column's Font Size is bound to the shared user defaults controller with a Controller Key of values and Model Key Path of

Re: Bindings in view-based tables

2015-03-05 Thread Quincey Morris
On Mar 5, 2015, at 15:20 , Shane Stanley sstan...@myriad-com.com.au wrote: The same value was used via bindings to set the Font Size in the table. Er, what exactly was bound to what? In the view-based version, the text field would typically be bound to ‘objectValue.something’ (or possibly

Re: Bindings in view-based tables

2015-03-05 Thread Quincey Morris
On Mar 5, 2015, at 17:06 , Ken Thomases k...@codeweavers.com wrote: Unfortunately, the solution is clumsy. You have to use a separate view NIB for the table cell view. That means you can't really design the view-based table in the NIB that contains the table view. The table view is in

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 12:06 pm, Ken Thomases k...@codeweavers.com wrote: It seems you can't delete the cell view that's under the table column in the first NIB. It also seems that the row height is based on its height. -- Shane Stanley sstan...@myriad-com.com.au

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 4:25 pm, Ken Thomases k...@codeweavers.com wrote: So you're saying it's a bug? I think the bug is that IB hides the existence of the sub-NIB. If IB presented the sub-NIB with all of the usual placeholders and put a Shared User Defaults Controller into it when you set a

Re: Mac OS X - Inter-Application Communications

2015-03-05 Thread Kevin Meaney
On 5 Mar 2015, at 19:29, Dave d...@looktowindward.com wrote: Hi, I’m really confused as it what type of a Application I need to create, from reading the Daemons and Services Programming Guide, it lists: Login Item. XPC Service. Launch Daemon. Lauch Agent. On the face of it, a

Bindings in view-based tables

2015-03-05 Thread Shane Stanley
I'm converting a cell-based table to a view-based table in an old project. It contains a pair of buttons, Big and Small, that set a value in user defaults to 13 or 11. The same value was used via bindings to set the Font Size in the table. It worked fine with a cell-based table, but I'm having

Re: Bindings in view-based tables

2015-03-05 Thread Quincey Morris
On Mar 5, 2015, at 16:09 , Shane Stanley sstan...@myriad-com.com.au wrote: In the cell-based table, the table's (sole) column's Font Size is bound to the shared user defaults controller with a Controller Key of values and Model Key Path of tableTextSize. The buttons are in a radio group,

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 12:06 pm, Ken Thomases k...@codeweavers.com wrote: I _think_ connections to File's Owner are restored when the cell view NIB is loaded, but the File's Owner of the sub-NIB may not be the same as the File's Owner of the outer NIB. It may not even be the same class. It may

Re: Bindings in view-based tables

2015-03-05 Thread Shane Stanley
On 6 Mar 2015, at 11:42 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: Are you sure that the user defaults are being maintained properly? Does choosing from the radio buttons actually change the user defaults? Is the text field size getting set “manually” from somewhere else

Re: NSWorkSpace performFileOperation (a)synchronousness

2015-03-05 Thread Jens Alfke
On Mar 5, 2015, at 2:36 AM, Aandi Inston aa...@quite.com wrote: My question relates to asynchronousness (is that a word)? It looks like a synchronous method as it returns a success or failure. But the documentation says of the tag variable a positive integer if the operation was performed

Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing

2015-03-05 Thread Jon Baumgartner
That bug has gotten no response whatsoever from Apple. Any advice on how to proceed? On Feb 4, 2015, at 1:19 PM, Jon Baumgartner j...@bergenstreetsoftware.com wrote: I filed a radar: rdar://19716583 On 1/29/2015 10:55 AM, Kyle Sluder wrote: Even in a sandbox, you can get the user’s

Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing

2015-03-05 Thread Steve Mills
On Mar 5, 2015, at 11:30:01, Jon Baumgartner j...@bergenstreetsoftware.com wrote: That bug has gotten no response whatsoever from Apple. Any advice on how to proceed? On Feb 4, 2015, at 1:19 PM, Jon Baumgartner j...@bergenstreetsoftware.com wrote: I filed a radar: rdar://19716583

Re: NSString stringByAbbreviatingWithTildeInPath and Sandboxing

2015-03-05 Thread Kyle Sluder
On Thu, Mar 5, 2015, at 11:30 AM, Jon Baumgartner wrote: That bug has gotten no response whatsoever from Apple. Any advice on how to proceed? Patience. :) Internal activity on a bug is rarely reflected to the external developer, unless they need to verify the fix or provide additional

NSWorkSpace performFileOperation (a)synchronousness

2015-03-05 Thread Aandi Inston
have a requirement to copy files from my Mac OS app. I find: success=[NSWorkSpace performFileOperation:NSWorkSpaceCopyOperation source:nsstring* // source directory path destination:nsstring* // target directory path file:nsarray* // nsstring array containing short paths of files or

Re: Bindings in view-based tables

2015-03-05 Thread Graham Cox
On 6 Mar 2015, at 4:25 pm, Ken Thomases k...@codeweavers.com wrote: So you're saying it's a bug? I think the bug is that IB hides the existence of the sub-NIB. If IB presented the sub-NIB with all of the usual placeholders and put a Shared User Defaults Controller into it when you set

Re: Bindings in view-based tables

2015-03-05 Thread Ken Thomases
On Mar 5, 2015, at 6:09 PM, Shane Stanley sstan...@myriad-com.com.au wrote: On 6 Mar 2015, at 10:32 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: Er, what exactly was bound to what? In the cell-based table, the table's (sole) column's Font Size is bound to the shared

Re: Bindings in view-based tables

2015-03-05 Thread Ken Thomases
On Mar 5, 2015, at 8:15 PM, Shane Stanley sstan...@myriad-com.com.au wrote: On 6 Mar 2015, at 12:06 pm, Ken Thomases k...@codeweavers.com wrote: I _think_ connections to File's Owner are restored when the cell view NIB is loaded, but the File's Owner of the sub-NIB may not be the same as