NSPopupButton and Interface Builder

2008-08-01 Thread Andrew Zahra
I have an NSPopupButton in my user interface. I notice that Interface Builder populates it with Item 1, 2, 3 - but where do I edit these values? I have looked at the various tabs for the objects in its hierarchy, but I can't find where they are specified. Can someone point me in the right direction

Core Data and Sheets

2008-08-08 Thread Andrew Zahra
I am experimenting with core data and have had a look at some tutorials such as this one: http://cocoadevcentral.com/articles/85.php The problem I have is that I want to use a sheet with my UI. I have a list of tasks but I don't want the "add" button to just add an entry to my list, I want to

Referencing known values in core data

2008-08-13 Thread Andrew Zahra
I am experimenting with core data. Binding fields such as text fields works fine. But now I have a pop up menu I want to bind to a set of known values. I have a "Task" Entity with a "frequency" field. The frequency field is a set of known values, such as hourly, daily etc, so I have not put this in

Updating current managedobject

2008-08-14 Thread Andrew Zahra
I have a classic core data app just like all the tutorials with fields bound to the model. But now I have one field that I want to update as the result of the user selecting a directory from an NSOpenPanel. How do I access the current managedObject the user is editing to update this one field fron

Updating text field bound to core data

2008-08-15 Thread Andrew Zahra
I am working on a basic core data app. I have a single entity with a name attribute and other attributes including a file path. I have bound a table view to the entity name and then a group of text fields to the individual attributes to show the details. It works fine if I type stuff directly into

Re: Updating text field bound to core data

2008-08-15 Thread Andrew Zahra
Excellent! It is starting to make sense to me now. I am using an ArrayController. I did this and it works: NSManagedObject *task = [controller selection]; [task setValue:fileName forKey:@"sourceFolder"]; 2008/8/16 Ron Lue-Sang <[EMAIL PROTECTED]> > > On Aug 15, 20

Basic Window Management

2008-08-23 Thread Andrew Zahra
I am trying to add a log window to an otherwise single window application and have come across a couple of basic window management issues. Firstly, if the log window is closed by clicking the close button and then I subsequently call makeKeyAndOrderFront then I get a crash. I presume there is a win

Multi DB Library

2008-09-17 Thread Andrew Zahra
Can anyone suggest a multi Database library for use in developing a Cocoa based app? At least support for Oracle, MySQL and PostgreSQL would be required. I notice that Python has good database support. Would developing a PyObjC app be a better way to go? thanks, Andrew

NSURLDownload resumeData always nil

2008-09-22 Thread Andrew Zahra
I am experimenting with the resume functionality in NSURLDownload, however I always get nil back when I call resumeData. I have tried a couple of different sites and then tried using wget to get the files. wget resumes the files fine, so I think I am doing something wrong. This is the code in quest

NSURLDownload resumeData example

2008-09-25 Thread Andrew Zahra
Can anyone point me to an example of how to resume a download with NSURLDOwnload? I have had no luck getting the resume data from it. thanks, Andrew ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator co

Re: NSURLDownload resumeData always nil

2008-09-26 Thread Andrew Zahra
herwise it's nil. On Sep 23, 2008, at 12:17 PM, [EMAIL PROTECTED] wrote: > If the response header does not include an ETag, NSURLDownload will > always return a nil resumeData. > > > On Sep 22, 2008, at 10:41 PM, Andrew Zahra wrote: > >> I am experimenting with the r