[moderator] Re: (no subject)

2010-09-18 Thread Scott Anguish
This spam (likely hijacked account) has been moderated. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Uns

merging instances of an entity

2010-09-18 Thread Amy Gibbs
Hi, in a core data app, is there an easy way to 'merge' two instances of an entity, for example where something has been accidentally added twice, and each instance has it's own relationships. I'd like to merge the two instances into a single one where basically all of the second instance

Re: Programmatic View Question

2010-09-18 Thread Richard Somers
On Sep 17, 2010, at 10:25 PM, Seth Willits wrote: It's hard to answer such general questions well, but I'll give it a shot. Whether the views are created programmatically or created by a nib, the overall architecture of where controller code goes shouldn't change, so having view controlle

Re: merging instances of an entity

2010-09-18 Thread Keary Suska
On Sep 18, 2010, at 5:41 AM, Amy Gibbs wrote: > Hi, > > in a core data app, is there an easy way to 'merge' two instances of an > entity, for example where something has been accidentally added twice, and > each instance has it's own relationships. There is no "automatic" or "built-in" way, bu

Re: Programmatic View Question

2010-09-18 Thread Raleigh Ledet
On Sep 17, 2010, at 6:09 AM, Richard Somers wrote: > The reason for the programmatic view is there are lots of similar views with > minor variations between them. Having a programmatic view allows the objects > in the view and the layout and configuration of those objects to be > controlled fr

Re: Programmatic View Question

2010-09-18 Thread Richard Somers
On Sep 18, 2010, at 9:36 AM, Raleigh Ledet wrote: Define "lots". 10 or 100? Generally, you create a nib for each view and you programmatically load the nib with a view controller. Lots means 20 initially, up to 80 total later on. If variations are minor, then you can reduce the number of nib

Re: Drawing a custom NSTabView Border

2010-09-18 Thread Mr. Gecko
I was right about these lists not being useful anymore. None has done a custom Tab View border? Really? On Sep 17, 2010, at 5:29 PM, Mr. Gecko wrote: > Hello I'm wondering what will be the best way to draw a custom NSTabView > Border. I have tried many things and it always ends up that I fail.

Re: Drawing a custom NSTabView Border

2010-09-18 Thread Kyle Sluder
On Sep 18, 2010, at 9:40 AM, "Mr. Gecko" wrote: > I was right about these lists not being useful anymore. None has done a > custom Tab View border? Really? Do you plan on acknowledging Seth Willits's reply? --Kyle Sluder > > On Sep 17, 2010, at 5:29 PM, Mr. Gecko wrote: > >> Hello I'm wonde

Re: Drawing a custom NSTabView Border

2010-09-18 Thread Quincey Morris
On Sep 18, 2010, at 09:40, Mr. Gecko wrote: > I was right about these lists not being useful anymore. None has done a > custom Tab View border? Really? a. cute b. trolling c. this was answered yesterday (your code is wrong) ___ Cocoa-dev mailing l

Re: Extract Text From NSLabels to Mail

2010-09-18 Thread Ken Thomases
On Sep 18, 2010, at 3:59 AM, Philip Juel Borges wrote: > Thanks Ken for your input. You're welcome. I'm bringing this back to Cocoa-Dev rather than one-on-one so that others can participate. > I tried the below but it returns this error: > MyReport: unknown type

Re: Drawing a custom NSTabView Border

2010-09-18 Thread Mr. Gecko
If I received it, yes. I only get the digests and I hardly ever read them, so they have to reply to all for me to receive them, sorry about that. Doing from bounds appears to fix it. I actually never knew about the draw rect doing only a section of the view. I just always thought it drew the who

Re: Privileged file deletion using BetterAuthSample (factored application) : secure?

2010-09-18 Thread Jerry Krinock
On 2010 Sep 04, at 05:06, Michaël Fortin wrote: > Let me explain my understanding of how BAS works… Please correct me if I'm > wrong. > > My understanding is that the Helper Tool implements a protocol allowing it to > respond to application commands. > In my case I would have a command which t

Linked List

2010-09-18 Thread koko
What is the Cocoa equivalent of a doubly linked list? Should I consider NSMutablearray as the analog? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mode

Re: Linked List

2010-09-18 Thread Fritz Anderson
On 18 Sep 2010, at 6:09 PM, k...@highrolls.net wrote: > What is the Cocoa equivalent of a doubly linked list? Should I consider > NSMutablearray as the analog? Yes. The Foundation data types are distinguished by what they _are_ (ordered collections, unordered collections, dictionaries, string

Re: Programmatic View Question

2010-09-18 Thread Raleigh Ledet
On Sep 18, 2010, at 9:29 AM, Richard Somers wrote: > On Sep 18, 2010, at 9:36 AM, Raleigh Ledet wrote: > >> Define "lots". 10 or 100? Generally, you create a nib for each view and you >> programmatically load the nib with a view controller. > > Lots means 20 initially, up to 80 total later on.

Re: Linked List

2010-09-18 Thread Dave DeLong
While correct, I don't entirely agree. Sometimes you *do* care how a data structure is implemented, depending on what you're going to do with it. For example, cocoa does not include any sort of tree-like structure, so you're left to either 1) build one yourself or 2) try to combine other data st

Re: Linked List

2010-09-18 Thread Sherm Pendley
On Sat, Sep 18, 2010 at 7:36 PM, Fritz Anderson wrote: > On 18 Sep 2010, at 6:09 PM, k...@highrolls.net wrote: > >> What is the Cocoa equivalent of a doubly linked list? Should I consider >> NSMutablearray as the analog? > > Yes. > > The Foundation data types are distinguished by what they _are_

What controller functions should be implemented in what files?

2010-09-18 Thread Paul Johnson
I'm really unclear on how to structure my program, in particular the controllers. In IB I dragged a 'Window and Drawer' to the document window. In the drawer I have a Table View, and I have another Table View in the Main Window. I want to be able to drag a selection from the Drawer to the Window.

Re: What controller functions should be implemented in what files?

2010-09-18 Thread Kyle Sluder
On Sep 18, 2010, at 7:59 PM, Paul Johnson wrote: > I'm really unclear on how to structure my program, in particular the > controllers. In IB I dragged a 'Window and Drawer' to the document window. > In the drawer I have a Table View, and I have another Table View in the Main > Window. I want to