<?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>Mobile Developer Tips &#187; Data / File Management</title>
	<atom:link href="http://MobileDeveloperTips.com/category/data-file-management/feed" rel="self" type="application/rss+xml" />
	<link>http://MobileDeveloperTips.com</link>
	<description>iOS Developer Tips, Tricks and Tutorials.</description>
	<lastBuildDate>Wed, 16 May 2012 12:25:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Sort A Dictionary By Value Of Each Key-Value Pair</title>
		<link>http://MobileDeveloperTips.com/data-file-management/sort-a-dictionary-using-the-value-in-key-value-pair.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/sort-a-dictionary-using-the-value-in-key-value-pair.html#comments</comments>
		<pubDate>Wed, 16 May 2012 08:30:07 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://MobileDeveloperTips.com/?p=11734</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/sort-a-dictionary-using-the-value-in-key-value-pair.html">Sort A Dictionary By Value Of Each Key-Value Pair</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Sort A Dictionary By Value Of Each Key-Value Pair is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved You can sort the values in a dictionary using the method keysSortedByValueUsingSelector:. The result is an array of keys from the dictionary, which represent the sorted values of the key-value pair. Let&#8217;s say for example [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/read-and-write-array-dictionary-and-other-collections-to-files.html' rel='bookmark' title='Read and Write Array, Dictionary and Other Collections to Files'>Read and Write Array, Dictionary and Other Collections to Files</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/add-comma-separators-to-numbers.html' rel='bookmark' title='Add Comma Separators to Numbers'>Add Comma Separators to Numbers</a></li>
<li><a href='http://MobileDeveloperTips.com/objective-c/introduction-to-blocks-in-objective-c-%e2%80%93-part-2.html' rel='bookmark' title='Introduction to Blocks in Objective-C – Part 2'>Introduction to Blocks in Objective-C – Part 2</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/sort-a-dictionary-using-the-value-in-key-value-pair.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Comma Separators to Numbers</title>
		<link>http://MobileDeveloperTips.com/data-file-management/add-comma-separators-to-numbers.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/add-comma-separators-to-numbers.html#comments</comments>
		<pubDate>Mon, 14 May 2012 11:11:55 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://MobileDeveloperTips.com/?p=11715</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/add-comma-separators-to-numbers.html">Add Comma Separators to Numbers</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Add Comma Separators to Numbers is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved Seems a common question, how can I format a number such as 123456 to look like 123,456? The NSNumberFormatter makes this quite easy. NSNumberFormatter *formatter = &#91;&#91;&#91;NSNumberFormatter alloc&#93; init&#93; autorelease&#93;; &#91;formatter setNumberStyle:NSNumberFormatterDecimalStyle&#93;; &#160; double d = 234567.89; int i [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/cocoa/formatting-numbers-nsnumberformatter-examples.html' rel='bookmark' title='Formatting Numbers &#8211; NSNumberFormatter Examples'>Formatting Numbers &#8211; NSNumberFormatter Examples</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/nsnumber-and-nsinteger.html' rel='bookmark' title='NSNumber versus NSInteger'>NSNumber versus NSInteger</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/date-formatter-examples-take-4-setting-locale.html' rel='bookmark' title='Date Formatter Examples &#8211; Take 4: Setting Locale'>Date Formatter Examples &#8211; Take 4: Setting Locale</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/add-comma-separators-to-numbers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Image Data Including Depth, Color Model, DPI and More</title>
		<link>http://MobileDeveloperTips.com/data-file-management/get-image-data-including-depth-color-model-dpi-and-more.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/get-image-data-including-depth-color-model-dpi-and-more.html#comments</comments>
		<pubDate>Tue, 08 May 2012 07:12:51 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://MobileDeveloperTips.com/?p=11604</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/get-image-data-including-depth-color-model-dpi-and-more.html">Get Image Data Including Depth, Color Model, DPI and More</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Get Image Data Including Depth, Color Model, DPI and More is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved Although you can get some basic information if you load an image into a UIImage object, at times it can be helpful to more about an image, for example, the color model (RGB, CMYK, [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/device/get-iphone-device-name-unique-device-identifier-udid-os-and-model.html' rel='bookmark' title='Get iPhone Device Name, Unique Device Identifier (UDID), OS and Model'>Get iPhone Device Name, Unique Device Identifier (UDID), OS and Model</a></li>
