• 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: NSMutableArray addObject: where is the E?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableArray addObject: where is the E?


  • Subject: Re: NSMutableArray addObject: where is the E?
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 31 Jan 2008 16:49:45 -0500

Any reason for this?
I suspect it's an oversight ... The Wonder version of NSMutableArray has a generic addObject as well. You should log a bug.

Should we use the (newer) method "add(E element)", in order to have type checking, instead?
Does it perform exactly the same way otherwise?
Yes, it should the same:

public boolean add(Object element) {
   addObject(element);
    return true;
}


ms

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


References: 
 >NSMutableArray addObject: where is the E? (From: Gaastra Dennis - WO Lists <email@hidden>)

  • Prev by Date: Re: Short question (legacy usage?)
  • Next by Date: Fetch calling willChange()?!!?
  • Previous by thread: NSMutableArray addObject: where is the E?
  • Next by thread: Fetch calling willChange()?!!?
  • Index(es):
    • Date
    • Thread