mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-28 06:25:04 -04:00
Code removal
This commit is contained in:
parent
b12f727904
commit
1c963bec67
@ -173,7 +173,12 @@ class LibraryCollectionHeader: UICollectionReusableView {
|
||||
}
|
||||
|
||||
|
||||
|
||||
class DownloadTaskCell: UITableViewCell {
|
||||
@IBOutlet weak var thumbImageView: UIImageView!
|
||||
@IBOutlet weak var titleLabel: UILabel!
|
||||
@IBOutlet weak var subtitleLabel: UILabel!
|
||||
@IBOutlet weak var progressView: UIProgressView!
|
||||
}
|
||||
|
||||
|
||||
// MARK: - last time refactor
|
||||
|
@ -1,16 +0,0 @@
|
||||
//
|
||||
// LibraryCells.swift
|
||||
// Kiwix
|
||||
//
|
||||
// Created by Chris Li on 1/26/17.
|
||||
// Copyright © 2017 Chris Li. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class DownloadTaskCell: UITableViewCell {
|
||||
@IBOutlet weak var thumbImageView: UIImageView!
|
||||
@IBOutlet weak var titleLabel: UILabel!
|
||||
@IBOutlet weak var subtitleLabel: UILabel!
|
||||
@IBOutlet weak var progressView: UIProgressView!
|
||||
}
|
@ -51,21 +51,6 @@ class DropShadowView: UIView {
|
||||
}
|
||||
}
|
||||
|
||||
class SearchHRegularDropShadowView: UIView {
|
||||
override func awakeFromNib() {
|
||||
layer.masksToBounds = false
|
||||
layer.cornerRadius = 10.0
|
||||
layer.shadowOffset = CGSize(width: 0, height: 0)
|
||||
layer.shadowRadius = 50.0
|
||||
layer.shadowOpacity = 0.2
|
||||
}
|
||||
|
||||
override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
layer.shadowPath = UIBezierPath(rect: bounds).cgPath
|
||||
}
|
||||
}
|
||||
|
||||
class SearchRoundedCornerView: UIView {
|
||||
|
||||
override func awakeFromNib() {
|
||||
|
@ -230,8 +230,6 @@ private class SearchBarBackgroundView: UIView {
|
||||
}
|
||||
|
||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
// let frame = self.bounds.insetBy(dx: 0, dy: -12)
|
||||
// return frame.contains(point) ? self : nil
|
||||
return bounds.contains(point) ? self : nil
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,6 @@
|
||||
9779C3171D4575AE0064CC8E /* TodayViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9779C3161D4575AE0064CC8E /* TodayViewController.swift */; };
|
||||
9779C31E1D4575AE0064CC8E /* Bookmarks.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 9779C3131D4575AD0064CC8E /* Bookmarks.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
|
||||
977AE7F91DD8F22400F1E581 /* SearchBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 971A102A1D022AD5007FC62C /* SearchBar.swift */; };
|
||||
977B121C1E3A5E8D00981890 /* LibraryCells.swift in Sources */ = {isa = PBXBuildFile; fileRef = 977B121B1E3A5E8D00981890 /* LibraryCells.swift */; };
|
||||
977B954D1DD4C40400F6F62B /* ScanProcedure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97D6811E1D6F70AC00E5FA99 /* ScanProcedure.swift */; };
|
||||
9780DE061E43BFF5009B6945 /* NetworkActivityIndicatorController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9780DE051E43BFF5009B6945 /* NetworkActivityIndicatorController.swift */; };
|
||||
97A08C151DD263B90070D0E4 /* Book.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97D681341D6F711A00E5FA99 /* Book.swift */; };
|
||||
@ -210,7 +209,6 @@
|
||||
9779C3131D4575AD0064CC8E /* Bookmarks.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = Bookmarks.appex; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
9779C3161D4575AE0064CC8E /* TodayViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayViewController.swift; sourceTree = "<group>"; };
|
||||
9779C31B1D4575AE0064CC8E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
977B121B1E3A5E8D00981890 /* LibraryCells.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = LibraryCells.swift; sourceTree = "<group>"; };
|
||||
9780DE051E43BFF5009B6945 /* NetworkActivityIndicatorController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkActivityIndicatorController.swift; sourceTree = "<group>"; };
|
||||
9788419C1DA2FF2A00D22D3C /* MainInterface.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = MainInterface.storyboard; sourceTree = "<group>"; };
|
||||
978C9DBF1E4245B60078BFF7 /* UserNotifications.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UserNotifications.framework; path = System/Library/Frameworks/UserNotifications.framework; sourceTree = SDKROOT; };
|
||||
@ -403,7 +401,6 @@
|
||||
children = (
|
||||
971A10241D022AD5007FC62C /* BarButtonItems.swift */,
|
||||
971A10261D022AD5007FC62C /* Cells.swift */,
|
||||
977B121B1E3A5E8D00981890 /* LibraryCells.swift */,
|
||||
971A10271D022AD5007FC62C /* Logo.swift */,
|
||||
9764CBD01D806AD800072D6A /* RefreshLibControl.swift */,
|
||||
971A102A1D022AD5007FC62C /* SearchBar.swift */,
|
||||
@ -924,7 +921,6 @@
|
||||
970E7F831DA0305000741290 /* WelcomeController.swift in Sources */,
|
||||
97A1FD3B1D6F724E00A80EE2 /* stringTools.cpp in Sources */,
|
||||
9780DE061E43BFF5009B6945 /* NetworkActivityIndicatorController.swift in Sources */,
|
||||
977B121C1E3A5E8D00981890 /* LibraryCells.swift in Sources */,
|
||||
97599AA21E26D3B000BA15EF /* BookmarkBooksController.swift in Sources */,
|
||||
97D0E9931DDA487E0029530E /* SearchBaseController.swift in Sources */,
|
||||
97A1FD321D6F723D00A80EE2 /* resourceTools.cpp in Sources */,
|
||||
|
Loading…
x
Reference in New Issue
Block a user