Re: iPhone NDA dropped

2008-10-02 Thread Christian Giordano
This is a great news! I hope is not because Apple got too scared of Android :D chr On Wed, Oct 1, 2008 at 4:45 PM, Marc Stibane <[EMAIL PROTECTED]> wrote: > http://developer.apple.com/iphone/program/ > > Will there be an iPhone list or can we post questions here? > > > -- > > In a world without

Re: Drag and drop from NSCollectionView (bug?)

2008-10-02 Thread Matteo Manferdini
That's bad, I need also to call super mouseDown:, to manage selection of the object (visually and into the controller bounded to core data). I also worked a lot on this and it would be a pity to just drop it because I can't use drag and drop (that is fundamental in my app). :( The problem is that N

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Simon Wolf
On 1 Oct 2008, at 18:25, Shawn Protsman wrote: I finally decided to take a dive into Objective-C with Xcode. I'm looking at the iPing example in Hillegass' latest book, Cocoa Programming. iPing works fine as coded in the book. Next, I decided to replace `ping` with a binary I wrote called `

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Stephen J. Butler
On Wed, Oct 1, 2008 at 12:25 PM, Shawn Protsman <[EMAIL PROTECTED]> wrote: > 'Build and Go' compiles clean but upon entering a number, like 1 in > hostField, and then clicking 'Start' results in the 'Debugger Console' going > to gdb. With the above modification, I can return setLaunchPath to > /sbi

Re: Direct use of NSScroller?

2008-10-02 Thread chaitanya pandit
How about using a NSSlider? On 02-Oct-08, at 7:43 AM, James Walker wrote: Is it possible to use a scroller without a scroll view? The first problem is that IB won't let me create an NSScroller that is not embedded in an NSScrollView. I guess I could shrink down the NSScrollView so that y

Re: How to get AirPort Connection Status

2008-10-02 Thread Rashmi Vyshnavi
Thanks for the help.. On Fri, Sep 19, 2008 at 2:15 AM, Bob Clark <[EMAIL PROTECTED]> wrote: > I found this page to be helpful: > > http://developer.apple.com/qa/qa2001/qa1133.html > > It's about the currently-logged in user, but the MyNotificationProc > callback is called for a lot of changes, in

Re: -[NSScanner scanUpToString:stopString:NULL] - 10.3.9 Crash, due Xcode 3.1?

2008-10-02 Thread Karan, Cem (Civ, ARL/CISD)
>Yes, I see what you mean there. It looks suspicious without the rest >of the code. Here is the entire method (without the logging) > >- (BOOL)scanUpToAndThenLeapOverString:(NSString*)stopString >intoString:(NSString**)stringValue { > [self scanUpToString:stopStr

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Joe Keenan
On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote: Here is the project code for the startStopPing method (the relevant part that I think I should change) of iPing: task = [[NSTask alloc] init]; [task setLaunchPath:@"/sbin/ping"]; NSArray *args = [NSArray arrayWithObj

Re: Core Data: Copying and pasting chained entities (Renaud C?roce)

2008-10-02 Thread Renaud Céroce
Hi Daniel, thanks for answering, I guess my question was unclear, so I'm going to sum it up: How do I (with Core Data) implement Copying and pasting within my application ? Your message made me realise that I assumed I had to use the system Pasteboard. But as long as data remains within my appl

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Sherm Pendley
On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]> wrote: > > On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote: > > NSArray *args = [NSArray arrayWithObject:[hostField stringValue]]; >> > > You forgot the nil argument at the end of the array. -arrayWithObject: doesn't need on

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Joe Keenan
On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote: On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]> wrote: On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote: NSArray *args = [NSArray arrayWithObject:[hostField stringValue]]; You forgot the nil argument at the end of t

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Jack Carbaugh
could it be that [hostField stringValue] is not an object ? isn't "stringValue" just a value ? On Oct 2, 2008, at Thu-10 /02 /08-10:06 AM, Joe Keenan wrote: On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote: On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]> wrote: On Oct 1,

Re: Direct use of NSScroller?

2008-10-02 Thread Michael Ash
On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]> wrote: > Is it possible to use a scroller without a scroll view? The first problem > is that IB won't let me create an NSScroller that is not embedded in an > NSScrollView. I guess I could shrink down the NSScrollView so that you o

Re: Cocoa Programming iPing exercise

2008-10-02 Thread j o a r
On Oct 2, 2008, at 8:12 AM, Jack Carbaugh wrote: could it be that [hostField stringValue] is not an object ? isn't "stringValue" just a value ? That doesn't seem likely. In all likelihood the "hostField" variable points to a NSTextField, in which case "stringValue" returns an instance o

Moving file to trash on afp volume

2008-10-02 Thread Laurent Cerveau
Hi I'd like to programmatically mov to trash a file from an afp mounted volume. I have been using NSWorkspace with NSWorkspaceRecycleOperation but it fails (tag returned is -1). Is there a way to get a more exact description of the error? I tried to move to FSPathMoveObjectToTrashSync and

Re: Direct use of NSScroller?

2008-10-02 Thread douglas welton
On Oct 2, 2008, at 11:13 AM, Michael Ash wrote: On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]> wrote: Is it possible to use a scroller without a scroll view? The first problem is that IB won't let me create an NSScroller that is not embedded in an NSScrollView. I guess

getting username of authenticated volume

2008-10-02 Thread Mark McCray
Hey there,Is there a way to figure out what username was used to log on to a mounted volume by knowing the volume name? Thanks, mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the li

Re: Direct use of NSScroller?

2008-10-02 Thread James W. Walker
On Oct 2, 2008, at 8:13 AM, Michael Ash wrote: On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]> wrote: I suppose someone is sure to ask why I can't use NSScrollView. I'm doing a kind of scrolling that isn't just shifting a view around. Some members are arranged in two r

Re: Direct use of NSScroller?

2008-10-02 Thread James W. Walker
On Oct 1, 2008, at 8:53 PM, Clark Cox wrote: On Wed, Oct 1, 2008 at 7:13 PM, James Walker <[EMAIL PROTECTED]> wrote: Is it possible to use a scroller without a scroll view? The first problem is that IB won't let me create an NSScroller that is not embedded in an NSScrollView. Just inst

Re: getting username of authenticated volume

2008-10-02 Thread Stéphane Sudre
On Oct 2, 2008, at 6:30 PM, Mark McCray wrote: Hey there,Is there a way to figure out what username was used to log on to a mounted volume by knowing the volume name Yes. With statfs: uid_t f_owner;/* user that mounted the file system */ you then just need to transform the uid to a

WebView security level?

2008-10-02 Thread David Springer
Folks, Disclaimer: I have no idea what I am talking about. I have been asked to increase the "security level" of our WebView-based browser windows. I guess that on a pc/IE, you can somehow set the security level to prevent things like injection attacks and stuff like that? Again, I have no idea

Re: Newbie: Strange problem with NSTableView, check boxes and Core Data

2008-10-02 Thread Jonathan Oddie
On Sep 29, 2008, at 5:36 PM, Corbin Dunn wrote: On Sep 29, 2008, at 10:55 AM, Jonathan Oddie wrote: Hi all, I'm new on this list -- teaching myself Cocoa programming by writing a small utility as a Core Data document-based application. Mostly I have everything working well, but there is

Re: Cocoa Programming iPing exercise

2008-10-02 Thread Jamie Pinkham
whoops.. should reply to all.. sorry Joe. anyway, i asked, and this may be a silly inquiry, but have you checked the execute permissions of the executable? On Oct 2, 2008, at 10:06 AM, Joe Keenan wrote: On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote: On Thu, Oct 2, 2008 at 9:20 AM, Joe

Re: Threads + Garbage Collection = Crash?

2008-10-02 Thread Bill Bumgarner
On Oct 1, 2008, at 5:35 AM, Oleg Krupnov wrote: In my application, I create a (single) background thread, for creating thumbnail images. I use NSRunLoop and - [NSObject performSelector:onThread:withObject:waitUntilDone:] to communicate between the main and the background threads. I am experienci

Re: Threads + Garbage Collection = Crash?

2008-10-02 Thread Bill Bumgarner
On Oct 1, 2008, at 9:17 AM, Ashley Clark wrote: As for your crashes I think I can offer some advice. If you're not doing any mallocs then most likely you're passing objects back to your main thread through some shared space, possibly via contextInfo: Yes -- this can be a problem. If the con

Re: Newbie: Strange problem with NSTableView, check boxes and Core Data

2008-10-02 Thread Corbin Dunn
Thanks for the advice Corbin. Below is a long backtrace, but I am not sure it sheds much light on the problem. I will keep working at it but since I am moving house this week I may not get much done for a while... Jonathan This is an interesting backtrace. What image do you have set o

Re: WebView security level?

2008-10-02 Thread Nick Zitzmann
On Oct 2, 2008, at 10:58 AM, David Springer wrote: I have been asked to increase the "security level" of our WebView- based browser windows. I guess that on a pc/IE, you can somehow set the security level to prevent things like injection attacks and stuff like that? Again, I have no idea

Conditional mouseDownCanMoveWindow for NSView?

2008-10-02 Thread Daniel Weber
I have a single nsview that draws the main content area for my application and a bottom statusbar. This was done instead of using two different views so the user can move objects from the statusbar to the main content area, all with core animation effects. The view is not opaque. The problem I'm ha

Re: Threads + Garbage Collection = Crash?

2008-10-02 Thread Ashley Clark
On Oct 2, 2008, at 12:28 PM, Bill Bumgarner wrote: On Oct 1, 2008, at 9:17 AM, Ashley Clark wrote: As for your crashes I think I can offer some advice. If you're not doing any mallocs then most likely you're passing objects back to your main thread through some shared space, possibly via cont

Re: Moving file to trash on afp volume

2008-10-02 Thread Peter Ammon
On Oct 2, 2008, at 8:41 AM, Laurent Cerveau wrote: Hi I'd like to programmatically mov to trash a file from an afp mounted volume. I have been using NSWorkspace with NSWorkspaceRecycleOperation but it fails (tag returned is -1). Is there a way to get a more exact description of the error?

Re: WebView security level?

2008-10-02 Thread Jamie Hardt
WebViews don't have a "security level" in the sense of IE; if the client (your app) wishes to apply certain security measures, it can do so by using setting the WebPreferences object of the web view to allow/ disallow javascript, java, allow/disallow plugins (all or nothing), and the client

Code Data: Re-inserting deleted objects

2008-10-02 Thread chaitanya pandit
Hi List, What is the best way to re-insert a deleted object back in to the managed object context? At present i'm trying to this: if ([objectToReinstate validateForInsert:&error]) [[self managedObjectContext] insertObject:objectToReinstate]; But i am having problems with objects having relat

Newb: KATI Sample Code - What's This Called?

2008-10-02 Thread Brad Gibbs
I'm working through the XSViewController example project from KATIDev and I came across this line: [(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor] colorWithAlphaComponent:.5]]; and realized I don't understand (ColorView*). It looks like it's declaring a pointer to an o

Re: Newb: KATI Sample Code - What's This Called?

2008-10-02 Thread Bill Bumgarner
On Oct 2, 2008, at 2:43 PM, Brad Gibbs wrote: I'm working through the XSViewController example project from KATIDev and I came across this line: [(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor] colorWithAlphaComponent:.5]]; and realized I don't understand (ColorView*). I

Re: Newb: KATI Sample Code - What's This Called?

2008-10-02 Thread Randall Meadows
On Oct 2, 2008, at 3:43 PM, Brad Gibbs wrote: I'm working through the XSViewController example project from KATIDev and I came across this line: [(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor] colorWithAlphaComponent:.5]]; and realized I don't understand (ColorView*).

Re: Conditional mouseDownCanMoveWindow for NSView?

2008-10-02 Thread Rainer Brockerhoff
At 12:03 -0700 02/10/08, [EMAIL PROTECTED] wrote: >From: "Daniel Weber" <[EMAIL PROTECTED]> >Date: Thu, 2 Oct 2008 11:15:40 -0700 >Message-ID: <[EMAIL PROTECTED]> > >I have a single nsview that draws the main content area for my application >and a bottom statusbar. This was done instead of using tw

Re: Direct use of NSScroller?

2008-10-02 Thread Clark Cox
On Thu, Oct 2, 2008 at 2:10 AM, chaitanya pandit <[EMAIL PROTECTED]> wrote: > How about using a NSSlider? NSSlider is the wrong control for this job. A slider is for adjusting a single numerical value, not for scrolling through a list of data. > > On 02-Oct-08, at 7:43 AM, James Walker wrote: > >

Re: Re-inserting deleted objects

2008-10-02 Thread chaitanya pandit
On 03-Oct-08, at 3:23 AM, Harry Jordan wrote: If deleting the objects was the last action that you did, you could simply call -undo on the managedObjectContext. There may well be reasons why this wouldn't be appropriate, but it's worth a look. Actually thats the first thing that came to my

Re: Threads + Garbage Collection = Crash?

2008-10-02 Thread Bill Bumgarner
On Oct 2, 2008, at 11:46 AM, Ashley Clark wrote: Looking at your other email to the list about this I think my issue was that I was passing the objects to a delegate method using an NSInvocation object and then in that delegate method sending them on to the main thread through a contextInfo

Re: Direct use of NSScroller?

2008-10-02 Thread chaitanya pandit
On 02-Oct-08, at 10:09 PM, James W. Walker wrote: On Oct 1, 2008, at 8:53 PM, Clark Cox wrote: On Wed, Oct 1, 2008 at 7:13 PM, James Walker <[EMAIL PROTECTED]> wrote: Is it possible to use a scroller without a scroll view? The first problem is that IB won't let me create an NSScroller th

Re: -[NSScanner scanUpToString:stopString:NULL] - 10.3.9 Crash, due Xcode 3.1?

2008-10-02 Thread Jerry Krinock
On 2008 Oct, 02, at 4:54, Karan, Cem (Civ, ARL/CISD) wrote: I'm coming into this late, but are you positive you never accidentally pass in NULL like so:? [blah scanUpToAndThenLeapOverString:@"someString" intoString:NULL]; Well, Cem actually I am passing it NULL, which then gets pas

Re: Play Playlist in iTunes

2008-10-02 Thread has
Mr. Gecko wrote: Ok I now read everything in the programming guide for Scripting Bridge and it is really cool, Now I can't seem to find out how to play a playlist from a name id or anything. If you know how to write an application command in AppleScript, e.g.: tell application "iTune

Re: Play Playlist in iTunes

2008-10-02 Thread has
Michael Ash wrote: On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: I think I would just use this AppleScript call [[[NSAppleScript alloc] initWithSource:[NSString stringWithFormat:@"tell application \"iTunes\" to play playlist \"[EMAIL PROTECTED]"", [self replace:@"\"

TableView click and return key actions

2008-10-02 Thread Mr. Gecko
Hello I am making a simple table view in a window that pops up when someone presses a key and I am needing to have keyboard and click control with it. When someone clicks a row and when someone presses return I want it to call my code which will close that window and do something with that

Re: Play Playlist in iTunes

2008-10-02 Thread Mr. Gecko
I think I'll stick with AppleScript On Oct 2, 2008, at 5:35 PM, has wrote: Michael Ash wrote: On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: I think I would just use this AppleScript call [[[NSAppleScript alloc] initWithSource:[NSString stringWithFormat:@"tell appli

Re: Play Playlist in iTunes

2008-10-02 Thread Kyle Sluder
On Thu, Oct 2, 2008 at 6:45 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: > I think I'll stick with AppleScript If you do, you're dependent on the AppleScript parser, which is an awfully hefty dependency when you know precisely what Apple Events you want to send. Your software quality will be much imp

Re: TableView click and return key actions

2008-10-02 Thread Kyle Sluder
On Thu, Oct 2, 2008 at 6:40 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: > Hello I am making a simple table view in a window that pops up when someone > presses a key and I am needing to have keyboard and click control with it. > When someone clicks a row and when someone presses return I want it to c

Re: Newbie: Strange problem with NSTableView, check boxes and Core Data

2008-10-02 Thread Jonathan Oddie
On Oct 2, 2008, at 11:55 AM, Corbin Dunn wrote: Thanks for the advice Corbin. Below is a long backtrace, but I am not sure it sheds much light on the problem. I will keep working at it but since I am moving house this week I may not get much done for a while... Jonathan This is an

Security - Write to protected directory

2008-10-02 Thread Kelly Graus
Hello, I have an application that needs to be able to write to a protected directory (either Library/Application Support/ or Applications/ depending on the case). I've separated out all writing operations to a separate application, which currently is run using NSTask. I've read the "Perf

Synchronous application launch

2008-10-02 Thread Ray Ruvinskiy
I'm having difficulty synchronously launching an application, as documented at the bottom of http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/chapter_2_section_6.html . I've attempted using both -[NSWorkspace launchAppWithBundleIdentifier:options:ad

Core Data undo grouping

2008-10-02 Thread Peter Sagerson
I'm using CoreData for some internal state management that sometimes requires an undo boundary in a specific place. In other words, I need something along these lines to work: NSManagedObject *object = [self getObjectFromSomewhere]; NSManagedObjectContext *context = [object managedObjectCont

Re: Security - Write to protected directory

2008-10-02 Thread Nick Zitzmann
On Oct 2, 2008, at 1:30 PM, Kelly Graus wrote: Is the only way to allow a user to write to a protected location use the AuthorizationExecuteWithPrivileges function? Yes. AEWP() is most certainly not deprecated. If so, is there a way to tell when the application has quit, and get the exit

Re: TableView click and return key actions

2008-10-02 Thread Corbin Dunn
Hi Mr. Gecko, For clicking (and just clicking), do your code in the -action. For return, override -keyDown: and look for the appropriate code. corbin On Oct 2, 2008, at 3:40 PM, Mr. Gecko wrote: Hello I am making a simple table view in a window that pops up when someone presses a key and

Re: Security - Write to protected directory

2008-10-02 Thread Bill Bumgarner
On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote: Is the only way to allow a user to write to a protected location use the AuthorizationExecuteWithPrivileges function? If so, is there a way to tell when the application has quit, and get the exit code? If not, how would I go about getting suffici

Re: Play Playlist in iTunes

2008-10-02 Thread Mr. Gecko
I know but I can't find out the AppleEvent for Play Playlist. Is there some sort of a program that will parse the AppleScript and make an cocoa AppleEvent code. On Oct 2, 2008, at 6:09 PM, Kyle Sluder wrote: On Thu, Oct 2, 2008 at 6:45 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: I think I'll s

Re: TableView click and return key actions

2008-10-02 Thread Mr. Gecko
That worked perfectly. Thanks, Mr. Gecko On Oct 2, 2008, at 8:00 PM, Corbin Dunn wrote: Hi Mr. Gecko, For clicking (and just clicking), do your code in the -action. For return, override -keyDown: and look for the appropriate code. corbin On Oct 2, 2008, at 3:40 PM, Mr. Gecko wrote: Hell

Re: Direct use of NSScroller?

2008-10-02 Thread Michael Ash
On Thu, Oct 2, 2008 at 12:34 PM, James W. Walker <[EMAIL PROTECTED]> wrote: > > On Oct 2, 2008, at 8:13 AM, Michael Ash wrote: > >> On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]> >> wrote: >>> >>> I suppose someone is sure to ask why I can't use NSScrollView. I'm doing >>> a >>>

Re: -[NSScanner scanUpToString:stopString:NULL] - 10.3.9 Crash, due Xcode 3.1?

2008-10-02 Thread Michael Ash
On Thu, Oct 2, 2008 at 6:24 PM, Jerry Krinock <[EMAIL PROTECTED]> wrote: > Well, Cem actually I am passing it NULL, which then gets passed as the > second argument to -[NSScanner scanUpToString:intoString], but according to > the documentation NULL is OK there, and I've been doing it for years. In

re: Core Data undo grouping

2008-10-02 Thread Ben Trumbull
Peter, I'm using CoreData for some internal state management that sometimes requires an undo boundary in a specific place. In other words, I need something along these lines to work: NSManagedObject *object = [self getObjectFromSomewhere]; NSManagedObjectContext *context = [object managedObjec

Re: Play Playlist in iTunes

2008-10-02 Thread Michael Ash
On Thu, Oct 2, 2008 at 6:35 PM, has <[EMAIL PROTECTED]> wrote: > Michael Ash wrote: > >> On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: >>> >>> I think I would just use this AppleScript call >>> [[[NSAppleScript alloc] initWithSource:[NSString stringWithFormat:@"tell >>> appl

Re: Play Playlist in iTunes

2008-10-02 Thread Michael Ash
On Thu, Oct 2, 2008 at 9:52 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote: > I know but I can't find out the AppleEvent for Play Playlist. > Is there some sort of a program that will parse the AppleScript and make an > cocoa AppleEvent code. Not quite, but you can get pretty close. Go to the section tit

Re: Security - Write to protected directory

2008-10-02 Thread Jason Coco
On Oct 2, 2008, at 21:20 , Bill Bumgarner wrote: On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote: Is the only way to allow a user to write to a protected location use the AuthorizationExecuteWithPrivileges function? If so, is there a way to tell when the application has quit, and get the exi

Re: Security - Write to protected directory

2008-10-02 Thread Bill Bumgarner
On Oct 2, 2008, at 8:20 PM, Jason Coco wrote: On Oct 2, 2008, at 21:20 , Bill Bumgarner wrote: On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote: Is the only way to allow a user to write to a protected location use the AuthorizationExecuteWithPrivileges function? If so, is there a way to tell whe

Re: Newb: KATI Sample Code - What's This Called?

2008-10-02 Thread Ken Ferry
On Thu, Oct 2, 2008 at 2:50 PM, Randall Meadows <[EMAIL PROTECTED]> wrote: > On Oct 2, 2008, at 3:43 PM, Brad Gibbs wrote: > >> I'm working through the XSViewController example project from KATIDev and >> I came across this line: >> >>[(ColorView*)[self view] setBackgroundColor:[[NSColor gr

Re: Security - Write to protected directory

2008-10-02 Thread Kelly Graus
Hi Bill, Thanks for the response! This is the intended functionality. We are allowing a user to install system-wide content to our application. We also have the ability for users to install content for a single user with admin privileges. Kelly On Oct 2, 2008, at 7:20 PM, Bill Bumgarner

Re: Security - Write to protected directory

2008-10-02 Thread Andrew Merenbach
Greetings, Kelly! For this particular purpose, would it be possible to use a package (.pkg) installer? You can allow the user to choose between destinations, and such installers handle the authorization for you. If you intend to allow the content to be installed for the application from

Re: Play Playlist in iTunes

2008-10-02 Thread Mr. Gecko
No I won't be able to use EyeTunes I looked, I had to add some of my own functions into it to make it do what I wanted with volumes. so I may add the play playlist function to it when I find out how I can do it with AppleEvent. ___ Cocoa-dev maili

Re: Security - Write to protected directory

2008-10-02 Thread Kelly Graus
On Oct 2, 2008, at 6:23 PM, Nick Zitzmann wrote: On Oct 2, 2008, at 1:30 PM, Kelly Graus wrote: Is the only way to allow a user to write to a protected location use the AuthorizationExecuteWithPrivileges function? Yes. AEWP() is most certainly not deprecated. Ok, I will look into using

Complicated set of dynamic nested views

2008-10-02 Thread Ken Tozier
Hi I need to create an interface with collapsible views (much like those in InterfaceBuilder's "inspector" palette) and am having a hard time figuring out what exactly to use as the base in IB 3.0. In older versions of IB, there was a "panel" view which allowed for this stuff, but that ap

Re: Security - Write to protected directory

2008-10-02 Thread Bill Bumgarner
On Oct 2, 2008, at 9:30 PM, Kelly Graus wrote: Hi Bill, Thanks for the response! This is the intended functionality. We are allowing a user to install system-wide content to our application. We also have the ability for users to install content for a single user with admin privileges.

Re: Complicated set of dynamic nested views

2008-10-02 Thread Rob Keniger
On 03/10/2008, at 2:52 PM, Ken Tozier wrote: Hi I need to create an interface with collapsible views (much like those in InterfaceBuilder's "inspector" palette) and am having a hard time figuring out what exactly to use as the base in IB 3.0. In older versions of IB, there was a "panel"

Re: Play Playlist in iTunes

2008-10-02 Thread Mr. Gecko
Thanks for that, All i'll have to do now is find out how it puts together the AppleEvent and than I can add it to EyeTunes as an function. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comment

Re: Newb: KATI Sample Code - What's This Called?

2008-10-02 Thread Rob Keniger
On 03/10/2008, at 7:43 AM, Brad Gibbs wrote: and realized I don't understand (ColorView*). It looks like it's declaring a pointer to an object, but it's followed by a method. Could somebody tell me the name of the function (ColorView*) is performing so I can look it up and figure it out?