Comments (13)
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.
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.
Thanks, thats a new one for me.
I'll have a play with that when I get time.
from irate.
When I say zero config, I mean zero :-)
from irate.
I installed iRate into my App as in the example and get these 2 errors? Thanks!
(null): "OBJC_CLASS$_iRate", referenced from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
from irate.
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.
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?
from irate.
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.
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.
from irate.
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.
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.
You need to add the StoreKit framework (it's mentioned in the 1.5 README under installation instructions).
from irate.
That was it, thank you!
from irate.
Related Issues (20)
- iRate will be allowed for iOS 11? HOT 2
- useSKStoreReviewControllerIfAvailable is ignored HOT 4
- Significant event issue? HOT 5
- SKStoreReviewController is not used in manual prompt request HOT 2
- Use `+initialize` instead `+load` to instantiate iRate singleton HOT 3
- Submit button disabled on SKStoreReviewController HOT 4
- Localizations bug with Chinese simplified and traditional
- iOS 11 problem with opening app page in the App Store HOT 20
- Can you add prompt to update on new version available HOT 2
- How should I reset iRate totally?
- iRate Not show HOT 1
- Show Review Alert only if user has not submitted any review?
- ratedThisVersion not set if using SKStoreReviewController? HOT 4
- iOS Swift : Message and Message Title are not working
- iRate Delegates are Not getting Called
- iOS 11 (GM) prompts at launch even though promptAtLaunch set to NO & Submit button fails HOT 8
- Crash when sending `window` message to `UIApplicationDelegate`
- 您好,为什么弃用不维护了啊? HOT 2
- iRate did not prompt for rating because the app was first used less than 10 days ago HOT 1
- SwiftPM Support / swift package init
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irate.