• 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
Easy/Quick Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Easy/Quick Question...


  • Subject: Easy/Quick Question...
  • From: ben milford <email@hidden>
  • Date: Fri, 13 Sep 2002 10:07:08 +0000

Sorry about this, but I havent been able to find sufficient documentation to sort it out by myself...

Why can I not bung an integer into an array? Something to do with the Format? Would NSNumber or NSValue be of help here?

int i=1;
NSMutableArray *array = [[NSMutableArray alloc] init];
[array addObject: i];
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • contextual menu and NSTextField
      • From: Arthur Clemens <email@hidden>
    • Re: Easy/Quick Question...
      • From: David Remahl <email@hidden>
  • Prev by Date: No regions, reason for Cocoa's inefficient window resizing?
  • Next by Date: Re: Easy/Quick Question...
  • Previous by thread: Re: No regions, reason for Cocoa's inefficient window resizing?
  • Next by thread: Re: Easy/Quick Question...
  • Index(es):
    • Date
    • Thread