javascript - JSCocoa and the iPhone - Stack Overflow

Now I have a stack of free time on my hands, I wanna get into iphone dev fo real.But Objective C scares

Now I have a stack of free time on my hands, I wanna get into iphone dev fo real.

But Objective C scares me (a bit). It feels I'm going a bit back in time. I say this because I've spent the last 8 months coding in C++.

JSCocoa looks awesome, but does this actually work on the iphone?

What would need to be done to get this working on the iphone?

Now I have a stack of free time on my hands, I wanna get into iphone dev fo real.

But Objective C scares me (a bit). It feels I'm going a bit back in time. I say this because I've spent the last 8 months coding in C++.

JSCocoa looks awesome, but does this actually work on the iphone?

What would need to be done to get this working on the iphone?

Share Improve this question asked Nov 29, 2008 at 5:11 CVertexCVertex 18.3k28 gold badges96 silver badges127 bronze badges 1
  • (Replying here because I don't have enough 50 reputation) We can discuss this here or on Google Code code.google./p/jscocoa/issues/detail?id=38 – Patrick Geiller Commented Nov 29, 2008 at 5:50
Add a ment  | 

3 Answers 3

Reset to default 7

(Hi, I'm the JSCocoa dev) JSCocoa works on the iPhone simulator. Check out the latest version from Google svn and pile iPhoneTest2.

To work on the iPhone, it needs libffi. I've seen http://code.google./p/iphone-dev/source/browse/trunk/llvm-gcc-4.0-iphone/ and some libffi posts regarding Python for iPhone, but have not tested any further.

Also I don't own an iPhone, so testing will mostly be up to someone who owns one :)

With a Jailbroken iPhone, you can deffintely write applications in Python and Ruby (and probably JSCocoa, but I've never looked into it)

The problem is, to use PyObjC/RubyObjC (and most likely JSCocoa, and any other similar projects) you have to know how to use regular ObjC and Cocoa, as the frameworks are almost direct mappings to these.

See this answer, which can be summarised by..

I'm afraid that for the time being, you will need a basic grasp of ObjC in order to benefit from any language that uses Cocoa

a bit of off topic, but: You shouldn't be scared of Objective-C. Of course the syntax looks ugly at first (it did to me), but after a while you get hooked to it. And since you've spent 8 months in C++ i presume you have a good grasp of C which already lightens your weight on learning objective-c!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744792601a4594008.html

相关推荐

  • javascript - JSCocoa and the iPhone - Stack Overflow

    Now I have a stack of free time on my hands, I wanna get into iphone dev fo real.But Objective C scares

    2天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信