Refreshing an NSTableView with some columns using bindings, others not..

2012-06-14 Thread Robert Monaghan
Hi Everyone, I have a reasonably mixed NSTableView object.. I have some columns bound to my NSArrayController, which drives an NSCell with a Checkbox. I have other Columns which are driven by the traditional delegate calls, so that I can add some logic to change the text color, depending upon t

resolve alias on ios 4

2012-06-14 Thread Ariel Feinerman
Hi, how to resolve alias on ios 4 or earlier? This is unusual one has not got neither CoreServices nor bookmarks . -- best regards Ariel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Refreshing an NSTableView with some columns using bindings, others not..

2012-06-14 Thread Keary Suska
On Jun 14, 2012, at 5:14 AM, Robert Monaghan wrote: > I have a reasonably mixed NSTableView object.. I have some columns bound to > my NSArrayController, which drives an NSCell with a Checkbox. I have other > Columns which are driven by the traditional delegate calls, so that I can add > some l

Re: resolve alias on ios 4

2012-06-14 Thread Mike Abdullah
How are you coming across an alias on iOS 4? On 14 Jun 2012, at 05:00, Ariel Feinerman wrote: > Hi, > > how to resolve alias on ios 4 or earlier? This is unusual one has not got > neither CoreServices nor bookmarks . > > -- > best regards > Ariel > _

Demo Version

2012-06-14 Thread Richard Somers
The Mac App Store guidelines indicates that "Apps that are "beta", "demo", "trial", or "test" versions will be rejected". So if potential customers need to go to my website to download a demo version then I might as well offer the retail version for sale on my website also. Why use the Mac App

Re: Demo Version

2012-06-14 Thread Tim Schröder
.. because otherwise potential customers wouldn't find their way to your website? Tim Am 14.06.2012 um 19:41 schrieb Richard Somers: > The Mac App Store guidelines indicates that "Apps that are "beta", "demo", > "trial", or "test" versions will be rejected". > > So if potential customers nee

Re: [OT] Finite vs Infinite State Machines?

2012-06-14 Thread Dave
On 14 Jun 2012, at 05:12, Graham Cox wrote: On 14/06/2012, at 8:03 AM, Dave wrote: In assembler this would be implemented is using an "Exchange Instruction" to alter the PC on the stack and cause it to return to the correct place once the ASync Task (usually an interrupt) had finished.

Re: Demo Version

2012-06-14 Thread Kyle Sluder
On Jun 14, 2012, at 10:41 AM, Richard Somers wrote: > The Mac App Store guidelines indicates that "Apps that are "beta", "demo", > "trial", or "test" versions will be rejected". > > So if potential customers need to go to my website to download a demo version > then I might as well offer the re

Authorization to copy a file -- is it really that complex?

2012-06-14 Thread Jens Alfke
I've managed to never have to deal with Authorization Services so far in my Cocoa career; until today. Basically I have an app that needs to install some helper tools that the user can run from a shell. (This is a lot like the way TextMate installs the 'mate' tool.) I'm giving a choice of instal

Re: Authorization to copy a file -- is it really that complex?

2012-06-14 Thread Laurent Daudelin
Jens, I understand your pain. I didn't want to go through it either and I finally found BLAuthentication which is a Objective-C wrapper class around the Authorization Services. It's a bit outdated but still works fine for me. It's hard to find a copy somewhere but here is a link: http://blog.l

Re: Authorization to copy a file -- is it really that complex?

2012-06-14 Thread Jens Alfke
Actually I just discovered the listing "Calling A Privileged Installer", which looks like exactly what I want — a page or so of code to run an already-existing system command with root privileges. I think all I need to do is change the command from "id -un" to "ln -s ...". Let me know if I'm ba

Re: Authorization to copy a file -- is it really that complex?

2012-06-14 Thread Jean-Daniel Dupas
Le 14 juin 2012 à 22:39, Jens Alfke a écrit : > I've managed to never have to deal with Authorization Services so far in my > Cocoa career; until today. Basically I have an app that needs to install some > helper tools that the user can run from a shell. (This is a lot like the way > TextMate

Re: Authorization to copy a file -- is it really that complex?

2012-06-14 Thread Charlie Dickman
Laurent, Thanks so much for the links! For me wrapper packages are by far the best tool for understanding Apple's APIs. I used SSCrypto to learn how to use openSSL. On Jun 14, 2012, at 4:56 PM, Laurent Daudelin wrote: > Jens, > > I understand your pain. I didn't want to go through it either an

More PDFView mysteries...

2012-06-14 Thread Matthew Weinstein
Dear Cocoa-Devs, I have an app that works perfectly on snow leopard, it consists of a split view with a pdfview on top, and another view on the bottom. On lion however the pdfview is blank until I resize the window or splitview. I've tried throwing various things at the window in the windowContr

Re: [OT] Finite vs Infinite State Machines?

2012-06-14 Thread Graham Cox
On 15/06/2012, at 3:56 AM, Dave wrote: > > On 14 Jun 2012, at 05:12, Graham Cox wrote: > >> >> On 14/06/2012, at 8:03 AM, Dave wrote: >> >>> In assembler this would be implemented is using an "Exchange Instruction" >>> to alter the PC on the stack and cause it to return to the correct place

Re: Demo Version

2012-06-14 Thread Preston Sumner
On Jun 14, 2012, at 11:41 AM, Richard Somers wrote: > The Mac App Store guidelines indicates that "Apps that are "beta", "demo", > "trial", or "test" versions will be rejected". > > So if potential customers need to go to my website to download a demo version > then I might as well offer the re

Re: More PDFView mysteries...

2012-06-14 Thread Graham Cox
On 15/06/2012, at 8:15 AM, Matthew Weinstein wrote: > It almost feels like the windowControllerDidLoadNib is happening too quickly > (or something). Note what that method literally tells you - the window controller loaded the nib. That doesn't mean that the actual window was instantiated yet

Re: Demo Version

2012-06-14 Thread koko
On Jun 14, 2012, at 6:06 PM, Preston Sumner wrote: >> Why use the Mac App Store? Apple needs its 30 points! -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact th

Re: More PDFView mysteries...

2012-06-14 Thread Matthew Weinstein
That is a problem; I think this is a pdfkit bug, and I need to register it (slowly figuring these things out). What I did to isolate the problem was create a project with a window in which I just dropped a pdfview and pdfthumbview on (didn't even bother to change the sizing. Hardcoded an URL to

Re: More PDFView mysteries...

2012-06-14 Thread Kyle Sluder
On Jun 14, 2012, at 5:08 PM, Graham Cox wrote: > > On 15/06/2012, at 8:15 AM, Matthew Weinstein wrote: > >> It almost feels like the windowControllerDidLoadNib is happening too quickly >> (or something). > > > Note what that method literally tells you - the window controller loaded the > ni

How to override [NSTextField paste:]

2012-06-14 Thread Graham Cox
Is there a way to override the -paste: method of NSTextField, other than subclassing? I have a situation where I want to handle paste for several related text entry fields at once. I have implemented -paste: in the controller for these, but of course it goes to first responder which is the text