• 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: fetching from NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fetching from NSArray


  • Subject: Re: fetching from NSArray
  • From: "Erfan Aleemullah" <email@hidden>
  • Date: Wed, 3 Oct 2007 20:03:22 -0400

Update:  id *buffer = calloc(numberOf_ItemsIWant_ToFetch,sizeof(id));[myArray
getObjects:buffer range:rangeOfItems]


So, using this code solves my problem of fetching items from an NSArray,
after defining the NSRange variable.    Yes, as someone suggested earlier
on, its a pointer to a pointer ... or in my case a pointer array, where each
item is stored in buffer[i]
thanks !
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: fetching from NSArray
      • From: Ben Stiglitz <email@hidden>
References: 
 >Re: fetching from NSArray (From: Charles Steinman <email@hidden>)
 >Re: fetching from NSArray (From: Andy Lee <email@hidden>)
 >Re: fetching from NSArray (From: Ricky Sharp <email@hidden>)
 >Re: fetching from NSArray (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: problem loading a window in a new NIB using NSWindowController.
  • Next by Date: Re: Hardware copy protection
  • Previous by thread: Re: fetching from NSArray
  • Next by thread: Re: fetching from NSArray
  • Index(es):
    • Date
    • Thread