<?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: get Image from Contact stored in AddressBook [iPhone]</title>
	<atom:link href="http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/feed/" rel="self" type="application/rss+xml" />
	<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/</link>
	<description>Help to build mobile applications for Apple Store</description>
	<lastBuildDate>Mon, 14 Jun 2010 12:56:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Sanjay Samani</title>
		<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/comment-page-1/#comment-581</link>
		<dc:creator>Sanjay Samani</dc:creator>
		<pubDate>Fri, 12 Jun 2009 12:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=33#comment-581</guid>
		<description>Amit,

the leak is in the line:
&lt;code&gt;        image = [UIImage imageWithData:(NSData *)ABPersonCopyImageData(person)];&lt;/code&gt;

which instead should read something like:

&lt;code&gt;CFDataRef imageData = ABPersonCopyImageData(person)];
image = [UIImage imageWithData:(NSData *)imageData];
CFRelease(imageData);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->Amit,</p>
<p>the leak is in the line:<br />
<code>        image = [UIImage imageWithData:(NSData *)ABPersonCopyImageData(person)];</code></p>
<p>which instead should read something like:</p>
<p><code>CFDataRef imageData = ABPersonCopyImageData(person)];<br />
image = [UIImage imageWithData:(NSData *)imageData];<br />
CFRelease(imageData);<br />
</code><!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/comment-page-1/#comment-561</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Thu, 11 Jun 2009 12:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=33#comment-561</guid>
		<description>I have more than 2k contacts to read form addressbook, but the reading code crashes ( low memory) after reading 2k records. Application have no leak in contacts reading code, i checked with leak application.</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->I have more than 2k contacts to read form addressbook, but the reading code crashes ( low memory) after reading 2k records. Application have no leak in contacts reading code, i checked with leak application.<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/comment-page-1/#comment-20</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 15 Apr 2009 05:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=33#comment-20</guid>
		<description>yep you can do that. the code i already written get all the images from contact list , you just need to stored those images in some mutable array and used it anywhere you likes :)</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->yep you can do that. the code i already written get all the images from contact list , you just need to stored those images in some mutable array and used it anywhere you likes <img src='http://adeem.me/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asif</title>
		<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/comment-page-1/#comment-8</link>
		<dc:creator>Asif</dc:creator>
		<pubDate>Mon, 13 Apr 2009 09:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=33#comment-8</guid>
		<description>How can we display address book images in our application</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->How can we display address book images in our application<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: get Image from Contact stored in AddressBook &#171; iPhone Diary</title>
		<link>http://adeem.me/blog/2009/04/02/get-image-from-contact-stored-in-addressbook/comment-page-1/#comment-4</link>
		<dc:creator>get Image from Contact stored in AddressBook &#171; iPhone Diary</dc:creator>
		<pubDate>Wed, 08 Apr 2009 18:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://adeem.me/blog/?p=33#comment-4</guid>
		<description>[...] April 4, 2009 at 2:25 PM (iPhone) (AddressBook, Contact, iPhone)  Moved to Adeem.me [...]</description>
		<content:encoded><![CDATA[<p><!-- google_ad_section_start --><!-- google_ad_section_start -->[...] April 4, 2009 at 2:25 PM (iPhone) (AddressBook, Contact, iPhone)  Moved to Adeem.me [...]<!-- google_ad_section_end --><!-- google_ad_section_end --></p>
]]></content:encoded>
	</item>
</channel>
</rss>
