[MacRuby-devel] Is HotCocoa dead?
Henry Maddocks
henry.maddocks at gmail.com
Fri Mar 25 16:38:36 PDT 2011
On 25/03/2011, at 2:21 PM, dan sinclair wrote:
> For me, I've basically dropped HotCocoa. After doing a few apps with it I quickly came to realize that I liked IB and building apps that way. The thing that I've missed from HotCocoa is all the little Ruby-ish extensions that it added to various classes. As I've built other apps I've been collecting up a few of those and decided to stuff them into a gem.
>
> You can see them at https://github.com/dj2/Bean if you're interested.
This is very good. I can see them being very useful.
Here's one I use a lot. Feel free to add it.
class NSIndexSet
include Enumerable
def each
i = self.firstIndex
until i == NSNotFound
yield i
i = self.indexGreaterThanIndex(i)
end
end
end
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110326/15c5d62a/attachment-0001.html>
More information about the MacRuby-devel
mailing list