I need smooth page curling for my ebook without clicking any button just like in PageCurl demo. But in that code they are using a pdf file(CGPDFDocumentRef). And am using a xml file for my ebook. How can i implement this? i tried to do but no use. Kindly help me.
You should start by reading the basic documentation and doing some google searches, then when you have specific issues about implementing things in the docs, or questions related to understanding how to apply something in the docs, you should come and ask those specific questions.
You can also start by accepting some answers on Stack Overflow for some of the previous questions you've asked.
To get you started, take a look at UIGestureRecognizer and make sure you read the iOS Application Programming Guide
Related
I am posting the question again with more clarity.
I am trying to develop a component similar to the UI for timeline component in "Timeli" app.Ia m not sure how to start or which iOS controls to use for this .The requirement is to show the years in a horizontal table view.Pinching on the tableview should expand that particular cell and at some particular point the cell should break into the different months in that year.If the user further try to expand a particular cell by pinching then that cell should break into the different days .Reverse should also work.It would be great if anyone can help me with some tips or suggestions to star developing this.
I don't know that particular app, but I can give some general advice: browse through the open source components at Cocoa Controls; find one that is similar to what you want to create; download the source code and study it.
Even if you can't find exactly what you want, you might learn some techniques that will help you figure out how to build the control you want to build.
If you want more specific help, you're going to have to make an attempt, and then ask a specific question where you explain what you're doing and what's not working. Generic "how do I build this?" questions don't usually work too well here, because nobody knows where you are starting from.
I am working on an app with have requirement to give "Droste Effects" on image.i did search on Google more but not find programming solution for this effects.the effect example in there below.
http://apping.me/ios/4eb514ba8491783f5b0001e2/droste+vision.html
http://www.pmavridis.com/iDroste/iDroste.html
Please provide me suggestion or any tutorials link. How i will do that task?.Thanks in advance.
The Droste effect is a trick made with some intense mathematics and a recursive function. Please read http://www.josleys.com/article_show.php?id=82. If you don't know about recursion please read up http://en.wikipedia.org/wiki/Recursion. Since your request is very specific I doubt there will be many people who happen to have a Droste effect code written in the iphone programming langauge, but the links above should help you understand the math behind creating your own. Good luck.
I had asked a question earlier How to Searching String from PDF using iphone sdk?
I got a answer but that wasn't I was looking for. I am not sure to ask something similar as new question or not.
I am using ios4.2.
I am working on a application which display PDF. I am using Quartz 2D for that. I have gone through apple documentation and googleing of around 4 days I didn't find any thing that suits to me in this case. There are lots of question related to this and almost all answers are redirecting to either
Random Ideas or
FastKit.
Random Ideas don't explain how to highlight a text within the pdf. and FastKit has implementation but no Explaination too. I don't want to use fastkit because It shows its logo. can any one please give me any link which has some libraries or apis or any thing for highlighting text in PDF while I am using Quartz 2D.
Any help will be appreciated.
Thanks In Advance.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking to develop a custom PDF viewer for an iPad, which has features like:
bookmarks
search
deep linking
zoom
jump to specific page
Does anyone know a code solution similar to this? I'm currently looking at Ghostscript but am having a problem finding other options.
For a simple and effective PDF viewer, you can now (iOS 4.0+) use the QuickLook framework:
QLPreviewController *previewController = [[QLPreviewController alloc] init];
previewController.dataSource = self;
previewController.delegate = self;
previewController.currentPreviewItemIndex = indexPath.row;
[self presentModalViewController:previewController animated:YES];
[previewController release];
You need to link against QuickLook.framework and #include <QuickLook/QuickLook.h>
For anything more complex, just grab the excellent PSPDFKit.
I've developed a custom reader like this which I've used for a handful of projects for clients. Search & Highlight was by far the most difficult, followed by text selection. Keeping memory usage low for large PDF's is tricky too.
I cant share my source. But here's someone who has a free library that looks promising:
http://mobfarm.eu/fastpdfkit
https://github.com/mobfarm/FastPdfKit
(it doesn't look as if the source code is available?)
Here is a nice example of a pdf reader on github. It does not do the advanced things (like text search), but it might be good as a starting place. Seems to do OK with large pdfs, so maybe the performance is not too bad.
You could port Xpdf or the forked Poppler to iOS and use their rendering capabilities as well as retrieving information such as bookmarks and URI links from the PDF for use in your application.
There is a payed option named http://pspdfkit.com/
I have been looking at the example and it seams to work the way I was hoping to find some code example
http://www.labnol.org/software/ipad-pdf-reader-apps/13807/
Update: I can't find any PDF component/library for iOS, which doesn't surprise me. So here's a crazy alternative (so crazy it just might work): Write your app in C#/.Net using MonoTouch, and incorporate the free .Net library iTextSharp. I have no idea if this would work or not.
Another idea might be to incorporate a web service (running on a server somewhere) that will convert your PDF into HTML for you. Your server component can be written in any language, which expands your PDF-component options considerably. And the things you want to do in your bullet points would be a lot easier to implement yourself with HTML.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to create a historical timeline starting from 1600's to the present day. I also need to have some way of showing events on the timeline so that they do not appear cluttered when many events are close together.
I have tried using Visio 2007 as well as Excel 2007 Radar Charts, but I could not get the results I wanted. the timeline templates in Visio are not great and using Radar charts in Excel leads to cluttered data.
Are there any other tools or techniques I could use to create these?
#Darren:
The first link looks great. Thanks! The second link did not work in Firefox and was rendered as ASCII. It opened up fine in IE.
And yes, this is for the end users. So I want it to look as presentable as possible, if you know what I mean.
Thanks again!
SIMILIE Timeline would probably suit your needs.
http://simile.mit.edu/timeline/
Timeline .NET: http://www.codeplex.com/timelinenet
Oh, i guess i should ask... for personal use or for display to end users? that might change what i would suggest, but this could work for internal purposes too i suppose.
Lifehacker has a good overview and tutorial of SIMILIE Timeline. They seem to like it quite a bit.
If you need a timeline from RSS Feeeds give xTimeline a try. I just used it
http://lifehacker.com/software/rss/create-a-timeline-from-rss-feeds-with-xtimeline-283098.php
#Pascal this page? http://tools.mscorlib.com/timeline/Default.aspx. If it's looking like ascii maybe look for a js error, but that renders on my system fine. If all else fails, it's a decent js library by the MIT team as it is, so you could wire up your own implementation
I also recommend Simile Timeline... I just implemented a webpage that uses it and JQuery and produces fantastic results. The downside is that you need to implement it through some html page, hook it up with the js and create some xml files, so it probably won't do for a presentational tool.
http://infosthetics.com/ is a good data visualization blog, maybe you find something there. Also check flowingdata.com
For webbased timelines, there is also:
circavie: http://flowingdata.com/2007/10/25/create-share-and-embed-custom-timelines-with-circavie/
dipity (looks killer): http://flowingdata.com/2008/08/18/tell-stories-with-interactive-timelines-from-dipity/
You can used this great timeline tool built with JavaScript.
You can download it for free here: http://timeline.verite.co/#examples