Code Monkey home page Code Monkey logo

uxreader-ios's People

Contributors

vfr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uxreader-ios's Issues

Mobile pdfium project

Hello,

Im Paulo from mobile pdfium project on github.

I want your help to make it work with success on iOS. I made all changes to make it build correctly.

But the final library is not with all symbols and i don't know why. 

Can you help me?

paulocoutinhox/pdfium-lib#4

The travis CI is compiling it with success too. Can be a way to check it.

Thanks for any help you can provide :)

Any help will be nice for the community.

request - initWithProvider

Hi,

Would it be possible for you to add a new function that allows opening a pdf from a data stream? Seems like it should be possible using CGPDFDocumentCreateWithProvider

hide toolbar title SOLVED

how to hide toolbar title?

[readerViewController setTitle:@"something"];

ok set title for document is still working:

UXReaderDocument *document = [[UXReaderDocument alloc] initWithURL:targetURL]; [document setTitle:@"sometitle"];

Bookmark support

Nice project for pdf rendering!

May I ask if this lib will support pdf bookmark feature?

Swift project problem

Hi,

i've a Swift project, imported your library and compiled without error, but when i try to implement your code, Xcode doesn't recognise the import of UXReaderDocument and UXReaderViewController classes, ( i've tried also to import theme inside my bridge header class ) it suggest only .png files, so i can't implement your example code.

Any suggestion about this problem? can you give me a guide for swift project?

Thank you.

sync PDF files to the sample Reader app?

1.connect iphone to Mac;
2.open itunes and select iPhone device;
3.choose File sharing,then choose Reader app;
4.add pdf files as you want;
5.sync to iPhone;

hope I can help others.

There is a crash, I can not figure it !

0 libobjc.A.dylib objc_msgSend + 16
1 UXReader -[UXReaderDocumentPage renderTileInContext:] + 1032
2 UXReader -[UXReaderPageTiledView drawLayer:inContext:] + 64
3 QuartzCore -[CALayer drawInContext:] + 296
4 QuartzCore tiled_layer_render(_CAImageProvider*, unsigned int, unsigned int, unsigned int, unsigned int, void*) + 1532
5 QuartzCore CAImageProviderThread(unsigned int*, bool) + 812
6 libdispatch.dylib __dispatch_client_callout + 16
7 libdispatch.dylib __dispatch_queue_override_invoke$VARIANT$mp + 716
8 libdispatch.dylib __dispatch_root_queue_drain + 600
9 libdispatch.dylib __dispatch_worker_thread3 + 120
10 libsystem_pthread.dylib _pthread_wqthread + 1268

ld: library not found for -lpdfium

Hello,

I downloaded the git compressed file of your project, attached a device and tried to run the reader project but I faced the following issue :

ld: library not found for -lpdfium
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please help

Cocoapod support

Hi there,

Would it be possible for you to set this project up to work with Cocoapods?

Thanks in advance,
Matt

Port to AppKit

Hi @vfr,

I am wondering what would be necessary to provide a OSX compatible framework. Pdfium can be build for OSX and as far as I can see one would need to rewrite the UI handling from scratch. This means replacing UIKit with AppKit and therefore rewrite most of the views since UIKit works quite differently with UIView and UIViewController from what would be considered good API with AppKit and NSWindows/NSViewControllers/NSViews.

Are there any ambitions to make this repository compatible for cocoa applications or is this something which is out of scope ?

Best Regards,
David

Error while building and running

Hello ..
When I open the source code in xCode, and try to run it. I got this error:

UXReader Group
Apple Mach-O Linker (ld) Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
http://oi66.tinypic.com/wipkr4.jpg

And Now I am getting more than 58 error !!
I asked a developers. They said for me that I should order from you the full source code

License

Can I use this in commercial software? Thanks.

present the UxReaderView from a search result

Hey! Thanks for the project, it's very great!
I have a problem: when I present the UxReaderView from the search result of a UITableView with UISearchController, when the close document button taped and it does not go back to the resultView.

libpdfium.a missing required architecture x86_64

Hello Julius!

Thanks for sharing this new project! I could not compile and run in the simulator.

Ld: warning: ignoring file /xxxx/xxxxxx/xxxxxx/UXReader-iOS-master/UXReader/UXReader/PDFium/libpdfium.a, missing required architecture x86_64 in file // xxxx / xxxxxx / xxxxxx / UXReader-iOS-master / UXReader /UXReader/PDFium/libpdfium.a (2 slices)

Using the command: lipo -info libpdfium.a

I get the response: Architectures in the fat file: libpdfium.a are: armv7 arm64

When compiling and running on the device it is freezing after opening a document.

iOS 11 and iPhone X

Great library, thank you!

As we can't test it in the simulator, I would like to know if it respects already the safe area and particularly for the new iPhone X? If not, have you planned an update for that?

Regards,

Bitcode support

Hey! Many thanks for the project, it's great!
Wanted to ask is it possible to add bitcode support?

How to open the pdf with password protect?

`NSURL *URL = [[NSBundle mainBundle] URLForResource:@"pdf" withExtension:@"pdf"];;
UXReaderDocument *document = [[UXReaderDocument alloc] initWithURL:URL];

UXReaderViewController *readerViewController = [[UXReaderViewController alloc] init];
[readerViewController setDelegate:self];
[readerViewController setDocument:document];
[readerViewController setDisplayMode:UXReaderDisplayModeSinglePageScrollH];

UINavigationController *navController = (id)self.slideBarController.contentViewController;
[navController pushViewController:readerViewController animated:YES];
navController.navigationBar.hidden = YES;

[document openWithPassword:@"mypassword" completion:^(NSError * _Nullable error) {
    
    if (!error) {
    }
}];`

I try used code above but not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.