• 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: Why isn't this delegate protocol being seen?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why isn't this delegate protocol being seen?


  • Subject: Re: Why isn't this delegate protocol being seen?
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 3 Oct 2010 22:34:29 -0700

On Sun, Oct 3, 2010 at 10:11 PM, G S <email@hidden> wrote:
> Hi all.  I'm getting a compiler warning that this delegate protocol
> isn't defined, when it most certainly is defined in the
> CLLocationManager.h file that I've included:

No it's not. CLLocationManagerDelegate is defined in
CLLocationManagerDelegate.h. CLLocationManager.h only includes a
forward reference to the protocol.

While #importing CLLocationMangaerDelegate.h will work, you're
probably best off replacing your individual header file imports with
an import of the umbrella header CoreLocation.h.

Also, a style point: when including framework headers, convention is
to use angle brackets, as you have done for your UIKit.h import. It
visually separates system headers from header files in your own
project.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Why isn't this delegate protocol being seen?
      • From: G S <email@hidden>
References: 
 >Why isn't this delegate protocol being seen? (From: G S <email@hidden>)

  • Prev by Date: Re: Why isn't this delegate protocol being seen?
  • Next by Date: Re: Why isn't this delegate protocol being seen?
  • Previous by thread: Re: Why isn't this delegate protocol being seen?
  • Next by thread: Re: Why isn't this delegate protocol being seen?
  • Index(es):
    • Date
    • Thread