<li><a href='http://MobileDeveloperTips.com/graphics/convert-an-image-uiimage-to-grayscale.html' rel='bookmark' title='Convert an Image (UIImage) to Grayscale'>Convert an Image (UIImage) to Grayscale</a></li>
<li><a href='http://MobileDeveloperTips.com/graphics/how-to-crop-an-image.html' rel='bookmark' title='How to Crop an Image'>How to Crop an Image</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/get-image-data-including-depth-color-model-dpi-and-more.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overview of iOS Application Directories</title>
		<link>http://MobileDeveloperTips.com/data-file-management/overview-of-ios-application-directories.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/overview-of-ios-application-directories.html#comments</comments>
		<pubDate>Thu, 03 May 2012 06:45:18 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://MobileDeveloperTips.com/?p=11556</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/overview-of-ios-application-directories.html">Overview of iOS Application Directories</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Overview of iOS Application Directories is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved iOS applications have a limited number of directories available for writing content, the design intent is to ensure application security. This post will give a quick run down of the folder locations available in an iOS application and their [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/delete-all-files-in-documents-directory.html' rel='bookmark' title='Delete All Files in Documents Directory'>Delete All Files in Documents Directory</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/get-users-home-directory-part-2.html' rel='bookmark' title='Get Users Home Directory &#8211; Part 2'>Get Users Home Directory &#8211; Part 2</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/overview-of-ios-application-directories.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Count The Number of Words in a String</title>
		<link>http://MobileDeveloperTips.com/data-file-management/count-the-number-of-words-in-an-string.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/count-the-number-of-words-in-an-string.html#comments</comments>
		<pubDate>Mon, 16 Apr 2012 09:02:20 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=11472</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/count-the-number-of-words-in-an-string.html">Count The Number of Words in a String</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Count The Number of Words in a String is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved Here&#8217;s a quick way to count the number of words in an NSString object. The trick is to use the character set whitespaceAndNewlineCharacterSet which will look for spaces, tabs and newline characters. - &#40;NSUInteger&#41;wordCount:&#40;NSString *&#41;str &#123; [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/general/using-nsscanner-to-convert-hex-to-rgb-color.html' rel='bookmark' title='Using NSScanner to convert Hex to RGB Color'>Using NSScanner to convert Hex to RGB Color</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/obfuscation-encryption-of-string-nsstring.html' rel='bookmark' title='Obfuscate / Encrypt a String (NSString)'>Obfuscate / Encrypt a String (NSString)</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/truncate-an-nsstring-and-append-an-ellipsis-respecting-the-font-size.html' rel='bookmark' title='Truncate a String and Append an Ellipsis, Respecting the Font Size'>Truncate a String and Append an Ellipsis, Respecting the Font Size</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/count-the-number-of-words-in-an-string.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Register File Types to Associate File Extension with an App</title>
		<link>http://MobileDeveloperTips.com/data-file-management/register-file-types-associate-file-extension-with-an-app.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/register-file-types-associate-file-extension-with-an-app.html#comments</comments>
		<pubDate>Wed, 28 Mar 2012 08:27:01 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=11341</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/register-file-types-associate-file-extension-with-an-app.html">Register File Types to Associate File Extension with an App</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Register File Types to Associate File Extension with an App is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved If you would like other applications to open your app based on a file type, you can register your document request in the application plist file. Include the CFBundleDocumentTypes key, which is an array [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/xcode/tell-xcode-not-to-compile-a-file.html' rel='bookmark' title='Tell Xcode Not to Compile a File'>Tell Xcode Not to Compile a File</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/get-total-and-free-space-on-the-mounted-file-system.html' rel='bookmark' title='Get Total and Free Space on the Mounted File System'>Get Total and Free Space on the Mounted File System</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/register-file-types-associate-file-extension-with-an-app.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Delete All Files in Documents Directory</title>
		<link>http://MobileDeveloperTips.com/data-file-management/delete-all-files-in-documents-directory.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/delete-all-files-in-documents-directory.html#comments</comments>
		<pubDate>Tue, 17 Jan 2012 02:09:15 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=10941</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/delete-all-files-in-documents-directory.html">Delete All Files in Documents Directory</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Delete All Files in Documents Directory is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved In a recent project, I was using iTunes File Sharing to store various log files and test data. Although you can quickly delete all the files in the Documents directory using iTunes, I also was looking for a [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/get-users-home-directory-part-2.html' rel='bookmark' title='Get Users Home Directory &#8211; Part 2'>Get Users Home Directory &#8211; Part 2</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/get-users-home-directory.html' rel='bookmark' title='Get Users Home Directory &#8211; Part 1'>Get Users Home Directory &#8211; Part 1</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/delete-all-files-in-documents-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preview Documents Tutorial with QLPreviewController</title>
		<link>http://MobileDeveloperTips.com/data-file-management/preview-documents-with-qlpreviewcontroller.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/preview-documents-with-qlpreviewcontroller.html#comments</comments>
		<pubDate>Mon, 09 May 2011 11:04:05 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=8303</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/preview-documents-with-qlpreviewcontroller.html">Preview Documents Tutorial with QLPreviewController</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Preview Documents Tutorial with QLPreviewController is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved For the past few months I&#8217;ve been meaning to spend some time to check out the quick look document previewer on iOS &#8211; what follows is a short app that I wrote to get familiar with the QLPreviewController API. [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/get-users-home-directory.html' rel='bookmark' title='Get Users Home Directory &#8211; Part 1'>Get Users Home Directory &#8211; Part 1</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/preview-documents-with-qlpreviewcontroller.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Get Total and Free Space on the Mounted File System</title>
		<link>http://MobileDeveloperTips.com/data-file-management/get-total-and-free-space-on-the-mounted-file-system.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/get-total-and-free-space-on-the-mounted-file-system.html#comments</comments>
		<pubDate>Mon, 14 Jun 2010 12:27:09 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=6329</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/get-total-and-free-space-on-the-mounted-file-system.html">Get Total and Free Space on the Mounted File System</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Get Total and Free Space on the Mounted File System is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved I recently was writing code to manage the download and storing of mp4 files to enable an application to play movies off-line. One consideration when dealing with files of significant size (50-100 megs) is [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
