<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-371408380585915800.post7162962397755796218..comments</id><updated>2011-08-15T09:56:38.694-07:00</updated><category term='C++'/><category term='self promotion'/><category term='code management'/><category term='Lion'/><category term='UIKit'/><category term='CoreAudio'/><category term='Cocoa Touch'/><category term='Xcode'/><category term='fun hacks'/><category term='CoreGraphics'/><category term='Objective-C'/><category term='Standard C'/><category term='graphics'/><category term='performance tests'/><category term='Core Data'/><category term='Foundation'/><category term='object-oriented design'/><category term='testing'/><category term='numerical methods'/><category term='WebKit'/><category term='CoreAnimation'/><category term='Snow Leopard'/><category term='AppKit'/><title type='text'>Comments on Cocoa with Love: 8 Confusing Objective-C Warnings and Errors</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cocoawithlove.com/feeds/7162962397755796218/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html'/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-6819822604311074025</id><published>2011-08-15T09:56:38.695-07:00</published><updated>2011-08-15T09:56:38.695-07:00</updated><title type='text'>With regards to Rule #2 and forwarding declaring v...</title><content type='html'>With regards to Rule #2 and forwarding declaring vs. importing a peer class in the .h/.m files respectively: If we&amp;#39;re using a custom view controller, and we want it to conform to a protocol that is defined by a peer class rather than a superclass, it isn&amp;#39;t possible to use a forward declaration and still still declare ourselves a conforming delegate. What&amp;#39;s the best practice in this case? Do we make exception and import the .h of our protocol-defining-class within our view controller&amp;#39;s .h?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/6819822604311074025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/6819822604311074025'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html?showComment=1313427398695#c6819822604311074025' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-7162962397755796218' source='http://www.blogger.com/feeds/371408380585915800/posts/default/7162962397755796218' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-5817948946361042289</id><published>2011-07-19T22:11:29.491-07:00</published><updated>2011-07-19T22:11:29.491-07:00</updated><title type='text'>Having methods in a class with the same name but d...</title><content type='html'>Having methods in a class with the same name but different signatures is something I did in Java, is this the problem and should I not be doing this in Objective-C.  &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.faadooengineers.com/threads/3136-AARUUSH-2011-Techno-Management-Fest-SRM-University-Chennai-Techno-Management-Fest-2011" rel="nofollow"&gt;AARUUSH-2011 &lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/5817948946361042289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/5817948946361042289'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html?showComment=1311138689491#c5817948946361042289' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-7162962397755796218' source='http://www.blogger.com/feeds/371408380585915800/posts/default/7162962397755796218' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-2607296402391333073</id><published>2011-06-14T08:11:20.988-07:00</published><updated>2011-06-14T08:11:20.988-07:00</updated><title type='text'>Also for the error: &amp;quot;duplicate interface decl...</title><content type='html'>Also for the error: &amp;quot;duplicate interface declaration for class&amp;quot;, you can get this if your import statements are below your @implementation line in your .m file.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/2607296402391333073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/2607296402391333073'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html?showComment=1308064280988#c2607296402391333073' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-7162962397755796218' source='http://www.blogger.com/feeds/371408380585915800/posts/default/7162962397755796218' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-7962012255879437709</id><published>2010-04-16T05:25:40.000-07:00</published><updated>2010-04-16T05:25:40.000-07:00</updated><title type='text'>If you want subclasses to inherit methods but not ...</title><content type='html'>If you want subclasses to inherit methods but not to have those methods in the public interface (effectively being &amp;quot;protected&amp;quot; scope methods), you should declare an @protocol for the class with these pseudo-protected methods, put it in a &amp;quot;-priv.h&amp;quot; header file and only #include it in the subclasses.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/7962012255879437709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/7962012255879437709'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html?showComment=1271420740000#c7962012255879437709' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-7162962397755796218' source='http://www.blogger.com/feeds/371408380585915800/posts/default/7162962397755796218' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry><entry><id>tag:blogger.com,1999:blog-371408380585915800.post-2129205576644473753</id><published>2010-04-16T04:59:25.000-07:00</published><updated>2010-04-16T04:59:25.000-07:00</updated><title type='text'>No way of fixing. The declaration of a method in m...</title><content type='html'>No way of fixing. The declaration of a method in m file cannot be seen in the child class as you #import only the header file.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/2129205576644473753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/371408380585915800/7162962397755796218/comments/default/2129205576644473753'/><link rel='alternate' type='text/html' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html?showComment=1271419165000#c2129205576644473753' title=''/><author><name>Matt Gallagher</name><uri>http://www.blogger.com/profile/12617910364694969282</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://cocoawithlove.com/2009/04/8-confusing-objective-c-warnings-and.html' ref='tag:blogger.com,1999:blog-371408380585915800.post-7162962397755796218' source='http://www.blogger.com/feeds/371408380585915800/posts/default/7162962397755796218' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-475684210'/></entry></feed>
