<?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: Introduction to MapKit in iPhone OS 3.0</title>
	<atom:link href="/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/</link>
	<description>iPhone Programming Tutorials</description>
	<lastBuildDate>Mon, 18 Aug 2014 06:06:00 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>By: Sean</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-9674</link>
		<dc:creator><![CDATA[Sean]]></dc:creator>
		<pubDate>Fri, 05 Apr 2013 23:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-9674</guid>
		<description><![CDATA[When I try to run the App I get the following error:


index 0 beyond bounds for empty array.


I notice that in the tutorial there is no property for the array.  There is also no code (from what I can tell) for loading the array initially with data...so we get the empty array exception.  from what I can tell the only place in the code that shows the array is in the - (UITableViewCell *)tableView.....method.   



Also, now that we used xcode WITH Automatic Reference Counting (ARC), the autorelease statements are not accepted by the IDE/compiler.  I tried adding a flag to the class in order to disable ARC but I am getting the error. 



Any idea on how to get past the empty array error?


Thank you,]]></description>
		<content:encoded><![CDATA[<p>When I try to run the App I get the following error:</p>
<p>index 0 beyond bounds for empty array.</p>
<p>I notice that in the tutorial there is no property for the array.  There is also no code (from what I can tell) for loading the array initially with data&#8230;so we get the empty array exception.  from what I can tell the only place in the code that shows the array is in the &#8211; (UITableViewCell *)tableView&#8230;..method.   </p>
<p>Also, now that we used xcode WITH Automatic Reference Counting (ARC), the autorelease statements are not accepted by the IDE/compiler.  I tried adding a flag to the class in order to disable ARC but I am getting the error. </p>
<p>Any idea on how to get past the empty array error?</p>
<p>Thank you,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhishek bedi</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-9404</link>
		<dc:creator><![CDATA[abhishek bedi]]></dc:creator>
		<pubDate>Thu, 10 May 2012 12:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-9404</guid>
		<description><![CDATA[ try subclassing it !]]></description>
		<content:encoded><![CDATA[<p> try subclassing it !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MapView</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-8497</link>
		<dc:creator><![CDATA[MapView]]></dc:creator>
		<pubDate>Sun, 30 Oct 2011 17:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-8497</guid>
		<description><![CDATA[Please share the code/concept of how you solved this. (if you have)]]></description>
		<content:encoded><![CDATA[<p>Please share the code/concept of how you solved this. (if you have)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gina</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-6310</link>
		<dc:creator><![CDATA[Gina]]></dc:creator>
		<pubDate>Thu, 28 Apr 2011 21:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-6310</guid>
		<description><![CDATA[Great tutorial. I&#039;m really trying to get my head around MapKit and this was amazing. It&#039;s a huge difference to listen to your screencast as opposed to just reading. I know it&#039;s a lot of work but I loved it.

I&#039;m getting a run-time error, tho. The app crashes immediately with the following message. Please help :)

2011-04-28 14:00:42.849 IcodeBlogMap[1837:207] *** Terminating app due to uncaught exception &#039;NSUnknownKeyException&#039;, reason: &#039;[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableView.&#039;]]></description>
		<content:encoded><![CDATA[<p>Great tutorial. I&#8217;m really trying to get my head around MapKit and this was amazing. It&#8217;s a huge difference to listen to your screencast as opposed to just reading. I know it&#8217;s a lot of work but I loved it.</p>
<p>I&#8217;m getting a run-time error, tho. The app crashes immediately with the following message. Please help <img src="/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
<p>2011-04-28 14:00:42.849 IcodeBlogMap[1837:207] *** Terminating app due to uncaught exception &#8216;NSUnknownKeyException&#8217;, reason: &#8216;[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key tableView.&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raja</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5731</link>
		<dc:creator><![CDATA[raja]]></dc:creator>
		<pubDate>Thu, 17 Mar 2011 11:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-5731</guid>
		<description><![CDATA[Hi,
 I am also want this this in my app can you.If completed with so can help me out ]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
 I am also want this this in my app can you.If completed with so can help me out </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harry</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5730</link>
		<dc:creator><![CDATA[harry]]></dc:creator>
		<pubDate>Thu, 17 Mar 2011 11:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-5730</guid>
		<description><![CDATA[Even I am trying to do this .If you completed with this then help me out from this condition .]]></description>
		<content:encoded><![CDATA[<p>Even I am trying to do this .If you completed with this then help me out from this condition .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stinkyh</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5527</link>
		<dc:creator><![CDATA[Stinkyh]]></dc:creator>
		<pubDate>Tue, 08 Mar 2011 13:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-5527</guid>
		<description><![CDATA[Great post, thanks. Just one thing... it&#039;s not Saint Regent lol (as you said in your video) it&#039;s Regent Street (the St. stand for street). Not particularly relevant but hey.

]]></description>
		<content:encoded><![CDATA[<p>Great post, thanks. Just one thing&#8230; it&#8217;s not Saint Regent lol (as you said in your video) it&#8217;s Regent Street (the St. stand for street). Not particularly relevant but hey.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eden</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4599</link>
		<dc:creator><![CDATA[Eden]]></dc:creator>
		<pubDate>Sun, 13 Feb 2011 08:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-4599</guid>
		<description><![CDATA[Hi Colin,

This is a very great tutorial. 

I have a question to add more cell in each section, bcos in my project, i have only 2 section, 1st section have 65 cells and 2nd section have 60 cells, i try to change the section from &quot;return 3&quot; to &quot;return 2&quot; it works.

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return 2;
}

But when i change the cell from &quot;return 5&quot; to &quot;return 65&quot;, it doesn&#039;t work.

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
	return 65;
}

Can you pls teach me how to change this code are able to fulfill my requirement ?

Thank you very much !

Regards,
eden
eden_yap@live.com/
]]></description>
		<content:encoded><![CDATA[<p>Hi Colin,</p>
<p>This is a very great tutorial. </p>
<p>I have a question to add more cell in each section, bcos in my project, i have only 2 section, 1st section have 65 cells and 2nd section have 60 cells, i try to change the section from &#8220;return 3&#8243; to &#8220;return 2&#8243; it works.</p>
<p>- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView<br />
{<br />
    return 2;<br />
}</p>
<p>But when i change the cell from &#8220;return 5&#8243; to &#8220;return 65&#8243;, it doesn&#8217;t work.</p>
<p>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section<br />
{<br />
	return 65;<br />
}</p>
<p>Can you pls teach me how to change this code are able to fulfill my requirement ?</p>
<p>Thank you very much !</p>
<p>Regards,<br />
eden<br />
<a href="mailto:eden_yap@live.com">eden_yap@live.com</a>/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4415</link>
		<dc:creator><![CDATA[James]]></dc:creator>
		<pubDate>Mon, 24 Jan 2011 03:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-4415</guid>
		<description><![CDATA[hi I was wounding how you could add buttons instead of the title and subtitle and if you can&#039;t can you tell me how to add a detail diclosed button.
Thanks]]></description>
		<content:encoded><![CDATA[<p>hi I was wounding how you could add buttons instead of the title and subtitle and if you can&#8217;t can you tell me how to add a detail diclosed button.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shiim</title>
		<link>http://icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4414</link>
		<dc:creator><![CDATA[Shiim]]></dc:creator>
		<pubDate>Tue, 21 Dec 2010 22:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-4414</guid>
		<description><![CDATA[Why does the Instruments tool show a leak on
NSMutableArray *annotations = [[NSMutableArray alloc] init]; ?]]></description>
		<content:encoded><![CDATA[<p>Why does the Instruments tool show a leak on<br />
NSMutableArray *annotations = [[NSMutableArray alloc] init]; ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