<li><a href='http://MobileDeveloperTips.com/xcode/xcode-folders-and-the-file-system-part-2.html' rel='bookmark' title='Xcode, Folders and the File System &#8211; Part 2'>Xcode, Folders and the File System &#8211; Part 2</a></li>
<li><a href='http://MobileDeveloperTips.com/xcode/xcode-folders-and-the-file-system-part-1.html' rel='bookmark' title='Xcode, Folders and the File System &#8211; Part 1'>Xcode, Folders and the File System &#8211; Part 1</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/get-total-and-free-space-on-the-mounted-file-system.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Read Files from the Application Bundle</title>
		<link>http://MobileDeveloperTips.com/data-file-management/read-files-from-the-application-bundle.html</link>
		<comments>http://MobileDeveloperTips.com/data-file-management/read-files-from-the-application-bundle.html#comments</comments>
		<pubDate>Wed, 31 Mar 2010 08:09:30 +0000</pubDate>
		<dc:creator>John Muchow</dc:creator>
				<category><![CDATA[Data / File Management]]></category>

		<guid isPermaLink="false">http://iPhoneDeveloperTips.com/?p=6059</guid>
		<description><![CDATA[<p><a href="http://MobileDeveloperTips.com/data-file-management/read-files-from-the-application-bundle.html">Read Files from the Application Bundle</a> is protected by Copyright © <a href="http://MobileDeveloperTips.com">MobileDeveloperTips.com</a> 2008-2012 • All Rights Reserved</p>
Read Files from the Application Bundle is protected by Copyright © MobileDeveloperTips.com 2008-2012 • All Rights Reserved Below are a few lines of code to get you started if you need to open and read a file that is stored in the application bundle. Files could be anything from help text that your application displays [...]
Related posts:<ol>
<li><a href='http://MobileDeveloperTips.com/data-file-management/read-and-write-array-dictionary-and-other-collections-to-files.html' rel='bookmark' title='Read and Write Array, Dictionary and Other Collections to Files'>Read and Write Array, Dictionary and Other Collections to Files</a></li>
<li><a href='http://MobileDeveloperTips.com/cocoa/get-application-name.html' rel='bookmark' title='Get Application Name'>Get Application Name</a></li>
<li><a href='http://MobileDeveloperTips.com/data-file-management/iphone-file-system-creating-renaming-and-deleting-files.html' rel='bookmark' title='iPhone File System: Creating, Renaming and Deleting Files'>iPhone File System: Creating, Renaming and Deleting Files</a></li>
</ol>]]></description>
		<wfw:commentRss>http://MobileDeveloperTips.com/data-file-management/read-files-from-the-application-bundle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

