CPTAnnotation.h not found - iphone

I recently switch to developer version 4.5 and found CPTAnnotation.h not found issue ,which was not there befor.
Any idea what i am missing.
This is related to coreplot.
Thanks

CPTAnnotation is not part of the iOS SDK but the CorePlot library. Make sure you have added the library to your project (here's how) and imported the header file: #import "CorePlot-CocoaTouch.h"

Related

I cant import headers for Facebook integration in iOS 5.1

I working on facebook integration in ios 5.1 I added FacebookSDK.framework as follows if i want add social.framework not in ios 5.1 build phases . anyone can solve this problem
You can make Social.framework "optional" from where you added the framework. That will make available with iOS6 and later
Try This
#import <Social/Social.h>
without space .
social. framework is a framework so you must to inport in < > this. not in "dubbel cote". try to using in <> this or if not then show what is error msg.?

#import "PhoneGapDelegate.h" error message in phonegap?

Am very new to iPhone development and also am looking to work with PhoneGap Framework to create iPhone apps. I have created HTML, JavaScript in my PhoneGap project. I have imported those files in my project. When i compile my project the XCode shows the below error,
'PhoneGapDelegate.h' file not found
I have searched google to solve this error, but i can't find any single ideas from there. And also am very fresher in development. I have found this below link from google search i don't know how to use this in my project,
http://ldt.stanford.edu/~educ39109/yaac/lab3/iphone/Classes/PhoneGapDelegate.h
In project i don't have any PhoneGap Framework. And I have downloaded the sample app from PhonGap site.
Could you please help me to solve this issue and run the project?
Did you say it was inside a framework? You may need to do something on the lines of
#import <PhoneGap/PhoneGapDelegate.h>

OpenFeint integration on iOS application

I am trying to integrate OpenFeint 2.12.5 into my app. I already read this tutorial and this one.. I read the Getting Started page in documentation and follow their indications.
I am using xcode 4.2 whit iOS 5.0 and 2.12.5 framework version of OF; tried to clean, rebuild, RECOMPILE whole thing, nothing works. I get several errors, like:
Use of undeclared identifier 'OFLog'
and
error: use of undeclared identifier 'OFDelegate'
and
'OpenFeint/OpenFeint.h' file not found
and a warning on [OpenFeint applicationWillResignActive];
like:
Class method '+applicationWillResignActive' not found (return type defaults to 'id')
Can someone help me or indicate a tutorial or something??
Thanks
openfeint changed significantly a few months ago - looks like those tutorials are referencing the old version. for example, there is no [OpenFeint applicationWillResignActive] anymore. in the past you integrated OF by dragging all the OF source into your project, but now the preferred way is via including the OF framework.
i'd recommend starting the integration over and using only the official OpenFeint documentation as a reference.
I found a solution: openfeint-with-sparrow

Tutorial for integrating three 20 in xcode 4.0.2 iphone

This may be a simple question,but i cant figure out the correct way.
I my project i want to integrate three 20 and i found a tutorial
`https://github.com/facebook/three20/`.
But i think this is for older version of xcode.
Many of the sections specified in this tutorial is not found in my xcode project.
Is there any tutorial available for xcode 4.0.2 in tegrating three 20.
Can anybody help me please.
Thanks in advance.
Check this visual explanation of adding three20 framework in your X-code project:
http://chepri.com/visual-guide-manually-adding-three20-xcode-4-project/

iPhone twitter integration: NSXMLParserDelegate protocol not found error

Im very new to iPhone programming, and am facing this really weird issue with importing the Twitter+OAuth libraries for implementing some basic twitter integration into my program.
My SDK is iPhone 3.1.3. After i drag-drop the twitter+oauth library, i add the header path and the library search path
[$(SDKROOT)\usr...whatever as i found in this tutorial ]
I then added the libxml2.dylib framework to the project. When i compile the project, i get six errors, all the same from different .h files that say
"NSXMLParserDelegate protocol not found".
Please help! :(
From the documentation of NSXMLParserDelegate
Available in iOS 4.0 and later.
It simply wont work if you are using SDK 3.1.3
See this question for further info