Re: Obj-C equivalent to Python generator functions

2009-04-04 Thread Marcel Weiher
On Apr 1, 2009, at 19:04 , Sam Krishna wrote: Does anyone here know of any Obj-C functional equivalent to Python generator functions? These are *categorically* different that the Spotlight API generator functions. http://is.gd/qcYt There is no direct equivalent at the language level, beca

Re: Obj-C equivalent to Python generator functions

2009-04-01 Thread Andrew Farmer
On 01 Apr 09, at 19:04, Sam Krishna wrote: Does anyone here know of any Obj-C functional equivalent to Python generator functions? These are *categorically* different that the Spotlight API generator functions. Depends on what you're after. If all you need is to be able to iterate over an