• 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
How can I set a value for NSNumber?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I set a value for NSNumber?


  • Subject: How can I set a value for NSNumber?
  • From: Roberto <email@hidden>
  • Date: Fri, 12 Dec 2003 14:11:26 +0100

How can I set a value for an NSNumber?

example:

// Create the variable
NSNumber * comicsArrayId;

// alloc the variable
comicsArrayId = [[NSNumber alloc] initWithInt:0];

AND THEN?

If I would like to set the variable to int 10??
_______________________________________________
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:
    • Re: How can I set a value for NSNumber?
      • From: Robert Cerny <email@hidden>
  • Prev by Date: Re: Using NSFileHandle for server socket communication
  • Next by Date: Re: Sheets Trouble
  • Previous by thread: Re: [critical bug?] Invisible menus...
  • Next by thread: Re: How can I set a value for NSNumber?
  • Index(es):
    • Date
    • Thread