On Sun, Oct 3, 2010 at 10:11 PM, G S <stokest...@gmail.com> 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 (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 arch...@mail-archive.com

Reply via email to