Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Implement NSString compare:options:range

#105

Just do it.

Reported by cacaodev · October 13th, 2008 @ 04:35 AM

State: resolved
Milestone: 0.6
Assigned to: Ross Boucher Ross Boucher

Activity

  1. Ross Boucher
    Ross Boucher
    • State changed from new to open
    • Tag set to patch

    It's probably a bad idea to loop over the characters. I think a better approach would be to create two substrings, and then use the built in comparison (like it used to).

    October 19th, 2008 @ 10:04 PM

  2. Francisco Tolmasky
    Francisco Tolmasky
    • State changed from open to cla

    October 24th, 2008 @ 12:48 PM

  3. cacaodev
    cacaodev
    • Assigned user set to Ross Boucher
    • Tag changed from patch to cpstring, patch

    Could it be that simple ?

    // Please remove the comment line in the code. Could't do it myself.

    November 3rd, 2008 @ 08:21 AM

  4. admin (at 280north)
    admin (at 280north)
    • Milestone set to 0.6
    • State changed from cla to resolved

    (from [88f12bad9348e27c60e318aef368d678c073bd7e]) implement NSString compare:options:range

    Thanks to Cacaodev for the ticket and initial stab at this.

    [#105 Implement NSString compare:options:range state:resolved milestone:0.6] http://github.com/280north/cappu...

    November 10th, 2008 @ 08:31 AM

  5. admin (at 280north)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.