Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
05b773a
first version
GGGHub Jun 1, 2016
fd8b2b6
add functiion
GGGHub Jun 1, 2016
a0b23a8
confirm commit
GGGHub Jun 1, 2016
e719048
add function
GGGHub Jun 2, 2016
b7323a2
add function
GGGHub Jun 2, 2016
cc20f18
add function
GGGHub Jun 3, 2016
c50249b
add select effect
GGGHub Jun 4, 2016
fbd93f7
Update README.md
GGGHub Jun 4, 2016
c8ec377
add function
GGGHub Jun 5, 2016
d2e2386
Merge branch 'master' of github.com:GGGHub/Reader
GGGHub Jun 5, 2016
1b0dff6
add Select Range
GGGHub Jun 7, 2016
790cbcc
add function
GGGHub Jun 7, 2016
db2d42d
add progress
GGGHub Jun 7, 2016
1b0f1d7
add progress
GGGHub Jun 8, 2016
430ae41
add function
GGGHub Jun 8, 2016
bb4f100
add save
GGGHub Jun 8, 2016
77bffaa
add function
GGGHub Jun 12, 2016
b037c2c
add function
GGGHub Jun 12, 2016
358d3d3
add gif
GGGHub Jun 12, 2016
65902d1
Update README.md
GGGHub Jun 12, 2016
92ccf59
add gif
GGGHub Jun 12, 2016
af2c30c
Update README.md
GGGHub Jun 12, 2016
6386901
change note and chapter save question
GGGHub Jun 12, 2016
c5e57c5
Update README.md
GGGHub Jun 13, 2016
d13c17c
修改翻页问题
GGGHub Jun 13, 2016
6b8db93
修改分章题目的正则表达式
GGGHub Jun 13, 2016
655d074
修改内容显示问题
GGGHub Jun 13, 2016
2eb9a8c
修改内容显示问题
GGGHub Jun 13, 2016
82fc441
Update README.md
GGGHub Jun 13, 2016
6451f9d
Update README.md
GGGHub Jun 15, 2016
44cdc49
Update README.md
GGGHub Jun 15, 2016
4afef5f
add epub support
GGGHub Jun 16, 2016
c829972
Update README.md
GGGHub Jun 16, 2016
c14c7d2
Update README.md
GGGHub Jun 16, 2016
f13937a
Update README.md
GGGHub Jun 16, 2016
f49ef47
Update README.md
GGGHub Jun 16, 2016
8d5ef08
Update README.md
GGGHub Jun 16, 2016
199912e
fix marks save question
GGGHub Jul 29, 2016
060a116
删除隐藏文件
GGGHub Nov 14, 2016
0d81ff6
添加图片解析
Nov 16, 2016
371cd0c
解决冲突
GGGHub Nov 16, 2016
0458de4
图片解析
GGGHub Nov 16, 2016
06b05af
Update .gitignore
GGGHub Nov 17, 2016
35bc360
添加对图片支持
Nov 17, 2016
1722a70
添加图片支持
GGGHub Nov 17, 2016
15c3fe7
添加对图片支持
Nov 18, 2016
b6d9a23
添加epub图片支持
GGGHub Nov 20, 2016
0feb8b9
修改更换字体的问题
GGGHub Nov 20, 2016
2fc281b
添加修改
Nov 21, 2016
3ee20ea
忽略epub标题解析
Nov 21, 2016
b37edd0
修改epub目录解析
Nov 22, 2016
d77928e
修改错误
Nov 22, 2016
77146df
更新README
Nov 22, 2016
3916c87
修改bug
Nov 24, 2016
6fc5352
fix save mark question
Nov 28, 2016
64ec4b7
Delete .DS_Store
GGGHub Dec 6, 2016
3864087
epub图片路径修改
Dec 16, 2016
4ed5d42
Fix broken Markdown headings
bryant1410 Apr 18, 2017
4e6065a
Merge pull request #21 from bryant1410/master
GGGHub May 9, 2017
5efa4c8
修改txt分页错误问题
Jun 20, 2017
e0e72f9
Merge pull request #29 from GGGHub/develop
GGGHub Jun 20, 2017
838cc40
修改解析epub可能引起崩溃的问题
Jul 4, 2017
0fbc281
Merge branch 'develop'
Jul 4, 2017
a8f8ff9
fix iOS11 menu bug
Jan 2, 2018
eb607b6
fix ios11 menu bug
Jan 3, 2018
c6005ba
bug - 图片计算高度错误导致的图片展示比例压缩
May 3, 2018
80944d9
Merge pull request #51 from hungryAndCoder/master
GGGHub May 3, 2018
c1e41eb
bug - 修复 epub 多图片渲染出现空白页 bug
May 4, 2018
61bc11a
Merge pull request #52 from hungryAndCoder/master
GGGHub May 11, 2018
ae7b68a
修复模拟器运行Epub格式文件路径问题
May 11, 2018
b6606a4
bug - 修复翻页造成的内存泄漏
May 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
.idea
.DS_Store
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
Pods/
Binary file modified LSYReader/.DS_Store
Binary file not shown.
394 changes: 382 additions & 12 deletions LSYReader/LSYReader.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,80 @@
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LSYReader/Reader/LSYReadView.m"
timestampString = "487399155.012877"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "74"
endingLineNumber = "74"
landmarkName = "-longPress:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "0"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LSYReader/Reader/LSYReadView.m"
timestampString = "501348035.164919"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "334"
endingLineNumber = "334"
landmarkName = "-fillImagePosition:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LSYReader/Reader/LSYReadView.m"
timestampString = "501348057.954237"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "357"
endingLineNumber = "357"
landmarkName = "-fillImagePosition:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LSYReader/Reader/LSYReadView.m"
timestampString = "501348443.234967"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "352"
endingLineNumber = "352"
landmarkName = "-fillImagePosition:"
landmarkType = "5">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "1"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "LSYReader/Reader/LSYReadView.m"
timestampString = "486980953.752516"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "184"
endingLineNumber = "184"
landmarkName = "-cancelSelected"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
scope = "0"
stopOnStyle = "0">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB9A96B61CFC2EE70066030C"
BuildableName = "LSYReader.app"
BlueprintName = "LSYReader"
ReferencedContainer = "container:LSYReader.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB9A96B61CFC2EE70066030C"
BuildableName = "LSYReader.app"
BlueprintName = "LSYReader"
ReferencedContainer = "container:LSYReader.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB9A96B61CFC2EE70066030C"
BuildableName = "LSYReader.app"
BlueprintName = "LSYReader"
ReferencedContainer = "container:LSYReader.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AB9A96B61CFC2EE70066030C"
BuildableName = "LSYReader.app"
BlueprintName = "LSYReader"
ReferencedContainer = "container:LSYReader.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>LSYReader.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>AB9A96B61CFC2EE70066030C</key>
<dict>
<key>primary</key>
<true />
</dict>
</dict>
</dict>
</plist>
Binary file modified LSYReader/LSYReader/.DS_Store
Binary file not shown.
68 changes: 62 additions & 6 deletions LSYReader/LSYReader/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10116" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15E65" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<scenes>
<!--View Controller-->
Expand All @@ -17,20 +17,76 @@
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kBD-86-EJT">
<rect key="frame" x="44" y="28" width="84" height="30"/>
<state key="normal" title="Begin"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kBD-86-EJT">
<rect key="frame" x="20" y="28" width="560" height="65"/>
<color key="backgroundColor" red="0.66438872868157561" green="0.77749971291950137" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="65" id="Mib-Pq-lZZ"/>
</constraints>
<state key="normal" title="Begin txt Read">
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</state>
<connections>
<action selector="begin:" destination="BYZ-38-t0r" eventType="touchUpInside" id="xZ8-YQ-BKZ"/>
</connections>
</button>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="LWz-nr-1SF">
<rect key="frame" x="290" y="51" width="20" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="20" id="9nL-4D-biV"/>
<constraint firstAttribute="height" constant="20" id="sjI-zE-co1"/>
</constraints>
<color key="color" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</activityIndicatorView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tWr-Zc-5gW">
<rect key="frame" x="20" y="114" width="560" height="65"/>
<color key="backgroundColor" red="0.66438872869999999" green="0.77749971289999997" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="65" id="0Tf-uJ-19r"/>
<constraint firstAttribute="height" constant="65" id="cdE-VT-Z9j"/>
</constraints>
<state key="normal" title="Begin ePub Read">
<color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</state>
<connections>
<action selector="beginEPub:" destination="BYZ-38-t0r" eventType="touchUpInside" id="y0e-rG-fJe"/>
</connections>
</button>
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="TR4-K5-05E">
<rect key="frame" x="290" y="137" width="20" height="20"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="20" id="pdh-4n-NBR"/>
<constraint firstAttribute="width" constant="20" id="qaG-0N-Yfl"/>
<constraint firstAttribute="height" constant="20" id="yKw-OH-VV5"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="20" id="yqK-T1-JvR"/>
</constraints>
<color key="color" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
</activityIndicatorView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="TR4-K5-05E" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="6MX-mH-shM"/>
<constraint firstItem="tWr-Zc-5gW" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="6vM-1A-TOw"/>
<constraint firstItem="kBD-86-EJT" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leadingMargin" id="Elo-I7-R87"/>
<constraint firstItem="tWr-Zc-5gW" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="LVH-Zt-4A1"/>
<constraint firstItem="LWz-nr-1SF" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="MY1-Qd-Pu9"/>
<constraint firstItem="kBD-86-EJT" firstAttribute="trailing" secondItem="8bC-Xf-vdC" secondAttribute="trailingMargin" id="U96-wL-yqo"/>
<constraint firstItem="LWz-nr-1SF" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="31" id="ayR-Nu-wOz"/>
<constraint firstItem="TR4-K5-05E" firstAttribute="top" secondItem="kBD-86-EJT" secondAttribute="bottom" constant="44" id="fkG-rI-Qp3"/>
<constraint firstItem="kBD-86-EJT" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="8" id="qFK-gg-bXe"/>
<constraint firstItem="tWr-Zc-5gW" firstAttribute="top" secondItem="kBD-86-EJT" secondAttribute="bottom" constant="21" id="yNg-Xl-J7B"/>
</constraints>
</view>
<connections>
<outlet property="activity" destination="LWz-nr-1SF" id="PjH-Ry-1OF"/>
<outlet property="begin" destination="kBD-86-EJT" id="XFI-de-hAf"/>
<outlet property="beginEpub" destination="tWr-Zc-5gW" id="fO3-Jc-zPJ"/>
<outlet property="epubActivity" destination="TR4-K5-05E" id="gS7-1R-7cL"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="357" y="348"/>
<point key="canvasLocation" x="156" y="326"/>
</scene>
</scenes>
</document>
Loading