<?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 for Cocoaphony</title>
	<atom:link href="http://robnapier.net/blog/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://robnapier.net/blog</link>
	<description>Mac and iPhone, on the brain</description>
	<lastBuildDate>Tue, 14 May 2013 12:45:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Wrapping C++ Final Edition by Halle</title>
		<link>http://robnapier.net/blog/wrapping-cppfinal-edition-759/comment-page-1#comment-19330</link>
		<dc:creator>Halle</dc:creator>
		<pubDate>Tue, 14 May 2013 12:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=759#comment-19330</guid>
		<description><![CDATA[&lt;p&gt;Now I&#039;m wondering if the issue isn&#039;t that libc++ isn&#039;t being loaded, but that a c++ stdlib is being loaded in the app but it doesn&#039;t exactly match the one I compiled with, and setting it explicitly fixes that in some way. 40 functions seems like too few to represent every standard library function used in the framework, so it could just be those where the signature diverges.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Now I&#8217;m wondering if the issue isn&#8217;t that libc++ isn&#8217;t being loaded, but that a c++ stdlib is being loaded in the app but it doesn&#8217;t exactly match the one I compiled with, and setting it explicitly fixes that in some way. 40 functions seems like too few to represent every standard library function used in the framework, so it could just be those where the signature diverges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wrapping C++ Final Edition by Halle</title>
		<link>http://robnapier.net/blog/wrapping-cppfinal-edition-759/comment-page-1#comment-19329</link>
		<dc:creator>Halle</dc:creator>
		<pubDate>Tue, 14 May 2013 12:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=759#comment-19329</guid>
		<description><![CDATA[&lt;p&gt;Hmm, I do get errors, just about 40 of them, exclusively in the std namespace for a big all-C++ library (i.e. nothing else contained in the framework seems to cause any issues). The errors can be handled by the developer making use of the framework doing any of the following in their app:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Naming the class that calls a framework header .mm&lt;/li&gt;
&lt;li&gt;Adding the -lstdc++ flag&lt;/li&gt;
&lt;li&gt;Going to &quot;Link Binary With Libraries&quot; and selecting libstc++.6.0.9.dylib&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As an experiment I tried adding some known-good basic_ios code to one of the methods of my wrapper and it resulted in those functions also appearing in my error list.&lt;/p&gt;

&lt;p&gt;The last option above (just linking the dylib in the same step as the other dependencies) isn&#039;t that onerous since I already need to inform the developer to add some dependencies there, but it would be great to have it be even simpler. Thanks for the info about the difference between the Apple dylibs and my static frameworks, that makes perfect sense.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Hmm, I do get errors, just about 40 of them, exclusively in the std namespace for a big all-C++ library (i.e. nothing else contained in the framework seems to cause any issues). The errors can be handled by the developer making use of the framework doing any of the following in their app:</p>

<ul>
<li>Naming the class that calls a framework header .mm</li>
<li>Adding the -lstdc++ flag</li>
<li>Going to &#8220;Link Binary With Libraries&#8221; and selecting libstc++.6.0.9.dylib</li>
</ul>

<p>As an experiment I tried adding some known-good basic_ios code to one of the methods of my wrapper and it resulted in those functions also appearing in my error list.</p>

<p>The last option above (just linking the dylib in the same step as the other dependencies) isn&#8217;t that onerous since I already need to inform the developer to add some dependencies there, but it would be great to have it be even simpler. Thanks for the info about the difference between the Apple dylibs and my static frameworks, that makes perfect sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wrapping C++ Final Edition by Rob Napier</title>
		<link>http://robnapier.net/blog/wrapping-cppfinal-edition-759/comment-page-1#comment-19273</link>
		<dc:creator>Rob Napier</dc:creator>
		<pubDate>Sat, 11 May 2013 21:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=759#comment-19273</guid>
		<description><![CDATA[&lt;p&gt;As I recall, you don&#039;t need to explicitly include libc++, since it&#039;ll get linked for various other reasons in almost all cases. But try it and see. The fact that CoreAudio uses C++ (and it does) but doesn&#039;t require you to link libc++ isn&#039;t relevant, however. Apple frameworks use dynamic libraries, which can include dependencies that are loaded at runtime. You can&#039;t create a dynamic library on iOS, however, so your static library doesn&#039;t get that benefit, and the final link step must include all dependencies (but libc++ is likely to get included anyway, so unless you&#039;re getting errors, I wouldn&#039;t add it).&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>As I recall, you don&#8217;t need to explicitly include libc++, since it&#8217;ll get linked for various other reasons in almost all cases. But try it and see. The fact that CoreAudio uses C++ (and it does) but doesn&#8217;t require you to link libc++ isn&#8217;t relevant, however. Apple frameworks use dynamic libraries, which can include dependencies that are loaded at runtime. You can&#8217;t create a dynamic library on iOS, however, so your static library doesn&#8217;t get that benefit, and the final link step must include all dependencies (but libc++ is likely to get included anyway, so unless you&#8217;re getting errors, I wouldn&#8217;t add it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wrapping C++ Final Edition by Halle</title>
		<link>http://robnapier.net/blog/wrapping-cppfinal-edition-759/comment-page-1#comment-19243</link>
		<dc:creator>Halle</dc:creator>
		<pubDate>Fri, 10 May 2013 12:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=759#comment-19243</guid>
		<description><![CDATA[&lt;p&gt;Hi Rob,&lt;/p&gt;

&lt;p&gt;Great post, I&#039;ve followed its advice for a C++ framework I&#039;m working on right now. Something I was curious about: if the goal is to create a static library or framework which encapsulates some C++, is there anything that can be done about the requirement that the developer making use of the library or framework also link to the relevant C++ standard library either by -lstdc++ or by using the .mm suffix on the hosting class? It seems like it would be obligatory, but then I have the impression that some of the CoreAudio and AudioToolbox code is written in C++ (although maybe this isn&#039;t correct) and linking those frameworks in an app doesn&#039;t require doing anything about the C++ standard lib, so it got me wondering.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Hi Rob,</p>

<p>Great post, I&#8217;ve followed its advice for a C++ framework I&#8217;m working on right now. Something I was curious about: if the goal is to create a static library or framework which encapsulates some C++, is there anything that can be done about the requirement that the developer making use of the library or framework also link to the relevant C++ standard library either by -lstdc++ or by using the .mm suffix on the hosting class? It seems like it would be obligatory, but then I have the impression that some of the CoreAudio and AudioToolbox code is written in C++ (although maybe this isn&#8217;t correct) and linking those frameworks in an app doesn&#8217;t require doing anything about the C++ standard lib, so it got me wondering.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drop-in offline caching for UIWebView (and NSURLProtocol) by Rob Napier</title>
		<link>http://robnapier.net/blog/offline-uiwebview-nsurlprotocol-588/comment-page-2#comment-19143</link>
		<dc:creator>Rob Napier</dc:creator>
		<pubDate>Sun, 05 May 2013 23:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=588#comment-19143</guid>
		<description><![CDATA[&lt;p&gt;This technique is a very primitive solution for very simple web caching, mostly of a handful of simple HTML pages. It is not intended as a general-purpose caching system for complex pages. (It is intended mostly to demonstrate how to use NSURLProtocol, not HTTP caching.) HTML5 local storage I believe would require you to modify your web pages, while NSURLProtocol requires that you modify your client. If you control both, I&#039;d say do whatever is more comfortable for you.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>This technique is a very primitive solution for very simple web caching, mostly of a handful of simple HTML pages. It is not intended as a general-purpose caching system for complex pages. (It is intended mostly to demonstrate how to use NSURLProtocol, not HTTP caching.) HTML5 local storage I believe would require you to modify your web pages, while NSURLProtocol requires that you modify your client. If you control both, I&#8217;d say do whatever is more comfortable for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drop-in offline caching for UIWebView (and NSURLProtocol) by Reed</title>
		<link>http://robnapier.net/blog/offline-uiwebview-nsurlprotocol-588/comment-page-2#comment-19141</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Sun, 05 May 2013 22:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=588#comment-19141</guid>
		<description><![CDATA[&lt;p&gt;Hi, I have been researching the best way to do offline caching and this seems great, but I am still considering just using HTML5 local storage.  What are some of the advantages of this method over using HTML5?  Thanks!&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Hi, I have been researching the best way to do offline caching and this seems great, but I am still considering just using HTML5 local storage.  What are some of the advantages of this method over using HTML5?  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scripting Bridge by Rob Napier</title>
		<link>http://robnapier.net/blog/scripting-bridge-265/comment-page-1#comment-19108</link>
		<dc:creator>Rob Napier</dc:creator>
		<pubDate>Fri, 03 May 2013 17:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=265#comment-19108</guid>
		<description><![CDATA[&lt;p&gt;I haven&#039;t built any bridges based on Microsoft Word. Many of their AppleScript interfaces are unusual at best. I don&#039;t know any general way to make them work well.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t built any bridges based on Microsoft Word. Many of their AppleScript interfaces are unusual at best. I don&#8217;t know any general way to make them work well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Properly encrypting with AES with CommonCrypto by Tutorial: Sharing Data Locally Between iOS Apps</title>
		<link>http://robnapier.net/blog/aes-commoncrypto-564/comment-page-2#comment-19084</link>
		<dc:creator>Tutorial: Sharing Data Locally Between iOS Apps</dc:creator>
		<pubDate>Fri, 03 May 2013 02:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=564#comment-19084</guid>
		<description><![CDATA[&lt;p&gt;[...] it can prevent unintended behavior in the application. To learn more about securing data read Properly encrypting with AES with CommonCrypto by Rob [...]&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>[...] it can prevent unintended behavior in the application. To learn more about securing data read Properly encrypting with AES with CommonCrypto by Rob [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scripting Bridge by Rameshkumar</title>
		<link>http://robnapier.net/blog/scripting-bridge-265/comment-page-1#comment-18870</link>
		<dc:creator>Rameshkumar</dc:creator>
		<pubDate>Tue, 23 Apr 2013 12:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=265#comment-18870</guid>
		<description><![CDATA[&lt;p&gt;Hi Rob thanks for this great article. I tried to convert the header file for Microsoft Word. I got&lt;/p&gt;

&lt;p&gt;sdp: enumerator of enumeration &quot;e183&quot;: missing required &quot;name&quot; attribute.&lt;/p&gt;

&lt;p&gt;to fix this, i went through http://stackoverflow.com/questions/15338454/scripting-bridge-and-generate-microsoft-word-header-file&lt;/p&gt;

&lt;p&gt;After that i got 
sdp: warning: property &quot;style&quot; of class &quot;revision&quot; refers to undefined type &#039;null&#039;; assuming type &#039;id&#039;.
Could you please tell me how i fix this issue and move to next step.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Hi Rob thanks for this great article. I tried to convert the header file for Microsoft Word. I got</p>

<p>sdp: enumerator of enumeration &#8220;e183&#8243;: missing required &#8220;name&#8221; attribute.</p>

<p>to fix this, i went through <a href="http://stackoverflow.com/questions/15338454/scripting-bridge-and-generate-microsoft-word-header-file" rel="nofollow">http://stackoverflow.com/questions/15338454/scripting-bridge-and-generate-microsoft-word-header-file</a></p>

<p>After that i got 
sdp: warning: property &#8220;style&#8221; of class &#8220;revision&#8221; refers to undefined type &#8216;null&#8217;; assuming type &#8216;id&#8217;.
Could you please tell me how i fix this issue and move to next step.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Drop-in offline caching for UIWebView (and NSURLProtocol) by Rob Napier</title>
		<link>http://robnapier.net/blog/offline-uiwebview-nsurlprotocol-588/comment-page-2#comment-18600</link>
		<dc:creator>Rob Napier</dc:creator>
		<pubDate>Fri, 05 Apr 2013 23:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://robnapier.net/blog/?p=588#comment-18600</guid>
		<description><![CDATA[&lt;p&gt;Check the GitHub repository. It should be NSURLCacheStorageNotAllowed there.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>Check the GitHub repository. It should be NSURLCacheStorageNotAllowed there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.450 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-25 14:23:08 -->

<!-- Compression = gzip -->