Comments (8)
This is a very good idea. I'll try to make it happen for 1.0.
Original comment by [email protected]
on 29 Aug 2007 at 2:39
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from iphoneebooks.
This is looking to be very difficult, unfortunately--there's no way that I can
find to determine how large the
Scroller view is, which means I can't get a percentage of the view, and
likewise I can't tell where a percentage of
the text would fall. What I may do instead is add "superscroll" buttons, which
would allow you to jump by, say,
ten screenfulls. Would this do?
Original comment by [email protected]
on 30 Aug 2007 at 2:45
from iphoneebooks.
Is it possible to simply count the number of bytes in the text? Or is there any
other method that counts the text, even roughly?
As bottom line, yes, I think ten-screenful jump will work.
Let's do some simple maths. Take a 500KB txt file as example (it's almost the
largest single file size without freezing the app), it contains 250K chinese
characters. Usually I have about 200 ~ 250 chinese character per screen, so the
entire file is split into about 1000 pages. To scroll to 50% of the book, which
is
500 pages, I need to tap on "superscroll" 50 times. That should be OK.
Please make sure if I tap superscroll quickly one after the other, the 2nd tap
doesn't cancel the previous scrolling. In current version, if I tap the bottom
of
screen too quickly, the 2nd tap cancels the first one. This made fast scrolling
impossible.
Thanks!
Original comment by [email protected]
on 30 Aug 2007 at 6:40
from iphoneebooks.
It's certainly possible to get the length of the text. The problem is that the
UITextView doesn't scroll by text, but
by pixels, and there's no way (that I can find) to match pixels with text. So
even if I knew where 50% was in the
text (trivial, of course) I don't know where it lies in the rendered view (or
even how large the rendered view is).
There is one possible solution, but it's horribly ugly. I'll keep you posted.
Original comment by [email protected]
on 30 Aug 2007 at 5:54
from iphoneebooks.
Another aspect / tack you might want to try is take a look at how the iPhone's
contact list allows you to scroll - and see if perhaps that gives any clues?
I'm a coding idiot, and completely okay with that. :)
Original comment by [email protected]
on 4 Sep 2007 at 5:59
from iphoneebooks.
I just want to add my 2cents here. A super scrolling or chapter / search
function is
all I am pining for in this app. Thanks so much for this. I am a big eBook
reader and
am thankful to have this on my iphone.
Original comment by [email protected]
on 14 Sep 2007 at 3:05
from iphoneebooks.
Original comment by [email protected]
on 5 Oct 2007 at 6:59
- Added labels: Priority-High
- Removed labels: Priority-Medium
from iphoneebooks.
I just posted to the SVN a hideable slider which will allow you to scroll from
the beginning to the end virtually
instantly. It will be in the next release.
Original comment by [email protected]
on 8 Oct 2007 at 1:55
- Changed state: Fixed
from iphoneebooks.
Related Issues (20)
- keyboard doesn't appear when editing Font Size in prefs HOT 1
- Feature Request: Progress indicator HOT 2
- Clock is off center HOT 1
- Unable to open ebooks larger than 200kb HOT 1
- Switching between chapters is slow in 1.4 HOT 1
- iPhone Crashes on Loading Large Book HOT 1
- Landscape mode lock doesn't stick. HOT 1
- iPhone orientation HOT 1
- Screen size is incorrect HOT 3
- Books.app it keeps trying to load & display help in lower corner HOT 1
- Prev issue id:39 upgraded to 1.5 now I get Access Dinied HOT 1
- freezes upon first launch HOT 1
- Clickable HTML Links in Books HOT 3
- How to package a book HOT 1
- Disable Page Scrolling in Favor of Page Flipping
- When I update to version 1.5-r523, it finds my books and chapters but it shows no text. It worked previous to the update.
- SDK version? HOT 2
- [Enhancement] Support for Speed Reading
- how can i open the source code in iphone simolator or device? HOT 2
- iOS4: Scrolling within file contents does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iphoneebooks.