<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vfr.org</title>
	<atom:link href="http://www.vfr.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vfr.org</link>
	<description>Scito te ipsum</description>
	<lastBuildDate>Fri, 04 May 2012 16:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>iOS PDF Reader/Viewer ARC Conversion</title>
		<link>http://www.vfr.org/2012/05/reader-arc-conversion/</link>
		<comments>http://www.vfr.org/2012/05/reader-arc-conversion/#comments</comments>
		<pubDate>Fri, 04 May 2012 16:00:59 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=435</guid>
		<description><![CDATA[To convert the iOS PDF Reader/Viewer to ARC, first get the latest code from GitHub. Then, in the following files, you need to edit the following statements during ARC refactoring to use plain __bridge casts: ReaderDocument.m: ... = [NSString stringWithString:(__bridge &#8230; <a href="http://www.vfr.org/2012/05/reader-arc-conversion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To convert the <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a> to ARC, first get the latest code from GitHub.</p>
<p>Then, in the following files, you need to edit the following statements during ARC refactoring to use plain __bridge casts:<br />
<code><br />
ReaderDocument.m:<br />
... = [NSString stringWithString:(<span style="color: #008000;">__bridge id</span>)theString];</p>
<p>ReaderContentPage.m:<br />
... = CGPDFDocumentCreateX((<span style="color: #008000;">__bridge CFURLRef</span>)fileURL, phrase);</p>
<p>ReaderThumbFetch.m:<br />
... = CGImageSourceCreateWithURL((<span style="color: #008000;">__bridge CFURLRef</span>)thumbURL, NULL);<br />
</code><br />
After ARC refactoring, it is safe to remove the various &#8220;ivar = nil;&#8221; statements in the various class dealloc methods (and delete them if they are empty).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2012/05/reader-arc-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.5</title>
		<link>http://www.vfr.org/2012/04/ios-pdf-reader-viewer-v2-5/</link>
		<comments>http://www.vfr.org/2012/04/ios-pdf-reader-viewer-v2-5/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 20:00:29 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=426</guid>
		<description><![CDATA[Now available on GitHub is version 2.5.6 of the open source iOS PDF Reader/Viewer: Now loads and decodes thumbnail PNGs on a background thread. Added READER_DISABLE_RETINA #define performance option. Some performance improvements on iPad 3rd generation. Bug fix to PDF &#8230; <a href="http://www.vfr.org/2012/04/ios-pdf-reader-viewer-v2-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Now available on GitHub is version 2.5.6 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>:</p>
<ul>
<li>Now loads and decodes thumbnail PNGs on a background thread.</li>
<p></p>
<li>Added READER_DISABLE_RETINA #define performance option.</li>
<p></p>
<li>Some performance improvements on iPad 3rd generation.</li>
<p></p>
<li>Bug fix to PDF link handling with cropboxed PDF files.</li>
<p></p>
<li>Handles PDF web links without http:// as the prefix.</li>
<p></p>
<li>Tested under Xcode 4.3.2 and iOS 5.1.</li>
</ul>
<p><img src="http://www.vfr.org/wp-content/uploads/2011/09/Reader-iPad-A.png" alt="" title="Reader Document - iPad" width="576" height="768" class="alignnone size-full wp-image-385" /></p>
<p><img src="http://www.vfr.org/wp-content/uploads/2011/09/Reader-iPad-B.png" alt="" title="Reader Thumbs - iPad" width="576" height="768" class="alignnone size-full wp-image-384" /></p>
<p><img src="http://www.vfr.org/wp-content/uploads/2011/09/Reader-iPod-A.png" alt="" title="Reader Document - iPod" width="480" height="720" class="alignnone size-full wp-image-383" /></p>
<p><img src="http://www.vfr.org/wp-content/uploads/2011/09/Reader-iPod-B.png" alt="" title="Reader Thumbs - iPod" width="480" height="720" class="alignnone size-full wp-image-382" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2012/04/ios-pdf-reader-viewer-v2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.4</title>
		<link>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-4/</link>
		<comments>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-4/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 19:00:34 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=377</guid>
		<description><![CDATA[Now available on GitHub is version 2.4 of the open source iOS PDF Reader/Viewer: Replaced UIToolbars with custom toolbars. Some more assorted bug fixes and tweaks.]]></description>
			<content:encoded><![CDATA[<p>Now available on GitHub is version 2.4 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>:</p>
<ul>
<li>Replaced UIToolbars with custom toolbars.</li>
<p></p>
<li>Some more assorted bug fixes and tweaks.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.3</title>
		<link>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-3/</link>
		<comments>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-3/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 22:00:10 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=367</guid>
		<description><![CDATA[Now available on GitHub is version 2.3 of the open source iOS PDF Reader/Viewer: Added page thumbnail document navigation. Added support for page bookmarks.]]></description>
			<content:encoded><![CDATA[<p>Now available on GitHub is version 2.3 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>:</p>
<ul>
<li>Added page thumbnail document navigation.</li>
<p></p>
<li>Added support for page bookmarks.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.2</title>
		<link>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-2/</link>
		<comments>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-2/#comments</comments>
		<pubDate>Sat, 10 Sep 2011 23:00:40 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=334</guid>
		<description><![CDATA[Now available on GitHub is version 2.2.1 of the open source iOS PDF Reader/Viewer: A medium resolution page preview image is now shown first. The page bar now uses small page thumbs instead of a simple slider. Added password handling &#8230; <a href="http://www.vfr.org/2011/09/pdf-reader-viewer-v2-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Now available on GitHub is version 2.2.1 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>:</p>
<ul>
<li>A medium resolution page preview image is now shown first.</li>
<p></p>
<li>The page bar now uses small page thumbs instead of a simple slider.</li>
<p></p>
<li>Added password handling to ReaderDocument plist unarchive.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2011/09/pdf-reader-viewer-v2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.1</title>
		<link>http://www.vfr.org/2011/08/pdf-reader-viewer-v2-1-0/</link>
		<comments>http://www.vfr.org/2011/08/pdf-reader-viewer-v2-1-0/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:34:33 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=325</guid>
		<description><![CDATA[Now available on GitHub is version 2.1.1 of the open source iOS PDF Reader/Viewer: Added PDF link (URI and page target) support. Assorted code cleanup, optimizations and bug fixes. Fixed rotation handling when in a UITabBarController.]]></description>
			<content:encoded><![CDATA[<p>Now available on GitHub is version 2.1.1 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>:</p>
<ul>
<li>Added PDF link (URI and page target) support.</li>
<p></p>
<li>Assorted code cleanup, optimizations and bug fixes.</li>
<p></p>
<li>Fixed rotation handling when in a UITabBarController.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2011/08/pdf-reader-viewer-v2-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS PDF Reader/Viewer v2.0</title>
		<link>http://www.vfr.org/2011/07/pdf-reader-viewer-v2-0/</link>
		<comments>http://www.vfr.org/2011/07/pdf-reader-viewer-v2-0/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 22:00:04 +0000</pubDate>
		<dc:creator>jo</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://www.vfr.org/?p=295</guid>
		<description><![CDATA[Now available on GitHub is version 2.0 of the open source iOS PDF Reader/Viewer. I&#8217;ve crafted this open source PDF reader/viewer for fellow iOS developers struggling with wrangling PDF files onto iOS device screens. The code is universal and does &#8230; <a href="http://www.vfr.org/2011/07/pdf-reader-viewer-v2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/vfr/Reader" target="_blank"><img src="http://www.vfr.org/wp-content/uploads/2010/09/Reader-Icon-072.png" alt="" title="Reader Icon" width="72" height="72" class="alignright size-full wp-image-44" /></a>Now available on GitHub is version 2.0 of the open source <a href="https://github.com/vfr/Reader" target="_blank">iOS PDF Reader/Viewer</a>.</p>
<p>I&#8217;ve crafted this open source PDF reader/viewer for fellow iOS developers struggling with wrangling PDF files onto iOS device screens.</p>
<p>The code is universal and does not require any XIBs (as all UI elements are code generated, allowing for greatest flexibility). It runs on iPad, iPhone and iPod touch with iOS 4.0 and up. Also supported are the Retina displays in all new devices and is ready to be fully internationalized. The idea was to provide a complete project template that you could start building from, or, just pull the required files into an existing project to enable PDF reading/viewing in your app(s).</p>
<p>Document navigation is very similar to iBooks: After launching the sample app, tap on the left hand side of the screen to go back a page. Tap on the right hand side to go to the next page. You can also swipe left and right to change pages. Tap on the screen to fade in the toolbar and page slider. Double-tap with one finger (or pinch out) to zoom in. Double tap with two fingers (or pinch in) to zoom out.</p>
<p>This implementation has been tested with large PDF files (over 250MB in size and over 2800 pages in length) and with PDF files of all flavors (from text only documents to graphics heavy magazines). It also works rather well on older devices (such as the iPod touch 2nd generation and iPhone 3G) and takes advantage of the dual-core processor (via CATiledLayer and multi-threading) in new devices.</p>
<p>The overall PDF reader/viewer functionality is encapsulated in the ReaderViewController class. To present a document with this class, you first need to create a ReaderDocument object with the file path to the PDF document and then initialize a new ReaderViewController with this ReaderDocument object. The ReaderViewController class uses a ReaderDocument object to store information about the document and to keep track of document properties (thumb cache directory path, bookmarks and the current page number for example).</p>
<p>An initialized ReaderViewController can then be presented modally, pushed onto a UINavigationController stack, placed in a UITabBarController tab, or be used as a root view controller. Please note that since ReaderViewController implements its own toolbar, you need to hide the UINavigationController navigation bar before pushing it and then show the navigation bar after popping it. The ReaderDemoController class shows how this is done with a bundled PDF file. To create a &#8216;book as an app&#8217;, have a look at the ReaderBookDelegate class.</p>
<p>Please see the <a href="https://github.com/vfr/Reader/blob/master/README">README</a> file for more details and information.</p>
<p><em>Revised 2012-04-14</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vfr.org/2011/07/pdf-reader-viewer-v2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

