• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Method not seeing array as array[solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Method not seeing array as array[solved]


  • Subject: Re: Method not seeing array as array[solved]
  • From: Marco Scheurer <email@hidden>
  • Date: Thu, 3 Feb 2005 16:24:47 +0100

On Feb 03, 2005, at 16:13PM, Michael Swan wrote:

Many thanks to all who responded to my question. As I am fairly new to this all the different ides were good to help me see different programming thoughts. In the end the biggest factor that was affecting me was:

channelArray = [[NSMutableArray alloc] init];

while this is normally the right way way to do it below worked much better:

channelArray = [[NSMutableArray alloc] initWithCapicity:0];

Please noooooo! This has absolutely nothing to do with your problem: both forms are absolutely equivalent. What could make you think this solved your case? (I think you need to take a more scientific approach, where you formulate hypotheses and test the results against reality, one change at a time... programming is not magic.)


marco


Marco Scheurer Sen:te, Lausanne, Switzerland http://www.sente.ch

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Method not seeing array as array[solved] (From: Michael Swan <email@hidden>)

  • Prev by Date: Re: Stop dragging my <NSWindow> around
  • Next by Date: Re: String not showing up in Table
  • Previous by thread: Re: Method not seeing array as array[solved]
  • Next by thread: Table selectionIndexes not tracking bound model updates
  • Index(es):
    • Date
    • Thread