How to add mailcore framework to our iphone project? - iphone

I tried to add mailcore framework to my project which is existing in my library but it's not getting added into it,can any one pls help me to solve this issue.
Thanks in advance.

One way is to use reMail. remail uses mailcore, and since its acquisition by google, is open source.
Another way is to actually build mailcore.
GETTING STARTED
The best way to start learning MailCore is by reading through
documentation intro (in index.html) and the the included example
projects. To run the example projects:
Copy MailCore.framework to your ~/Library/Frameworks folder.
In each example project, add ~/Library/Frameworks/MailCore.framework to the list of Linked
Frameworks.
Build it!
The documentation isn't as detailed as I'd like. Sorry about that! If
something isn't clear try reading the source included or contact me.
CONTACT INFO
MailCore by Matt Ronge http://www.mronge.com mronge#mronge.com
LICENSE
Licensed under BSD, see LICENSE.txt for more information.
Based on LibEtPan and work done by Dinh Viet Hoa.
From the Getting Started documentation on the project:
IPHONE USE
MailCore has an included iPhone
target, but it requires some
additional compiled binaries (OpenSSL
and CyrusSSL). I am unable to
currently provide these, however the
company Remail is offering the
binaries and a compiled copy of
MailCore for the iPhone. Contact
Remail for more information:
mailcore#remail.com
It seems like you'd need to get those before building against the iPhone target.

After reading the instructions he doesn't say to add the MailCore framework. Just the library. Try it that way.

Related

OAuthConsumer framework

I actually work on iphone project, and i want to use OAuthConsumer for the authentification.
The developer guide say
"In order to use the framework, you must first get a copy from the svn repository and compile it. Compiling the framework will automatically run all of the unit tests."
I get the svn repository but i don't understand how to compile this...
can you help me please ?
(sorry for my english...)
Thanks
ps: link to the installation guide http://code.google.com/p/oauthconsumer/wiki/UsingOAuthConsumer
you might have probably sorted this out already but in case it helps someone else...
http://code.google.com/p/oauthconsumer-iphone/
This project contains a makefile which will extract the Objective-C component of OAuthConsumer so that it is amenable for iPhone app development.
:)

how to create a static library or framework from a already available source code in iOS

My clients wants to use some of the already available features in my app into their app. But, i dont want to share my source code with them and vice versa. I found out from some googling that, we can do this by creating some static libraries or frameworks in iOS. Can anyone throw some light on how to create a static library or framework (which ever is better) out of my already available source code.
My preference is to use static libraries over Frameworks. You will provide your customers the library file (.a extension) and the header file(s) for the functions in it. They just need to install the files somewhere in their project tree, set the include path, add the library to the project and they are good to go.
Note that if you want them to use your lib in the Simulator as well as on device you will need to provide them two versions of the library, one for each.
For instructions on how to create and use an iOS static library see this site.
Just for your information:
I created a static framework for iOS according to jverkoey's instruction
A ton of thanks to Diney Bomfim for his excellent article on how to create a framework. This is exactly what i am looking for.
EDIT - The Link is NOT working anymore...

How to add mailcore framework in iphone project

I have downloaded mailcore for ios but I'm unable to add it to my iphone project.
Any help or pointers would be welcome.
http://code.google.com/p/remail-iphone/
remail uses mailcore, and since its acquisition by google, is open source.
GETTING STARTED
The best way to start learning MailCore is by reading through
documentation intro (in index.html)
and the the included example
projects.
To run the example projects:
Copy MailCore.framework to your ~/Library/Frameworks folder.
In each example project, add ~/Library/Frameworks/MailCore.framework
to the list of Linked Frameworks.
Build it!
The documentation isn't as detailed as I'd like. Sorry about that!

CSS parsing libraries for iPhone

I'm looking for some static library or open source project (in obj-c, released under some permissive license) to parse CSS in iPhone. Any recommendations?
OK, I found good library for parsing CSS - libCSS from the NetSurf web browser project. Released under MIT license, can be used without problems for commercial iPhone applications distributed via the AppStore.
It requires some code for the programmer to write (e.g. you need to provide your own DOM hierarchy handlers), and there are no examples available... but people from the NetSurf dev mailing lists are very helpful. In case of problems you can search the list for my questions.
libCSS
NetSurf dev mailing list
I would recommend htmlcxx. It's pretty actively maintained, written in C++ and you can use it to parse HTML and CSS.
Of course, since it's written in C++, you can use it in your iPhone application with no problems at all.
I've taken this project and made it easy to add to your iOS or OSX projects. Clone my github project and add the html (and or css) folder to your project. There is an Xcode project too - so you can build and run the simple test provided by the original authors

How to add GData.framework in my iPhone project?

I'm just giving it a shot to learn objective C and Cocoa and play
aound with the Google APIs.
I am trying to follow the instructions on the main page to include the
framework within my application but I'm not having much luck.
Would someone be able to provide some instuctions with a bit more
detail?
I would greatly appreciate it.
I've added the GData.xcodeproj under my main application and added a
direct dependency to GData under Target->myApp
I keep getting the following error:
cd "/Users/ankushgupta/Xcode Projects/Google Test"
/System/Library/PrivateFrameworks/DevToolsCore.framework/Resources/
pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-
symbols -resolve-src-symlinks /Users/ankushgupta/Xcode\ Projects/Google\
Test/build/Release/GData.framework /Users/ankushgupta/Xcode\ Projects/Google
\ Test/build/Release/Google\ Test.app/Contents/Frameworks
pbxcp: GData.framework: No such file or directory
I'm kind of lost and I really need to get this setup so I can learn
the API and do some real coding :(
Can anyone help me with this?
Thanx in advance...
You need to download the Objective-C Google API source code from
http://code.google.com/p/gdata-objectivec-client/
and compile it from the included xCode project. The included documentation explains in detail how to either link statically, include framework or reference the Google API code directly from your project.
I choose to include all the source code I need directly in my project by reference to the original Google files. Include the source files by dragging them into you xCode project.
I wouldn't recommend the Google API's for learning to program the iPhone. It would be complicating the learning process unnecessarily.