Skip navigation.
 
mlRe: Table View Blues
FROM : <rixstep000
DATE : Mon Nov 18 14:10:09 2002

> > Even if I could associate data - without creating a class, something
> > I would prefer, as this is just cold data to me and it's going to
> > have to be formatted as CSV or TSV - with each record in a table
> > view, I would still be stuck - or so I think - with individual calls
> > to free() whenever my user wanted to start a new file.

> I don't understand. If you would like to allocate one big chunck of
> memory and manage it on your own - go ahead. Nothing is going to stop
> you. Objective-C is a superset of C after all.


No, I don't think you do. Sorry if I was unclear.

It's got nothing to do with languages. It has a bit to do with the API. But mostly it has to do with the underlying memory management in the operating system - or any layer thereof the API wants to put on top.

In Unix, AFAIK, calloc and malloc are true primitives, whereas in Cutler's Win32 they are not - they resolve to his own memory management schemes - which in this case are essential to survival.

You can never get away from the task of loading data into a program. What you must get away from here is the bottleneck of having to deal with potentially 100's of 1000's of recursive dealloc calls when a view is to be vacated and repopulated.

Cheers, R.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlTable View Blues Rixstep Nov 18, 06:28
mlRe: Table View Blues Alex Rice Nov 18, 08:54
mlRe: Table View Blues Alex Rice Nov 18, 09:11
mlRe: Table View Blues Andreas Mayer Nov 18, 10:28
mlRe: Table View Blues <rixstep000 Nov 18, 13:43
mlRe: Table View Blues <rixstep000 Nov 18, 14:10
mlRe: Table View Blues <rixstep000 Nov 18, 16:27
mlRe: Table View Blues Alex Rice Nov 18, 20:14
mlRe: Table View Blues Andreas Mayer Nov 18, 22:07
mlRe: Table View Blues j o a r Nov 18, 22:49
mlRe: Table View Blues j o a r Nov 18, 23:34
mlRe: Table View Blues David Remahl Nov 19, 00:23
ml[OT] Re: Table View Blues Terrence Asselin Nov 19, 01:39
mlRe: Table View Blues Kevin Elliott Nov 19, 18:27
mlRe: Table View Blues (summary) Alex Rice Nov 19, 19:16
mlRe: Table View Blues Clark S. Cox III Nov 19, 22:20
mlTable View problems with attributed strings Rosyna Nov 20, 07:25