I admit it is my fault if you don't know what exact type of Cocoa I am, since I don't tell you. So it is reasonable for you to just call me Cocoa. However, if you don't know what exact type of Cocoa I am, how could you call me BlackCocoa so surely?
On Thu, Jul 10, 2008 at 10:57 PM, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote: > You don't say you "my pet", you said "one of my family member's pet" > I'm not wrong if I assume that it's your brother pet. > > Just tell the compiler it is your pet and not your brother's on and it will > be happy (see the cast in the following line): > > > filteredPosts = [[self filterPosts:postNodes WithTag:[(Foo *)[tagView > itemAtRow:row] tag]] retain] > > > Le 10 juil. 08 à 16:50, an0 a écrit : > >> We are Cocoa family. I am a RedCocoa, and my elder brother is a >> BlackCocoa. We both have a `pet', but our Dad doesn't. My pet is a >> Cat, while my elder brother's pet is a Dog. And of course he got his >> pet long before me, for he is 10 but I am only 2. So as a Cocoa, am I >> supposed to have a pet Dog just because my elder brother has one? And >> should I be accused of lying every time I say I have a pet Cat? >> >> On Thu, Jul 10, 2008 at 10:10 PM, I. Savant <[EMAIL PROTECTED]> >> wrote: >>> >>> On Thu, Jul 10, 2008 at 9:49 AM, an0 <[EMAIL PROTECTED]> wrote: >>>> >>>> Thanks. But isn't it annoying for XCode to pretend to know something >>>> for sure while in fact it is just a wrong guess? At least the warning >>>> is very misleading. >>> >>> How is this XCode's fault, exactly? You appear to be blaming the IDE >>> for the idiosyncrasies of a dynamically-typed language combined with >>> your own lack of specificity. We'll leave alone the fact that XCode != >>> gcc ... >>> >>> As far as the warning goes, it isn't misleading at all - it's >>> telling you exactly what's happening. That it's "alright" in this case >>> can't be known by anybody but the developer with the information the >>> compiler has (unspecific type). >>> >>> -- >>> I.S. >>> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org >> >> This email sent to [EMAIL PROTECTED] >> > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]