I'm a baby iOS developer.
I really need help.
I want to use three20 library in my project and I add this library correctly.
but when I want to used it, I got a error.
for example when I write this line on top of my classes :
"#import "Three20/Three20.h"
I got this error:
Three20/Three20.h:No such file or directory
What hell is it? What can I do? I really need help as soon as possible.
Thanks
I solve my problem :).
Thanks to this site:
http://three20.info/article/2010-10-06-Adding-Three20-To-Your-Project
Related
I am new to iOS development and apologies for a basic question. I am trying to convert an image to grayscaled and threshold it using openCV in iOS. So far, I have imported and setup the framework on xcode. What I am trying to do now is to implement the following features:
http://www.youtube.com/watch?feature=player_embedded&v=Ko3K_xdhJ1I
at 0:24 and 0:53
I tried to follow the tutorial which points to the above youtube video :
http://docs.opencv.org/doc/tutorials/ios/image_manipulation/image_manipulation.html
and wasn't sure where to paste the above code and in which file?
Many thanks.
Kind Regards.
These are helper methods and best written in a separate file. Quite simply,
http://answers.oreilly.com/topic/631-how-to-get-c-and-objective-c-to-play-nicely-in-xcode/
Put all that image manipulation code in say ImageManipulationHelper.mm and create a header file for the same
Create a nice little category for UIImage.
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html
which can call these methods in turn to create any image manipulation you might want.
Easy does it. And yeah, read up a bit more on using C++ in objectiveC, if you get into trouble and also about categories. They are some of the niftier features of objectivec
I achieved the same,using the help of this awesome link
Let me know if you need any further help.
Cheers!!
Edit :
Check this out ImageFiltering
i recently find haro library for pdf generation and i get a iPhonepdf sample from https://github.com/akisute/iPhonePDF, the sample works fine but actually i could nt use the library in my project, i do step by step as http://kishorek.com/?s=pdf&searchsubmit= said, but finally i got error :
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
is there anyone to use it before to help ...
thanks in advance
Do you only want to use haru library?? If it is not really needed.. then below link is really good for generating any type of PDFs. Also manipulating functions inside this link is really easy.. And integrations is also too easy without any additional framework and also fast.... Please follow the link
http://www.ioslearner.com/generate-pdf-programmatically-iphoneipad/
I wright english very bad,but I hope you'l try to help me)
There is a problem: have one project that contains another 2 projects(that contains classes I using in main project),when try to compile-there are many fails,because main project couldn't find classes from that projects. I tried to add them from build phases->link binary with files-but it doesn't help me(
Help me please with this problem!Thank you!
In Xcode 4, this is done through Workspaces. This is a fairly big topic, so I will just link you to Apple's high-level document and a blog post that walks through the process of setting one up.
Apple doc: http://developer.apple.com/library/ios/#featuredarticles/XcodeConcepts/Concept-Workspace.html
Walkthrough: http://cocoamanifest.net/articles/2011/06/library-management-with-xcode-workspaces.html
Good luck!
Try adding them as Target Dependencies instead.
I've just downloaded AFNetworking to try and mess with it, but i'm having weird errors on including it in my project.
I've just created an empty test project and dropped both AFNetworking and JSONKit in, and immediately i got the error "Lexical or Preprocessor Issue: 'AFNetworking/AFURLConnectionOperation.h' file not found" .
It happens in this row, but changing it to a regular import works for some reason. I could change all of them but I'm trying to understand why this is happening to begin with. I'm sure its some stupid configuration i didn't notice.
#import <AFNetworking/AFURLConnectionOperation.h> // Throws error
#import "AFURLConnectionOperation.h" // Works
Thanks ! :)
Shai
<AFNetworking/AFURLConnectionOperation.h> works if you add AFNetworking as a framework. If you added the files you have to replace the imports with just "AFURLConnectionOperation.h".
The '#import ' syntax is for framework import.
If you just drag&drop the source in your project you've to use '#import "AFURLConnectionOperation.h"'
If you want use a .framework this tutorial can help you: http://db-in.com/blog/2011/07/universal-framework-iphone-ios-2-0/
I have dowload a KissXml project.
I must add all the files to my project (excluding DDXMLTesting).
Sorry for the stupid question but i must insert all class in the classes folder (http://ixhan.com/2010/03/tutorial-of-kissxml-iphone/) or i can do another operation.
Sorry but i'm a beginner programmer for iPhone.
Yes, you need to import all the classes in new group in your project when you are doing it with sdk.
yes, otherwise it will not compile/link/run
The "getting started"-section of the original source home page contains the best information to get it up and running. Just follow the steps exactly as they're described there and you should be ready to go in 5 minutes.
http://code.google.com/p/kissxml/wiki/GettingStarted