Does anyone know if using YAJL for JSON parsing on iOS is accepted by the AppStore?
Apple doesn't block apps for using specific libraries unless they break the TOS. I have used YAJL in iPhone apps before without any problems.
I don't see any reason why it wouldn't be. You need to link as a .a not .dylib or include the source in your app.
You might want to look at TouchJSON as well http://github.com/schwa/TouchJSON
Related
The keyword here is possible. I know of a few resources that talk about this and how to create static frameworks - here: https://github.com/kstenerud/iOS-Universal-Framework and here: http://db-in.com/blog/2011/07/universal-framework-iphone-ios-2-0/
I'm interested to see if it's possible to create a dynamically linked framework in an app that will not be submitted to the app store. I know it's impossible to write to the application bundle on a device without jailbreaking it. Is it possible to say, download a compiled framework file, put it in the documents directory and then access it via the application (think plug-in architecture). I know that if it is, you would be turned away from the app store for submitting it, but let's say this was an enterprise app, or an ad-hoc distributed app where Apple would not have to approve.
In my initial research I haven't found anything supporting that it is possible, but I feel like this may be such a fringe case that no one has published anything about it. Looking for a guru to give me a definite "no" before I give up.
not sure if this is what you are after but according to Apple there dynamically linked libraries even usable in iOS - for example the system libraries... XCode contains copies of them and references them via symbolic links...
see near the end of this http://developer.apple.com/library/ios/#documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/iPhoneOSFrameworks/iPhoneOSFrameworks.html#//apple_ref/doc/uid/TP40007898-CH6-SW3
just an idea:
put the .dylib + include files you want to use into the respective folders where XCode expects the system libraries... use themn and then put symlinks into your bundle on deployment... let the symlinks point where ou copy the .dylib
I believe the answer is no. Apps on the iPhone are sandboxed. That is, aside from Apple supplied frameworks, an app cannot access anything outside of its own build.
This is possible now with IOS 8 Xcode 6.
If you wanted to avoid the agreement to use the iPhone SDK, you'd have to not use it.
If you don't want to jailbreak, you have one option:
Web app
I'm not sure what the toolchain is on the jailbreak side, but I suspect you may be able to avoid the official SDK that way, but, obviously, you've cut your potential market by at least 90%.
Even if you would successfully avoid the SDK and the agreements that come along with it, you'd have to agree to the app store terms of use once you'd like to submit something. Same goes for development certificates, mobile provision profiles,...
So, the best answer to your question propably would be: I wouldn't, and you shouldn't.
Just a small question...
How is it that you tell the difference between an iPhone header file which you can use in conjunction with iPhone development, or a mac specific header file.
Many thanks,
Stu
Many are the same, but not all are included in both. It all depends on which SDK you are building against as to which you have available to you. Please see the iPhone Reference Guide and the Mac OS X Reference Guide.
One quick way is to try and pull up something the header references in the XCode documentation, if you check the document sets the docs are looking at and un-check "MacOS" leaving the iPhone stuff, it will not find anything the iPhone cannot use.
is there a way to view via code the iphone sms archive and sort them in an app?
I would imagine that on a jailbroken phone you could read the DB, but using the normal SDK this is impossible. Each app is sandboxed to prevent it from reading data from other apps. Also, there is no API for it.
In short - no, SDK does not provide access to this information.
If it's jailbroken most certainly, you can even edit it by hand!
To test an in app purchase on the iphone, do I need to upload the binary?
You do not need to upload the binary, for anyone who was curious. You do need to make sure all the contracts are in place, however.
There's a section describing testing Store Kit process in documentation.