<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JSCocoa interactive console for iPhone</title>
	<atom:link href="http://ido.nu/kuma/2008/11/22/jscocoa-interactive-console-for-iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://ido.nu/kuma/2008/11/22/jscocoa-interactive-console-for-iphone/</link>
	<description></description>
	<lastBuildDate>Thu, 04 Mar 2010 01:02:36 +0900</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Patrick Geiller</title>
		<link>http://ido.nu/kuma/2008/11/22/jscocoa-interactive-console-for-iphone/comment-page-1/#comment-86453</link>
		<dc:creator>Patrick Geiller</dc:creator>
		<pubDate>Mon, 24 Nov 2008 04:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://ido.nu/kuma/?p=1323#comment-86453</guid>
		<description>Thank you for the English version ! 

Now to answer your points : 

* class.js : after import, it will show up in &quot;Compile Sources&quot;. Move it to &quot;Copy Bundle Resources&quot; as you did with console.html. I had the same problem at one point and wrote about it : http://parmanoir.com/Where_in_build_phases_is_that_file_%3F

* iPhone.bridgeSupport : yep it&#039;s bad :( iPhoneTest2 is written as proof of concept, therefore I manually copied definitions from /System/Library/Frameworks/Foundation.framework/Versions/C/Resources/BridgeSupport/Foundation.bridgesupport — need a better solution !

* NSArray and length : NSArray is bridged only one way now : its elements are accessible from Javascript with the array operator [] and using someNSArray.length should work. But the other way, sending a Javascript array to ObjC, is not yet supported. It&#039;s in the works :)


Also in the works : making JSCocoa work on the iPhone. I don&#039;t own an iPhone but had someone test and libffi does not work. There are people trying to make Python run on the iPhone http://www.telesphoreo.org/pipermail/iphone-python/2008-October/000206.html , I&#039;ll see how that can work out in JSCocoa.</description>
		<content:encoded><![CDATA[<p>Thank you for the English version ! </p>
<p>Now to answer your points : </p>
<p>* class.js : after import, it will show up in &#8220;Compile Sources&#8221;. Move it to &#8220;Copy Bundle Resources&#8221; as you did with console.html. I had the same problem at one point and wrote about it : <a href="http://parmanoir.com/Where_in_build_phases_is_that_file_%3F" rel="nofollow">http://parmanoir.com/Where_in_build_phases_is_that_file_%3F</a></p>
<p>* iPhone.bridgeSupport : yep it&#8217;s bad :( iPhoneTest2 is written as proof of concept, therefore I manually copied definitions from /System/Library/Frameworks/Foundation.framework/Versions/C/Resources/BridgeSupport/Foundation.bridgesupport — need a better solution !</p>
<p>* NSArray and length : NSArray is bridged only one way now : its elements are accessible from Javascript with the array operator [] and using someNSArray.length should work. But the other way, sending a Javascript array to ObjC, is not yet supported. It&#8217;s in the works :)</p>
<p>Also in the works : making JSCocoa work on the iPhone. I don&#8217;t own an iPhone but had someone test and libffi does not work. There are people trying to make Python run on the iPhone <a href="http://www.telesphoreo.org/pipermail/iphone-python/2008-October/000206.html" rel="nofollow">http://www.telesphoreo.org/pipermail/iphone-python/2008-October/000206.html</a> , I&#8217;ll see how that can work out in JSCocoa.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
