Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vfr committed Jan 25, 2016
1 parent eeb8754 commit d0f2669
Show file tree
Hide file tree
Showing 47 changed files with 124 additions and 70 deletions.
Binary file added Graphics/AppIcon-167.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Graphics/Default-0750x1334.png
Binary file not shown.
Binary file removed Graphics/Default-1242x2208.png
Binary file not shown.
Binary file removed Graphics/Default-1334x0750.png
Binary file not shown.
Binary file removed Graphics/Default-2208x1242.png
Binary file not shown.
Binary file added Graphics/Folder-Large@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Folder-Small@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Check.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Check@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Check@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Checked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Checked@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Checked@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Cross.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Cross@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Cross@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Edit@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Edit@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Folder.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Folder@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Folder@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Minus.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Minus@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Graphics/Icon-Minus@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Graphics/Icon-Plus.png
Binary file modified Graphics/Icon-Plus@2x.png
Binary file added Graphics/Icon-Plus@3x.png
Binary file added Graphics/Reader-Button-H@3x.png
Binary file added Graphics/Reader-Button-N@3x.png
Binary file modified Graphics/Reader-Email.png
Binary file modified Graphics/Reader-Email@2x.png
Binary file added Graphics/Reader-Email@3x.png
Binary file added Graphics/Reader-Mark-N@3x.png
Binary file added Graphics/Reader-Mark-Y@3x.png
Binary file modified Graphics/Reader-Print.png
Binary file modified Graphics/Reader-Print@2x.png
Binary file added Graphics/Reader-Print@3x.png
Binary file added Graphics/Reader-Thumbs@3x.png
6 changes: 6 additions & 0 deletions HISTORY.md
@@ -1,6 +1,12 @@

## History

2016-01-25: Version 1.2.2

- Added iOS 9 and iPad Pro support.
- iPhone 6 Plus and iPhone 6S Plus @3x graphics.
- Pulled in PDF Reader Core for iOS v2.8.7 code.

2015-06-28: Version 1.2.1

- Pulled in PDF Reader Core for iOS v2.8.6 code.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,5 +1,5 @@

Copyright © 2011-2014 Julius Oklamcak. All rights reserved.
Copyright © 2011-2016 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
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -24,8 +24,8 @@ code from the https://github.com/vfr/Reader repository on GitHub.

### Notes

Current development and testing of the PDF Viewer App is under Xcode 6.0,
LLVM 6.0 and iOS 8. The code uses ARC memory management and should work
Current development and testing of the PDF Viewer App is under Xcode 7.2,
LLVM 7.0 and iOS 9.2. The code uses ARC memory management and should work
under iOS 6 as well.

Please see https://github.com/vfr/Reader/blob/master/README.md for notes
Expand Down
27 changes: 27 additions & 0 deletions Resources/Viewer-App.storyboard
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
12 changes: 6 additions & 6 deletions Sources/ReaderContentView.m
@@ -1,9 +1,9 @@
//
// ReaderContentView.m
// Reader v2.8.6
// Reader v2.8.7
//
// Created by Julius Oklamcak on 2011-07-01.
// Copyright © 2011-2015 Julius Oklamcak. All rights reserved.
// Copyright © 2011-2016 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 Expand Up @@ -55,8 +55,8 @@ @implementation ReaderContentView
#define ZOOM_FACTOR 2.0f
#define ZOOM_MAXIMUM 16.0f

#define PAGE_THUMB_LARGE 240
#define PAGE_THUMB_SMALL 144
#define PAGE_THUMB_LARGE 240

static void *ReaderContentViewContext = &ReaderContentViewContext;

Expand Down Expand Up @@ -89,10 +89,10 @@ + (void)initialize

if ([@"8.0" compare:iosVersion options:NSNumericSearch] != NSOrderedDescending) // 8.0 and up
{
if ([@"8.2" compare:iosVersion options:NSNumericSearch] == NSOrderedDescending) // Below 8.2
{
// if ([@"8.2" compare:iosVersion options:NSNumericSearch] == NSOrderedDescending) // Below 8.2
// {
g_BugFixWidthInset = 2.0f * [[UIScreen mainScreen] scale]; // Reduce width of content view
}
// }
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Support/UIXTextEntry.m
Expand Up @@ -125,8 +125,8 @@ - (id)initWithFrame:(CGRect)frame

theToolbar = [[UIToolbar alloc] initWithFrame:toolbarRect];
theToolbar.autoresizingMask = UIViewAutoresizingNone;
theToolbar.barStyle = UIBarStyleBlack;
theToolbar.translucent = YES;
theToolbar.barStyle = UIBarStyleDefault;
//theToolbar.translucent = YES;

UIBarButtonItem *doneButton = [[UIBarButtonItem alloc]
initWithTitle:NSLocalizedString(@"Done", @"button")
Expand Down
49 changes: 7 additions & 42 deletions Viewer-Info.plist
Expand Up @@ -9,6 +9,7 @@
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon-180.png</string>
<string>AppIcon-167.png</string>
<string>AppIcon-152.png</string>
<string>AppIcon-144.png</string>
<string>AppIcon-120.png</string>
Expand All @@ -30,13 +31,15 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.2.1</string>
<string>1.2.2</string>
<key>CFBundleShortVersionString</key>
<string>1.2.1</string>
<string>1.2.2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiresFullScreen</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand Down Expand Up @@ -65,6 +68,8 @@
</array>
</dict>
</array>
<key>UILaunchStoryboardName</key>
<string>Viewer-App</string>
<key>UILaunchImages</key>
<array>
<dict>
Expand All @@ -77,46 +82,6 @@
<key>UILaunchImageSize</key>
<string>{320, 568}</string>
</dict>
<dict>
<key>UILaunchImageName</key>
<string>Default-0750x1334</string>
<key>UILaunchImageMinimumOSVersion</key>
<string>8.0</string>
<key>UILaunchImageOrientation</key>
<string>Portrait</string>
<key>UILaunchImageSize</key>
<string>{375, 667}</string>
</dict>
<dict>
<key>UILaunchImageName</key>
<string>Default-1334x0750</string>
<key>UILaunchImageMinimumOSVersion</key>
<string>8.0</string>
<key>UILaunchImageOrientation</key>
<string>Landscape</string>
<key>UILaunchImageSize</key>
<string>{375, 667}</string>
</dict>
<dict>
<key>UILaunchImageName</key>
<string>Default-1242x2208</string>
<key>UILaunchImageMinimumOSVersion</key>
<string>8.0</string>
<key>UILaunchImageOrientation</key>
<string>Portrait</string>
<key>UILaunchImageSize</key>
<string>{414, 736}</string>
</dict>
<dict>
<key>UILaunchImageName</key>
<string>Default-2208x1242</string>
<key>UILaunchImageMinimumOSVersion</key>
<string>8.0</string>
<key>UILaunchImageOrientation</key>
<string>Landscape</string>
<key>UILaunchImageSize</key>
<string>{414, 736}</string>
</dict>
</array>
</dict>
</plist>

0 comments on commit d0f2669

Please sign in to comment.