3 ms·
This project is really interesting to me, but my biggest issue is the code completion issue. I can deal with writing UI code manually, but Cocoa's APIs are comp
by cmelbye 14y ago
This project is really interesting to me, but my biggest issue is the code completion issue. I can deal with writing UI code manually, but Cocoa's APIs are complicated and I find it difficult to remember the method names, argument names, etc. Ruby's nicer array and dictionary syntax may make that easier though (alleviating the need for [NSArray arrayWithObjects:...], [NSDictionary dictionaryWithBlahblah] and replacing it with simply [] and {} to remove complexity.)
- cageface 14y agoObjective C's collection syntax is terrible and is easily the worst thing in the language. Apple fixed it with collection literals in OS X 10.8 though and those enhancements are almost certainly coming to iOS soon.
- natesm 14y agoIs it true that those are only available in 10.8? It thought they just compiled to +[NSArray arrayWithObjects:count] calls, which would work anywhere.
- cageface 14y agoAs far as I understand they required patches to LLVM so it may be that the resulting code would also work on older releases and don't need runtime support. But the version of Xcode that supports them is only available for Mac devs, as far as I can tell.