Code Monkey home page Code Monkey logo

Comments (9)

lukeredpath avatar lukeredpath commented on July 20, 2024

I'd be happy to drop Xcode 3 support; in fact, when iOS5 is out, I'd be happy to drop < iOS 4 support too which means not having to worry about no block support. Less code to maintain too.

from kiwi.

allending avatar allending commented on July 20, 2024

Absolutely. Also, I wonder how many people still use GCC.

On Thu, Jun 23, 2011 at 8:14 AM, lukeredpath <
[email protected]>wrote:

I'd be happy to drop Xcode 3 support; in fact, when iOS5 is out, I'd be
happy to drop < iOS 4 support too which means not having to worry about no
block support. Less code to maintain too.

Reply to this email directly or view it on GitHub:
https://github.com/allending/Kiwi/issues/31#issuecomment-1422147

from kiwi.

joshuatbrown avatar joshuatbrown commented on July 20, 2024

I agree that dropping support for Xcode 3.x makes sense. However, I do use the blocks alternative so I can set breakpoints and debug within my tests. If there's a way to debug with blocks, I'd be happy to use them, but for now, I couldn't get debugging working unless I used the blocks alternative.

from kiwi.

lukeredpath avatar lukeredpath commented on July 20, 2024

Joshua, could you try out the latest build of Kiwi.

I've just committed a change that lets you disable the Kiwi built-in macros by defining KIWI_DISABLE_MACRO_API.

The result is that the equivalent functions will be called directly. The use of macros was to enable the calling of these functions with call-site information for better error handling although it seems that Xcode 4 is able to show errors in the correct place without this.

As a result, by not using the macros, code completion appears to work correctly, as do breakpoints within your spec blocks!

Please test it out.

from kiwi.

joshuatbrown avatar joshuatbrown commented on July 20, 2024

Works for me! Thanks for adding this!

This means I retract my previous comment - I'd be fine with support being dropped for the Blocks Alternative.

from kiwi.

jdewind avatar jdewind commented on July 20, 2024

It also works for me.

from kiwi.

allending avatar allending commented on July 20, 2024

All, I implemented the Xc4+ requirement by removing non-block support in the latest push.

Luke, I also removed the Kiwi macros (and the KIWI_DISABLE_MACRO_API since it is no longer relevant), and you are totally right, it works like a charm. I might be crazy but I don't usually write extra code for nothing, so I'll take another look just for sanity. Gosh, Xc3 was a PITA in this regard.

Shows you how much I have been slacking. :)

from kiwi.

lukeredpath avatar lukeredpath commented on July 20, 2024

Allen: might be worth looking at mock failures; I do seem to recall seeing some issues when not using the macros in terms of error line reporting, but not for all failures.

from kiwi.

allending avatar allending commented on July 20, 2024

Luke, will do.

Docs and Readme updated. Want to move everything to Github eventually. Anyone have tips on how to get Github to host those fancy looking landing pages or how to manage the Kiwi website? I don't really enjoying editing HTML files by hand.

from kiwi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.