Giter Site home page Giter Site logo

Comments (13)

ddaddy avatar ddaddy commented on August 16, 2024

Wow, so your saying it doesn't even need instantiating?
I always make sure I but at least 1 config line just to make sure it loaded.

from irate.

aaronbarsky avatar aaronbarsky commented on August 16, 2024

I know, it's a bit scary.
From the docs:
"[NSObject load] is called whenever a class is added to the Objective-C runtime".
iRate's load function calls the [sharedInstance] method on the main thread and that's enough to set iRate in motion. You don't even need to include iRate.h anywhere. The iRate class is added to the runtime by compiling iRate.m into the project.
This is easily verified by setting a breakpoint in the iRate init code.

But maybe this is a bit fancy, and recommending [iRate sharedInstance].previewMode = NO as the minimal configuration would be a bit less nervewracking.

from irate.

ddaddy avatar ddaddy commented on August 16, 2024

Thanks, thats a new one for me.
I'll have a play with that when I get time.

from irate.

nicklockwood avatar nicklockwood commented on August 16, 2024

When I say zero config, I mean zero :-)

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

I installed iRate into my App as in the example and get these 2 errors? Thanks!
Screen Shot 2013-01-12 at 11 10 08 PM

(null): "OBJC_CLASS$_iRate", referenced from:

(null): Linker command failed with exit code 1 (use -v to see invocation)

from irate.

nicklockwood avatar nicklockwood commented on August 16, 2024

It sounds like your iRate.m file hasn't been added to your app target for some reason. In the right hand sidebar, check the correct target is checked for that file.

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

You were correct but now I have another 3 errors. Is this because I am using it on an AdHoc beta copy of an App update I am wiring on and not a release version?

Screen Shot 2013-01-13 at 10 17 27 AM

from irate.

ddaddy avatar ddaddy commented on August 16, 2024

Looks like you dont have all the necessary files linked properly.
The easiest way is delete it from your project, then re-add it but make sure you tick the box in "Add to target"

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

Did that and just did it again now but same 3 errors and 1 warning:

On Jan 13, 2013, at 10:24 AM, ddaddy wrote:

Looks like you dont have all the necessary files linked properly.
The easiest way is delete it from your project, then re-add it but make sure you tick the box in "Add to target"


Reply to this email directly or view it on GitHub.

error

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

BTW the previous version of iRate that I had, in this same app, was 1.4 and did not get these errors?

On Jan 13, 2013, at 10:24 AM, ddaddy wrote:

Looks like you dont have all the necessary files linked properly.
The easiest way is delete it from your project, then re-add it but make sure you tick the box in "Add to target"


Reply to this email directly or view it on GitHub.

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

I just put 1.4.2 into my App and no errors tried again with the newest version and got the 3 errors?

from irate.

nicklockwood avatar nicklockwood commented on August 16, 2024

You need to add the StoreKit framework (it's mentioned in the 1.5 README under installation instructions).

from irate.

carlandrews avatar carlandrews commented on August 16, 2024

That was it, thank you!

from irate.

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.