<?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>iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips &#187; Tag: memory management</title>
	<atom:link href="http://maniacdev.com/tag/memory-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://maniacdev.com</link>
	<description>ManiacDev.Com</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:28:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Great Library For Custom Controls And Easy Memory Management</title>
		<link>http://maniacdev.com/2010/03/great-library-for-custom-controls-and-easy-memory-management/</link>
		<comments>http://maniacdev.com/2010/03/great-library-for-custom-controls-and-easy-memory-management/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:23:47 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[Objective-C Programming]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[open source library]]></category>
		<category><![CDATA[progress bar]]></category>
		<category><![CDATA[uisegmentedcontrol]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=1512</guid>
		<description><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2010/03/great-library-for-custom-controls-and-easy-memory-management/&amp;text=Great Library For Custom Controls And Easy Memory Management&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
I&#8217;ve found out about a terrific library that allows you to easily implement useful functionality into your apps such as easier memory management, multi-line segmented controls, a special view allowing users to enter ratings, custom progress bars, and many other utility functions with more being added over time. Check it out here on Github: TouchCustoms [...]]]></description>
			<content:encoded><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2010/03/great-library-for-custom-controls-and-easy-memory-management/&amp;text=Great Library For Custom Controls And Easy Memory Management&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p>I&#8217;ve found out about a terrific library that allows you to easily implement useful functionality into your apps such as easier memory management, multi-line segmented controls, a special view allowing users to enter ratings, custom progress bars, and many other utility functions with more being added over time.</p>
<p>Check it out here on Github: <a href="http://github.com/eisernWolf/TouchCustoms" target="_blank">TouchCustoms</a></p>
<p>[Via: <a href="http://www.alexcurylo.com/blog/2010/03/23/source-scsegmentedcontrol/trackback/" target="_blank">Under The Bridge</a>]</p>
<p>&copy;2012 <a href="http://maniacdev.com">iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips</a>. All Rights Reserved.</p>.<div class="prli-social-buttons-bar"><a href="http://del.icio.us/post?url=http%3A%2F%2Fmaniacdev.com%2F95b&title=Great+Library+For+Custom+Controls+And+Easy+Memory+Management" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/delicious_32.png" alt="Delicious" title="Delicious" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://twitter.com/home?status=RT+%40maniacdev%3A+Great+Library+For+Custom+Controls+And+Easy+Memory+Management+http%3A%2F%2Fmaniacdev.com%2F95b" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/twitter_32.png" alt="Twitter" title="Twitter" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://technorati.com/faves?add=http%3A%2F%2Fmaniacdev.com%2F95b" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/technorati_32.png" alt="Technorati" title="Technorati" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmaniacdev.com%2F95b&t=Great+Library+For+Custom+Controls+And+Easy+Memory+Management" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/facebook_32.png" alt="Facebook" title="Facebook" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fmaniacdev.com%2F95b&title=Great+Library+For+Custom+Controls+And+Easy+Memory+Management" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/linkedin_32.png" alt="LinkedIn" title="LinkedIn" border="0" style="padding: 0 20px 0 0;" /></a><a href="mailto:?subject=Great Library For Custom Controls And Easy Memory Management&body=Great Library For Custom Controls And Easy Memory Management%20http%3A%2F%2Fmaniacdev.com%2F95b" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/email_32.png" alt="Email" title="Email" border="0" style="padding: 0 20px 0 0;" /></a></div>
	Tags: <a href="http://maniacdev.com/tag/memory-management/" title="memory management" rel="tag" rel="nofollow">memory management</a>, <a href="http://maniacdev.com/tag/uisegmentedcontrol/" title="uisegmentedcontrol" rel="tag" rel="nofollow">uisegmentedcontrol</a>, <a href="http://maniacdev.com/tag/open-source-library/" title="open source library" rel="tag" rel="nofollow">open source library</a>, <a href="http://maniacdev.com/tag/progress-bar/" title="progress bar" rel="tag" rel="nofollow">progress bar</a><br />
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2010/03/great-library-for-custom-controls-and-easy-memory-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid Retain Cycles In Objective-C</title>
		<link>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/</link>
		<comments>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 20:32:44 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone SDK And iPad SDK]]></category>
		<category><![CDATA[Objective-C Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=572</guid>
		<description><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/&amp;text=Avoid Retain Cycles In Objective-C&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
Found an excellent set of rules from Matt Gallagher on how to avoid retain cycles in Objective-C.&#160; Uh-Oh A Class Is Still Retained Somewhere&#8230; A problem that can occur in Objective-C&#160;is that when you start sharing objects between classes and increasing the retain count you can end up with a situation where one class inherits [...]]]></description>
			<content:encoded><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/&amp;text=Avoid Retain Cycles In Objective-C&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p>Found an excellent set of rules from Matt Gallagher on how to avoid retain cycles in Objective-C.&nbsp; </p>
<p><span style="font-size: medium;">Uh-Oh A Class Is Still Retained Somewhere&#8230;</span></p>
<p><span style="font-size: small;">A problem that can occur in Objective-C&nbsp;is that when you start sharing objects between classes and increasing the retain count you can end up with a situation where one class inherits from another, and then when you want to release the object does not get released from memory because it is being retained by a class lower down the class hierarchy.<br />
</span><br />
<span style="font-size: medium;">One Basic Rule<br />
</span><br />
<span style="font-size: small;">Now if this all sounds confusing, Matt explains everything well in his article, and has created a set of 5 rules.&nbsp; Ultimately it comes down to one basic rule:</span></p>
<blockquote>
<p><span style="font-size: small;"><em><span class="fullpost">&quot;an object may only retain something indefinitely if it is hierarchically senior. If you don&#8217;t know which object is senior, you must work it out before you retain. If there is no clear senior object &mdash; you should redesign so that there is.</span>&quot;</em></span></p>
</blockquote>
<p>
For a more detailed detailed explanation (with diagrams)&nbsp;be sure to check out:&nbsp;<a href="http://cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html">Rules To Avoid Retain Cycles</a></p>
<p>[Via:&nbsp;<a href="http://cocoawithlove.com/">Cocoa With Love</a>]</p>
<p>&nbsp;</p>
<p>&copy;2012 <a href="http://maniacdev.com">iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips</a>. All Rights Reserved.</p>.<div class="prli-social-buttons-bar"><a href="http://del.icio.us/post?url=http%3A%2F%2Fmaniacdev.com%2Fuzq&title=Avoid+Retain+Cycles+In+Objective-C" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/delicious_32.png" alt="Delicious" title="Delicious" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://twitter.com/home?status=RT+%40maniacdev%3A+Avoid+Retain+Cycles+In+Objective-C+http%3A%2F%2Fmaniacdev.com%2Fuzq" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/twitter_32.png" alt="Twitter" title="Twitter" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://technorati.com/faves?add=http%3A%2F%2Fmaniacdev.com%2Fuzq" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/technorati_32.png" alt="Technorati" title="Technorati" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmaniacdev.com%2Fuzq&t=Avoid+Retain+Cycles+In+Objective-C" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/facebook_32.png" alt="Facebook" title="Facebook" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fmaniacdev.com%2Fuzq&title=Avoid+Retain+Cycles+In+Objective-C" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/linkedin_32.png" alt="LinkedIn" title="LinkedIn" border="0" style="padding: 0 20px 0 0;" /></a><a href="mailto:?subject=Avoid Retain Cycles In Objective-C&body=Avoid Retain Cycles In Objective-C%20http%3A%2F%2Fmaniacdev.com%2Fuzq" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/email_32.png" alt="Email" title="Email" border="0" style="padding: 0 20px 0 0;" /></a></div>
	Tags: <a href="http://maniacdev.com/tag/iphone/" title="iPhone" rel="tag" rel="nofollow">iPhone</a>, <a href="http://maniacdev.com/tag/objective-c/" title="objective-c" rel="tag" rel="nofollow">objective-c</a>, <a href="http://maniacdev.com/tag/programming/" title="programming" rel="tag" rel="nofollow">programming</a>, <a href="http://maniacdev.com/tag/development/" title="development" rel="tag" rel="nofollow">development</a>, <a href="http://maniacdev.com/tag/memory-management/" title="memory management" rel="tag" rel="nofollow">memory management</a><br />
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/avoid-retain-cycles-in-objective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objective-C Dev Programming Tutorial On Memory Management</title>
		<link>http://maniacdev.com/2009/07/video-tutorials-on-objective-c-memory-management/</link>
		<comments>http://maniacdev.com/2009/07/video-tutorials-on-objective-c-memory-management/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 02:46:27 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[iPhone Programming Tutorials]]></category>
		<category><![CDATA[Objective-C Programming]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[memory management]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://maniacdev.com/?p=478</guid>
		<description><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2009/07/video-tutorials-on-objective-c-memory-management/&amp;text=Objective-C Dev Programming Tutorial On Memory Management&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
Something I&#8217;ve found with talking to programmers new to Objective-C is that most often the most confusing concept is memory management. The reason for this is because in Objective-C memory is managed in a different manner from the mainstream languages typically taught in school (C/C++/Java), and introduces new concepts such as the retain count, and [...]]]></description>
			<content:encoded><![CDATA[
<div class="twitterbutton" style="float: right; padding-left: 5px;"><a href="http://twitter.com/share?url=http://maniacdev.com/2009/07/video-tutorials-on-objective-c-memory-management/&amp;text=Objective-C Dev Programming Tutorial On Memory Management&amp;via=maniacdev&amp;related=DolcePixel"><img align="right" src="http://maniacdev.com/wp-content/plugins//easy-twitter-button/i/buttons/en/tweetn.png" style="border: none;" alt="" /></a></div>
<p>Something I&#8217;ve found with talking to programmers new to Objective-C is that most often the most confusing concept is memory management.</p>
<p>The reason for this is because in Objective-C memory is managed in a different manner from the mainstream languages typically taught in school (C/C++/Java), and introduces new concepts such as the retain count, and auto release pools.</p>
<p>Mark Johnson has created an extensive collection of video presentations that provide an in depth explanation of Memory Management in Objective-C.  This is definitely worth checking out if you are new to the language or this is something you are not totally clear on.</p>
<p>This is the first video:</p>
<div style="text-align:center;"><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/WSZUy69fHeA?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/WSZUy69fHeA?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></div>
<p>You can find the rest of the videos on Mark&#8217;s site at:<br />
Memory Management Basics Video Tutorial &#8211; <a rel="nofollow" href="http://www.markj.net/iphone-memory-management-tutorial-video/" target="_blank">Click Here</a></p>
<p>[Source: <a rel="nofollow" href="http://markj.net" target="_blank">markj.net</a>]</p>
<p>&copy;2012 <a href="http://maniacdev.com">iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips</a>. All Rights Reserved.</p>.<div class="prli-social-buttons-bar"><a href="http://del.icio.us/post?url=http%3A%2F%2Fmaniacdev.com%2Fez9&title=Objective-C+Dev+Programming+Tutorial+On+Memory+Management+" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/delicious_32.png" alt="Delicious" title="Delicious" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://twitter.com/home?status=RT+%40maniacdev%3A+Objective-C+Dev+Programming+Tutorial+On+Memory+Management++http%3A%2F%2Fmaniacdev.com%2Fez9" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/twitter_32.png" alt="Twitter" title="Twitter" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://technorati.com/faves?add=http%3A%2F%2Fmaniacdev.com%2Fez9" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/technorati_32.png" alt="Technorati" title="Technorati" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fmaniacdev.com%2Fez9&t=Objective-C+Dev+Programming+Tutorial+On+Memory+Management+" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/facebook_32.png" alt="Facebook" title="Facebook" border="0" style="padding: 0 20px 0 0;" /></a><a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fmaniacdev.com%2Fez9&title=Objective-C+Dev+Programming+Tutorial+On+Memory+Management+" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/linkedin_32.png" alt="LinkedIn" title="LinkedIn" border="0" style="padding: 0 20px 0 0;" /></a><a href="mailto:?subject=Objective-C Dev Programming Tutorial On Memory Management &body=Objective-C Dev Programming Tutorial On Memory Management %20http%3A%2F%2Fmaniacdev.com%2Fez9" rel="nofollow" target="_blank"><img src="http://maniacdev.com/wp-content/plugins/pretty-link/images/email_32.png" alt="Email" title="Email" border="0" style="padding: 0 20px 0 0;" /></a></div>
	Tags: <a href="http://maniacdev.com/tag/tutorial/" title="tutorial" rel="tag" rel="nofollow">tutorial</a>, <a href="http://maniacdev.com/tag/development/" title="development" rel="tag" rel="nofollow">development</a>, <a href="http://maniacdev.com/tag/iphone/" title="iPhone" rel="tag" rel="nofollow">iPhone</a>, <a href="http://maniacdev.com/tag/programming/" title="programming" rel="tag" rel="nofollow">programming</a>, <a href="http://maniacdev.com/tag/objective-c/" title="objective-c" rel="tag" rel="nofollow">objective-c</a>, <a href="http://maniacdev.com/tag/memory-management/" title="memory management" rel="tag" rel="nofollow">memory management</a><br />
]]></content:encoded>
			<wfw:commentRss>http://maniacdev.com/2009/07/video-tutorials-on-objective-c-memory-management/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

