<?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: Adding JavaScript files as &#8220;Resources&#8221; to an XCode project</title>
	<atom:link href="http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/</link>
	<description>iCab related stuff; Mac, iPhone and Cocoa programming</description>
	<lastBuildDate>Mon, 17 Jun 2013 14:36:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-33168</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 16 Aug 2012 10:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-33168</guid>
		<description><![CDATA[@LuuHoa
The file that is stored within your App doesn&#039;t need to be loaded from the internet and therefore if you are able to put the JS files directly into your project in advance, do so. It&#039;s always faster than getting the same files from a server. But once the JS code is loaded in the UIWebView, there&#039;s no speed differences anymore.]]></description>
		<content:encoded><![CDATA[<p>@LuuHoa<br />
The file that is stored within your App doesn&#8217;t need to be loaded from the internet and therefore if you are able to put the JS files directly into your project in advance, do so. It&#8217;s always faster than getting the same files from a server. But once the JS code is loaded in the UIWebView, there&#8217;s no speed differences anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LuuHoa</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-33167</link>
		<dc:creator>LuuHoa</dc:creator>
		<pubDate>Thu, 16 Aug 2012 10:46:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-33167</guid>
		<description><![CDATA[I am coding a project using UIWebView. And the matter I wonder is that JavaScript stored in &quot;Xcode Project&quot; or JavaScript sent from the Web server, which one will make the performance of my Project higer? Thank you for your attendtion and any reply.]]></description>
		<content:encoded><![CDATA[<p>I am coding a project using UIWebView. And the matter I wonder is that JavaScript stored in &#8220;Xcode Project&#8221; or JavaScript sent from the Web server, which one will make the performance of my Project higer? Thank you for your attendtion and any reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smita</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-20948</link>
		<dc:creator>Smita</dc:creator>
		<pubDate>Fri, 10 Feb 2012 07:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-20948</guid>
		<description><![CDATA[Thank you very much..solved my proble]]></description>
		<content:encoded><![CDATA[<p>Thank you very much..solved my proble</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-15710</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 22 Sep 2011 12:01:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-15710</guid>
		<description><![CDATA[@trophy
You won&#039;t lose any tabs or settings when you update the App normally. But of course if the AppStore or the iOS is unable to update a pirate copy and therefore you have to trash it before installing a legit copy, you&#039;ll lose the settings and tabs as well. You can&#039;t blame iCab for that.]]></description>
		<content:encoded><![CDATA[<p>@trophy<br />
You won&#8217;t lose any tabs or settings when you update the App normally. But of course if the AppStore or the iOS is unable to update a pirate copy and therefore you have to trash it before installing a legit copy, you&#8217;ll lose the settings and tabs as well. You can&#8217;t blame iCab for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trophy</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-15689</link>
		<dc:creator>trophy</dc:creator>
		<pubDate>Wed, 21 Sep 2011 22:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-15689</guid>
		<description><![CDATA[After your pirate detection function i buy your browser, but lose all my tabs and settings. Thank you, i&#039;ll use another browser after that.]]></description>
		<content:encoded><![CDATA[<p>After your pirate detection function i buy your browser, but lose all my tabs and settings. Thank you, i&#8217;ll use another browser after that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14954</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 31 Aug 2011 19:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14954</guid>
		<description><![CDATA[@Raphael
It must be [webView1 highlightAllOccurencesOfString:[searchBar text]];

And the keyboard can be closed when you implement the UISearchBar delegate method &quot;searchBarShouldEndEditing:&quot;. This method should return YES to resign its first responder status. And this should also close the keyboard.]]></description>
		<content:encoded><![CDATA[<p>@Raphael<br />
It must be [webView1 highlightAllOccurencesOfString:[searchBar text]];</p>
<p>And the keyboard can be closed when you implement the UISearchBar delegate method &#8220;searchBarShouldEndEditing:&#8221;. This method should return YES to resign its first responder status. And this should also close the keyboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14949</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14949</guid>
		<description><![CDATA[Sorry for the flooding, but how do i make the keyboard to go away after i click search ?]]></description>
		<content:encoded><![CDATA[<p>Sorry for the flooding, but how do i make the keyboard to go away after i click search ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14948</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14948</guid>
		<description><![CDATA[I made it work !!! THANKS]]></description>
		<content:encoded><![CDATA[<p>I made it work !!! THANKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14947</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14947</guid>
		<description><![CDATA[So in my main view controller.m i put

- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar
{
[webView1 highlightAllOccurencesOfString:@&quot;[searchBar text]&quot;];
}

but how do i link the search bar in IB ?
thanks ! it&#039;s quick :D]]></description>
		<content:encoded><![CDATA[<p>So in my main view controller.m i put</p>
<p>- (void)searchBarSearchButtonClicked:(UISearchBar *)searchBar<br />
{<br />
[webView1 highlightAllOccurencesOfString:@"[searchBar text]&#8220;];<br />
}</p>
<p>but how do i link the search bar in IB ?<br />
thanks ! it&#8217;s quick <img src='http://www.icab.de/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14946</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14946</guid>
		<description><![CDATA[@Raphael
There&#039;s the UISearchBar delegate method &quot;searchBarSearchButtonClicked:&quot; which is called when the user clicks the search button. At that time you simply get the entered text by calling [searchBar text] and then pass this string to the &quot;highlightAllOccurencesOfString&quot; method.]]></description>
		<content:encoded><![CDATA[<p>@Raphael<br />
There&#8217;s the UISearchBar delegate method &#8220;searchBarSearchButtonClicked:&#8221; which is called when the user clicks the search button. At that time you simply get the entered text by calling [searchBar text] and then pass this string to the &#8220;highlightAllOccurencesOfString&#8221; method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14945</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Wed, 31 Aug 2011 17:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14945</guid>
		<description><![CDATA[Hi, i don&#039;t succeed to put the value of a UISearchBar into the [webView1 highlightAllOccurencesOfString:@&quot;searchText&quot;];

I don&#039;t know how to declare the string and how to link the UISearchBar. Could you help me please ? Thank you very much, i&#039;ve already succeeded to highlight a text, but it won&#039;t search for the word i put in the bar.]]></description>
		<content:encoded><![CDATA[<p>Hi, i don&#8217;t succeed to put the value of a UISearchBar into the [webView1 highlightAllOccurencesOfString:@"searchText"];</p>
<p>I don&#8217;t know how to declare the string and how to link the UISearchBar. Could you help me please ? Thank you very much, i&#8217;ve already succeeded to highlight a text, but it won&#8217;t search for the word i put in the bar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cullen SUN</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14776</link>
		<dc:creator>Cullen SUN</dc:creator>
		<pubDate>Fri, 26 Aug 2011 17:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14776</guid>
		<description><![CDATA[Thank you very much.
The last few paragraphs are essential for me.]]></description>
		<content:encoded><![CDATA[<p>Thank you very much.<br />
The last few paragraphs are essential for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14683</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 22 Aug 2011 17:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14683</guid>
		<description><![CDATA[@Mojo
You can not view Flash on iPad, there&#039;s no Flash player for the iOS.

There are a few Apps which workaround this by converting Flash videos into video formats that are supported by the iOS (in iCab the ClipConverter module can do this for some videos), and some do  just stream the video of a browser running on a server to your device.

All these workarounds have their issues (like privacy issues, when everything is done on a foreign server) or speed issues, when videos need to be converted before you can watch them etc.

iCab is not able to play flash content. It never was. For videos, Flash is in most cases not necessary anymore. Video sites like YouTube and Vimeo do already use iOS compatible video formats when they detect  that the browser is running on an iPhone or iPad.

SO if you have difficulties with a video site which worked before, you might have just changed the Browser ID setting, so the site now assumes that you&#039;re using a browser
on a Mac or PC. In this case just change the Browser ID to &quot;Safari (iPad)&quot;.]]></description>
		<content:encoded><![CDATA[<p>@Mojo<br />
You can not view Flash on iPad, there&#8217;s no Flash player for the iOS.</p>
<p>There are a few Apps which workaround this by converting Flash videos into video formats that are supported by the iOS (in iCab the ClipConverter module can do this for some videos), and some do  just stream the video of a browser running on a server to your device.</p>
<p>All these workarounds have their issues (like privacy issues, when everything is done on a foreign server) or speed issues, when videos need to be converted before you can watch them etc.</p>
<p>iCab is not able to play flash content. It never was. For videos, Flash is in most cases not necessary anymore. Video sites like YouTube and Vimeo do already use iOS compatible video formats when they detect  that the browser is running on an iPhone or iPad.</p>
<p>SO if you have difficulties with a video site which worked before, you might have just changed the Browser ID setting, so the site now assumes that you&#8217;re using a browser<br />
on a Mac or PC. In this case just change the Browser ID to &#8220;Safari (iPad)&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mojo</title>
		<link>http://www.icab.de/blog/2011/08/02/adding-javascript-files-as-resources-to-an-xcode-project/comment-page-1/#comment-14680</link>
		<dc:creator>Mojo</dc:creator>
		<pubDate>Mon, 22 Aug 2011 15:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=202#comment-14680</guid>
		<description><![CDATA[I bought icab so that I could view adobe flash on my iPad2. It worked for a while but now it does not. what happened?]]></description>
		<content:encoded><![CDATA[<p>I bought icab so that I could view adobe flash on my iPad2. It worked for a while but now it does not. what happened?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
