Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vfr committed Feb 1, 2019
1 parent 013d66e commit 0d478e4
Show file tree
Hide file tree
Showing 86 changed files with 252 additions and 217 deletions.
4 changes: 2 additions & 2 deletions HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#### Getting Started

Since the framework depends on a single large binary library file (libpdfium.a), you should download
the latest [UXReader-iOS](https://github.com/vfr/UXReader-iOS/releases/download/0.1.0/UXReader-iOS.zip)
Since the framework depends on a single large binary library file (libpdfium.a), you should download the
current [UXReader-iOS](https://github.com/vfr/UXReader-iOS/releases/download/0.1.1/UXReader-iOS.zip)
release ZIP. Once extracted, open Reader.xcworkspace in Xcode and then build and run to a device
(as the PDFium library does not support building for x86_64 simulator at this time).
Then use iTunes to sync PDF files to the sample Reader app.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
UXReader PDF Framework for iOS License

Copyright © 2017 Julius Oklamcak. All rights reserved.
Copyright © 2017-2019 Julius Oklamcak. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

## UXReader PDF Framework for iOS

---
*With the inclusion of PDFKit in iOS, this project is no longer supported or maintained. It is only here for historical reasons.
---

### Introduction

The UXReader PDF Framework for iOS is a fully open-source iOS PDF Framework based
Expand Down Expand Up @@ -37,8 +40,6 @@ getting started and the sample Reader project on how to use the UXReader framewo

### Contact Info

Website: [http://www.vfr.org/](http://www.vfr.org/)

Email: joklamcak(at)gmail(dot)com

Twitter: [@joklamcak](https://twitter.com/joklamcak)
Expand Down
26 changes: 21 additions & 5 deletions Reader/Reader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
45C07DEA1E6729C10082025A /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0820;
LastUpgradeCheck = 0940;
ORGANIZATIONNAME = "Julius Oklamcak";
TargetAttributes = {
45C07DF11E6729C10082025A = {
Expand Down Expand Up @@ -364,19 +364,27 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -400,7 +408,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand All @@ -413,19 +421,27 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -443,7 +459,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
6 changes: 4 additions & 2 deletions Reader/Reader/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleVersion</key>
<string>0.1.0</string>
<string>0.1.1</string>
<key>CFBundleShortVersionString</key>
<string>0.1.0</string>
<string>0.1.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
Expand Down Expand Up @@ -53,6 +53,8 @@
<false/>
<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<false/>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderAppDelegate.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
4 changes: 2 additions & 2 deletions Reader/Reader/ReaderAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderAppDelegate.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderAppDelegate.h"
Expand Down Expand Up @@ -75,7 +75,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
}
*/

- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
- (BOOL)application:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
//NSLog(@"%s '%@'", __FUNCTION__, url);

Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderAppearance.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderAppearance.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderAppearance.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderAppearance.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderAppearance.h"
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderLowerToolbar.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderLowerToolbar.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderLowerToolbar.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderLowerToolbar.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderLowerToolbar.h"
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderSplitController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderSplitController.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderSplitController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderSplitController.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderSplitController.h"
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderUpperToolbar.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderUpperToolbar.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
6 changes: 3 additions & 3 deletions Reader/Reader/ReaderUpperToolbar.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderUpperToolbar.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderUpperToolbar.h"
Expand Down Expand Up @@ -246,9 +246,9 @@ - (void)toggleSearchField:(nonnull UIView *)view

[UIView animateWithDuration:ti delay:0.0 options:options animations:^(void)
{
[view removeConstraint:oldConstraint]; [view addConstraint:searchConstraintX]; [view layoutIfNeeded];
[view removeConstraint:oldConstraint]; [view addConstraint:self->searchConstraintX]; [view layoutIfNeeded];

const CGFloat a = (searchVisible ? 0.0 : 1.0); [titleLabel setAlpha:a];
const CGFloat a = (self->searchVisible ? 0.0 : 1.0); [self->titleLabel setAlpha:a];
}
completion:^(BOOL finished)
{
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/ReaderViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderViewController.h
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
6 changes: 3 additions & 3 deletions Reader/Reader/ReaderViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ReaderViewController.mm
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import "ReaderViewController.h"
Expand Down Expand Up @@ -737,9 +737,9 @@ - (void)dismissReaderViewController:(UXReaderViewController *)viewController
{
[self dismissViewControllerAnimated:YES completion:
^{
NSIndexPath *selected = [pdfTableView indexPathForSelectedRow];
NSIndexPath *selected = [self->pdfTableView indexPathForSelectedRow];

[pdfTableView deselectRowAtIndexPath:selected animated:NO];
[self->pdfTableView deselectRowAtIndexPath:selected animated:NO];
}];
}
else // Dismiss child UIViewController
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Localizable.strings - en
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

"Filter" = "Filter";
Expand Down
2 changes: 1 addition & 1 deletion Reader/Reader/main.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// main.m
// Reader v0.1
//
// Copyright © 2017 Julius Oklamcak. All rights reserved.
// Copyright © 2017-2019 Julius Oklamcak. All rights reserved.
//

#import <UIKit/UIKit.h>
Expand Down
26 changes: 21 additions & 5 deletions UXReader/UXReader.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
454179CD1E672BEB0044248A /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0830;
LastUpgradeCheck = 1010;
ORGANIZATIONNAME = "Julius Oklamcak";
TargetAttributes = {
454179D51E672BEC0044248A = {
Expand Down Expand Up @@ -715,19 +715,27 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -752,7 +760,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand All @@ -767,19 +775,27 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LANGUAGE_STANDARD = "c++17";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
Expand All @@ -798,7 +814,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
Loading

0 comments on commit 0d478e4

Please sign in to comment.