Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

managingMarker returns YES when having no objects #31

Open
michaeltyson opened this issue Oct 24, 2010 · 0 comments
Open

managingMarker returns YES when having no objects #31

michaeltyson opened this issue Oct 24, 2010 · 0 comments

Comments

@michaeltyson
Copy link
Member

What steps will reproduce the problem?

  1. create a marker manager
  2. create a marker
  3. [markerManager managingMarker:marker] returns YES

What is the expected output? What do you see instead?
NO

What subversion release are you using? Does the behavior occur on the
simulator, a real iPhone/iPod Touch, or both?

0.5, simulator

funny enough if you change the code to:

/// \deprecated violates Objective-C naming rules

  • (BOOL) managingMarker:(RMMarker*)marker
    {
    if (marker != nil && [[self getMarkers] containsObject:marker]) {
    return YES;
    }
    return NO;
    }

iso indexOfObject, it does work, though i cannot explain why...

whiteboxcode referenced this issue in whiteboxcode/mapbox-ios-sdk Aug 19, 2012
whiteboxcode referenced this issue in whiteboxcode/mapbox-ios-sdk Aug 19, 2012
…cking heading

 * move halo/circle annotations to ivars
 * recreate tracking halo outside of annotation system
 * properly order subviews/sublayers
whiteboxcode referenced this issue in whiteboxcode/mapbox-ios-sdk Aug 19, 2012
whiteboxcode referenced this issue in whiteboxcode/mapbox-ios-sdk Aug 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant