Is there any third party which can support by both iOS4 and iOS5? - iphone

Is there any way to develop web-service base application using third party json which can run on both iOS5 and iOS4? So, It can be run on both iOS4 And iOS5.We know that iOS5 is not supporting third party json library where iOS4 is not supporting NSJSONSerialization. Please help me, If anybody know any solution and way to do this.
Thanks In Advance.

Use JSONKit. Everybody's using it, it's simply and very fast.

Related

List of Applications on my iphone in Foundation Framework

I wonder how I can get a list of applications installed on my iphone from Objective-C (Foundation Framework).
Does anyone can help me?
I also wanted to know if you can launch an app from within my application.
Thank you very much to all
No, it is not possible as far as i know. Application are sandboxed in the iOS and there is not such API to retrieve the list of installed apps ...
There is no way to determine which applications are installed on iPhone.
But, there's a thing called URL Schemes, some applications registers those and you can communicate with them.
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html

How to integrate twitter to my iphone application

i need to integrate Twitter to my iPhone application. I have tried many 3rd party SDks, but non worked since i have enabled ARC to my project.
1.) So i need to know if there's a Native Twitter API which will be owned by Twitter it self ?
2.) I have tried sharekit, but may i know if there's other 3rd party APIs that i could use to integrate twitter for my application.
note: It should work for both iOS 4.3 and above. Also do not say this question is duplicated (i have looked at other questions but didn't find a solution to my problem yet) :)
i have already looked at this.
If you are using sharekit, be sure to be using sharekit 2.0, it has compatibility with iOS 5.
I recommend you ShareKit because it has a lot of other functionalities that may be useful for you, if you change your mind and give sharekit a second chance, just ask me and I will try to help you.
Also, if you have the ARC activated, I think your application won't have compatibility with iOS 4.3, so think about it. In case you insist in using ARC with 3rd party SDKs, just remove all the "retain", "release" and other expressions that are not allowed with it. XCode will tell you which expressions are not available with ARC.

Using XML-RPC in iPhone apps

Is it possible to use XML-RPC calls in iPhone application (what approaches are the best)?
Are there any constraints with XML-RPC?
Thank you,
Paul
I have recently come across this library, take a look at the description at the end.
Hope you find it useful.
https://github.com/eczarny/xmlrpc
You might be interested in the WordPress for iOS app. It's completely open source and uses an XML-RPC library.
http://ios.wordpress.org/

iPhone OSC Library

I know there are some iPhone Apps out there that use OSC and i'm wondering now if someone of them released a nice library for it. I googled a loot around but didn't found anything. Maybe someone knows how to google better then me :)
I'm currently trying to get OSCKit to work on the iPhone, but i'm not that good in iPhone development.
Thanks for your answers.
TouchOSC is using oscpack
It's implemented in C++ which might be awkward to use in an iPhone (I personally don't mind)
There's a pure Objective-C OSC framework called "VVOSC" which is easy to configure and use in an iPhone SDK context:
vvopensource
OSC-Kit was replaced by WOscLib
-t
Sounds like you're looking for dsmi
Don't be put off by that "DS", it works on the iPhone too.
Also, if you are using PhoneGap, I implemented OSC for javascript (client-side) in my KievII library. Here's the code.

Alternative to NSXMLDocument on the iPhone for XSLT purposes

I know it's been asked before (like here), but is there way to natively use XSLT on the iPhone? If not, and I need to use libxslt, is there any documentation/tutorial of how to use it on the iPhone?
EDIT:
I've decided to use libxslt. What files are necessary to include? I haven't found any tutorials of examples of use on the iPhone, and I'm unsure of how to approach it. Any help would be appreciated.
Thanks in advance.
Cannot use libXSLT on iPhone. Not as of today. App will be rejected. libXSLT is built into the iOS andd COULD be called - but this is a private API of the iPhone and will cause rejection. If you compile the libxslt library yourself and statically link it to your app, you will still get rejected. Many people have reported this bug in the app review process but nothing has yet changed.
It depends how you want to use XSLT; not sure what you mean by "natively". If you're just embedding a browser, MobileSafari will interpret XSLT for you.
If you're just converting one XML document into another for processing, libxslt is not a bad choice. There's no difference using libxslt on the iPhone from any other platform. Given Apple doesn't include headers for it, it is likely they don't want you using the bundled copy. You are better off compiling a copy into your application instead, against the provided libxml2 library.
If you want a more specific answer you may wish to pose a more specific question. :-)