• 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: initialization from distinct Objective-C type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning: initialization from distinct Objective-C type


  • Subject: Re: warning: initialization from distinct Objective-C type
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Sun, 22 Aug 2010 00:04:26 +0200

Le 21 août 2010 à 23:52, email@hidden a écrit :

> How should I make the assignment to 'fm' below to get rid of this warning?
>
> warning: initialization from distinct Objective-C type
>
>
>
> /* drawWithFrame:inView */
> - (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {
>
> 	FramesMatrix* fm = controlView;

FramesMatrix *fm = (FramesMatrix *)controlView;


-- Jean-Daniel




_______________________________________________

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: 
 >warning: initialization from distinct Objective-C type (From: email@hidden)

  • Prev by Date: Re: Core Animation. issue with scaling
  • Next by Date: [iPhone] NSPredicate formatting questions
  • Previous by thread: warning: initialization from distinct Objective-C type
  • Next by thread: [iPhone] NSPredicate formatting questions
  • Index(es):
    • Date
    • Thread