bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] NSTabView* rewrite (patch)


From: Alexander Malmberg
Subject: Re: [RFC] NSTabView* rewrite (patch)
Date: Wed, 30 Jul 2003 11:13:16 +0200

Adam Fedor wrote:
[snip]
> @@ -132,6 +193,8 @@
> 
>   - (NSArray*) tabViewItems
>   {
> +  // FIXME: should this be a copy? or?
> +
>     return (NSArray*)_items;
>   }
> 
> This could use the base method:
> 
> return [_items makeImmutableCopyOnFail: YES];

That wouldn't work. It might make the _items instance immutable, which
would break things when you try to add or remove items later.

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]