• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: warning: assignment from distinct Objective-C type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: assignment from distinct Objective-C type


  • Subject: Re: warning: assignment from distinct Objective-C type
  • From: Keary Suska <email@hidden>
  • Date: Tue, 11 Mar 2008 08:57:39 -0700
  • Thread-topic: warning: assignment from distinct Objective-C type

on 3/11/08 1:50 AM, email@hidden purportedly said:

> Ron -- thanks for the quick reply.
>
> I do have the XMPPStream class declared in the .h file where the
> variable is declared.
> And the .m does import the XMPPStream header file.
> After all, without those, I'd get outright errors :-)
>
>
> On Mar 10, 2008, at 10:42 PM, Ron Fleckner wrote:
>
>>
>> On 11/03/2008, at 7:19 PM, Stuart Malin wrote:
>>
>>> I have a line of code:
>>>
>>> xmppStream = [[XMPPStream alloc] initWithDelegate:self];
>>>
>>> That when compiled, receives a warning:
>>>
>>> warning: assignment from distinct Objective-C type

Are xmppStream and the object returned by -initWithDelegate: defined to be
of the *exact* same class?

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >Re: warning: assignment from distinct Objective-C type (From: Stuart Malin <email@hidden>)

  • Prev by Date: Re: NSURLDownload and userInfo
  • Next by Date: Re: Check box cell in NSTableView
  • Previous by thread: Re: warning: assignment from distinct Objective-C type
  • Next by thread: Re: warning: assignment from distinct Objective-C type
  • Index(es):
    • Date
    • Thread