G S wrote:

>> No it's not. CLLocationManagerDelegate is defined in
>> CLLocationManagerDelegate.h. CLLocationManager.h only includes a
>> forward reference to the protocol.
> 
> Aha, right-O.  Thanks.  I had just done a quick search and found the
> string in there, and left it at that.  I have a bunch of examples that
> for some reason import the specific files instead of CoreLocation.h.
> Replacing them with that single file did the trick.
> 
> I do prefer the angle brackets, but have encountered unpredictable
> results when using them in the past.  They do work here, however.

Kyle was not quite accurate in simply referring to the brackets vs. quotes as a 
matter of style. An include directive with quotes searches in more locations 
than one using brackets. The oversimplified delineation is that the brackets 
will only consider system-provided headers while the quotes will consider those 
*after* first looking within your project.

For a more correct explanation, I'd point you toward any C language reference. 
But as a practical matter the summary'll do fine until you get a chance.

Greg
_______________________________________________

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