• 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: Strange XCode Warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange XCode Warning


  • Subject: Re: Strange XCode Warning
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 15 Sep 2015 08:45:07 -0700


On Sep 15, 2015, at 8:36 AM, Dave <email@hidden> wrote:

Class<LTWDetailViewProtocol>

That declaration doesn’t make sense, because the class Class (i.e. a metaclass) can’t conform to a protocol. I think that’s the source of the strange warning; the compiler is sort of confused about whether that type denotes a class or an instance.

Change the type to just plain Class and it should compile.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange XCode Warning
      • From: Dave <email@hidden>
References: 
 >Strange XCode Warning (From: Dave <email@hidden>)

  • Prev by Date: Strange XCode Warning
  • Next by Date: Re: Strange XCode Warning
  • Previous by thread: Strange XCode Warning
  • Next by thread: Re: Strange XCode Warning
  • Index(es):
    • Date
    • Thread