import Appkit framework in iphone Application - iphone

i am new in iphone technology , i want to use class NSspeechSynthesizer from Appkit framework, but when i import this framework in my application , it give 7 error in my application.
please provide me help on this problem.

You can't import AppKit, it is not available on the iPhone, it's an OS X library.

You could check out OpenEars, it supports for text-to-speech for iOS.
The text-to-speech library OpenEars uses is called CMU Flite, and you could install it directly, but the documentation on the CMU Flite site is a bit poor if you are not very experienced.
I would go for OpenEars, because they have a nice script doing most of the work for you.

Related

create application for Mac OS X from ios

I have iPad game application. Now I want it for the Mac OS x. This application is using Cocos2D and Gamekit framework. How can I create Mac OS X application. Gamekit framework is only available in ios. Any help is appreciable.
Its a very broad question. You are asking how too create a Mac App which can't be done in a single SO answer
Your best start would be to use the Cocoa Application template and work forward. The Google and Apple example code will show you many examples.
Depending on how much of your program is rooted in the UIKit based API will determine how easy it is to translate your program. The UIKit framework doesnt exist in Mac but most items have an equivalent NSThing equivalent (UIButton is similar to NSButton)
You will have to disable the GameKit stuff as that isn't on MacOS(yet)
The core of your troubles will be to place your Cocos2D view into a NSWindow hierarchy and possibly full screen it at launch.
Good Luck

Text-to-speech for iPhone (preferably Monotouch)

I am looking into implementing text-to-speech in an iPhone (Monotouch) app I am creating. What good such libraries are there around? If necessary I will have to map a standard iPhone library to Monotouch.
There is no built-in standard iOS library with a public API. Several apps in the App store use the CMU flite (or Festival Lite speech synthesis engine) library, for which there are ports of the library to the iOS/iPhone, perhaps here.
The Monotouch wiki has an explanation here describing how to cross-compile Flite for the iPhone and interop the libraries with Monotouch.

How to successfully import Appkit Framework in iPhone?

I would to use the NSSpeechRecognition but this Appkit Framework was not available in iPhone os frameworks.
This is available in systems/library/frameworks/Appkit.framework. Is there other way to make use of AppKit for NSSpeechRecognitio in iPhone?
Thank you.
ZaldzBugz
App-Kit is not available on the iPhone. It's iOS counterpart is UIKit.
You could try VocalKit for Speech-Recognition on the iPhone.

ConnectionKit & iPhone SDK

I'm still getting my feet wet with the iPhone SDK, but I'm wondering if it would be possible to get the ConnectionKit framework working for an iPhone app. I know it was developed for the desktop OS, so I'm not sure what sort of dependencies it has and whether or not it could be shoehorned into the iPhone OS.
In my case, I would like to use its FTP functionality, though having access to this entire framework could prove useful for future projects as well.
Any ideas or experience trying this?
In case it helps, here's the official ConnectionKit site: http://opensource.utr-software.com/connection/
The site was a little light on documentation.
The big question is what Cocoa classes it depends on. Since it is doesn't include any UI code, it should be based on Foundation classes. Foundation in Cocoa Touch is similar to, but not exactly the same as on OS X. Just check out what classes it uses.
The other obstacle is building the framework as a static library. Since the iPhone does not support frameworks/dynamic libraries, you have to build a static library to use it in your code.
That should help get you started.
There are two primary issues. One is static library and other is NSHost class that is supported by cocoa - but not cocoa touch. First one is doable - but the second one is doable if and only if you are familiar with Mac OS networking internals.

error when AppKit framework added in iphone application

i want to import in my iphone application, but i know this framework is not available in iphone sdk,but i need to use NSfileWrapper class in this framework, is this class also available in UIKit or others framework available in iphone sdk, thanks
No, NSFileWrapper is not available on the iPhone. Simply adding a framework that doesn't exist on the iPhone also won't get you anything. Your application is very limited on the iPhone with regards to accessing files and you basically have to use the classes and methods provided by the Foundation framework for the iPhone.