<?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="http://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/</link>
	<description>Conquering the mobile universe</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:48:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: MapView</title>
		<link>http://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-8497</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-6310</link>
		<dc:creator>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>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='http://www.icodeblog.com/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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5731</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5730</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-5527</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4599</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4415</link>
		<dc:creator>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>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://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4414</link>
		<dc:creator>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>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>
	<item>
		<title>By: Shiim</title>
		<link>http://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4413</link>
		<dc:creator>Shiim</dc:creator>
		<pubDate>Sun, 12 Dec 2010 13:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-4413</guid>
		<description>Problem solved.
In cellForRowatIndexPath I did this:

&lt;code&gt;
NSMutableArray *annotations = [[NSMutableArray alloc] init];
	if(indexPath.section == 0)
	{
		for(MinuAsukohad *annotation in [mapView annotations])
		{
			if(![annotation isKindOfClass:[MKUserLocation class]])
			{
			if([annotation annotationType] == MinuAsukohadTypeInterest)
				{
				[annotations addObject:annotation];
				}
			}
		}
		cell.textLabel.text = [[annotations objectAtIndex:indexPath.row] title];
	}
&lt;/code&gt;

You just have to repeat it for all the sections.</description>
		<content:encoded><![CDATA[<p>Problem solved.<br />
In cellForRowatIndexPath I did this:</p>
<p><code><br />
NSMutableArray *annotations = [[NSMutableArray alloc] init];<br />
	if(indexPath.section == 0)<br />
	{<br />
		for(MinuAsukohad *annotation in [mapView annotations])<br />
		{<br />
			if(![annotation isKindOfClass:[MKUserLocation class]])<br />
			{<br />
			if([annotation annotationType] == MinuAsukohadTypeInterest)<br />
				{<br />
				[annotations addObject:annotation];<br />
				}<br />
			}<br />
		}<br />
		cell.textLabel.text = [[annotations objectAtIndex:indexPath.row] title];<br />
	}<br />
</code></p>
<p>You just have to repeat it for all the sections.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shiim</title>
		<link>http://www.icodeblog.com/2009/12/21/introduction-to-mapkit-in-iphone-os-3-0/#comment-4412</link>
		<dc:creator>Shiim</dc:creator>
		<pubDate>Sun, 12 Dec 2010 11:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://icodeblog.com/?p=1297#comment-4412</guid>
		<description>I&#039;ve got the same problem as vinay has - the app crashes when trying to roll the table after tapping the button which calls IBAction to show user location.
Probably the table tries to set the location annotation as a cell or smth.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got the same problem as vinay has &#8211; the app crashes when trying to roll the table after tapping the button which calls IBAction to show user location.<br />
Probably the table tries to set the location annotation as a cell or smth.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

