• 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
Converting object address in array to index in array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Converting object address in array to index in array


  • Subject: Converting object address in array to index in array
  • From: Chewtoy <email@hidden>
  • Date: Thu, 20 Nov 2003 12:08:45 -0800

Greetings,

I'm using | int temp = [dbRecords
indexOfObjectIdenticalTo:oldRecord]; | to get the index of the object
in the array but it returns it as an object address how would i convert
the object address to its index in the array?
_______________________________________________
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: Converting object address in array to index in array
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Re: Mailing list: General options
  • Next by Date: Re: 0x3ff00000 is what, exactly?
  • Previous by thread: Re: 0x3ff00000 is what, exactly?
  • Next by thread: RE: Converting object address in array to index in array
  • Index(es):
    • Date
    • Thread