How to use json classes in xcode 4.1 - iphone

I want use nsjsonserialiazation class in xcode 4.1....How can I use it? Should I have to download some framework? If yes then where can I download it?

It's native and available as of iOS 5.0 and all you need to do to use it is to invoke it.
No need to download extra frameworks. It's actually part of the Foundation framework that makes up the very basis of Objective C applications.
You can find the documentation on Apple's web site.

Related

How to use same Class"XY" for both ios and watchos3 with swif3

I tried to use a Custom Framework but it is not importing in the WatchApp Extension ->interfacecontroller.
In the ios App the Import statment work correct.
my question is :
how to use same classes in both targets(ios and watchos)
Creating a framework is indeed the recommended way to go. Just make sure your framework supports the arm7k architecture and also is compiled against the watchOS SDK.

Tesseract OCR In monotouch

How do I implement the Tesseract OCR in a monotouch application for Iphone?
First you need to have the library ported to iOS and available as a static library. That where Vikas' answer (Pocket-PCR) might comes handy (but I have not tried it).
Next you'll need to create C# bindings to the library.
When the API is exports C functions you can use normal .NET pinvokes, i.e. using DllImport attributes.
When an Objective-C API is provided then you can create bindings using the btouch tool. Instructions are available on the MonoTouch web site.
However (and this looks to be the case for Tesseract) it's a bit more complex for C++ libraries. You'll either need to first create a C (or Objective-C) library that export the feature you need and them bind your own API.
To build the tesseract library, download the source code and compile apropriately for the iPhone (arm processor). Add the library to the XCode project and build.
go this link and try ........
https://github.com/rcarlsen/Pocket-OCR

iSpeech iPhone SDK for monotouch?

Is there a way to use the iSpeech SDK for iPhone in my monotouch project? http://www.ispeech.org/developers/iphone
This looks like an ObjectiveC library. The way to use this inside a MonoTouch project is to create .NET bindings for the library.
There's one reference of this already? existing in their forums but I could not google it. You might want to ask them (iSpeech) if they are aware of it before starting your own bindings.

Implementing Cocoa XML-RPC framework for iphone

I have my drupal xml-rpc service setup, and now I want to retrieve content for my iphone app.
I'm attempting to use https://github.com/eczarny/xmlrpc, however I dont know where to begin. How do I add the project to my own project for use? I've added a static library before; is it the same process? Just drag the proj file to my project and add the xml-rpc library?
Any tips would be appreciated.
Try dragging the project file for xmlrpc framework into the code list in XCode for starters. Next make the framework target in the xmlrpc framework a build dependency. Finally add the xmlrpc.framework to your linked frameworks. Exactly how you do this depends on whether you are using XCode 3 or 4

How to build a Framework class in XCode?

I want to build a framework regarding some common aspects used in xcode like that of UIKit, Foundation etc. Is it possible for us to create our own framework which could be reused later ? If so, could you tell us a step by step procedure of how to do it?
This is now possible, see:
https://github.com/kstenerud/iOS-Universal-Framework
It's not currently possible to create a framework using the iPhone SDK. The closest you can come is bundling the logic you want to have shareable into a static library.
This is a good writeup on how to go about doing that for the iPhone SDK:
http://blog.stormyprods.com/2008/11/using-static-libraries-with-iphone-sdk.html