remove @available(iOS 8.0, *)
This commit is contained in:
parent
cddc5fc1b9
commit
b2c3bcbe99
|
|
@ -9,7 +9,6 @@
|
|||
import UIKit
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class AlbumListViewController: UITableViewController, EmptyIndicatable, ActivityIndicatable {
|
||||
|
||||
weak var nohanaImagePickerController: NohanaImagePickerController?
|
||||
|
|
@ -197,7 +196,6 @@ class AlbumListViewController: UITableViewController, EmptyIndicatable, Activity
|
|||
}
|
||||
}
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
extension UIViewController {
|
||||
|
||||
// MARK: - Toolbar
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class AnimatableNavigationController: UINavigationController, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate {
|
||||
|
||||
let swipeInteractionController = SwipeInteractionController()
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class AssetCell: UICollectionViewCell {
|
||||
|
||||
@IBOutlet weak var imageView: UIImageView!
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class AssetDetailListViewController: AssetListViewController {
|
||||
|
||||
var selectedIndexPath:NSIndexPath!
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
import UIKit
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class AssetListViewController: UICollectionViewController {
|
||||
|
||||
weak var nohanaImagePickerController: NohanaImagePickerController?
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import AVFoundation
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
extension Size {
|
||||
static func contractingAnimationToCellRect(toVC: AssetListViewController, toCell: AssetCell) -> CGRect {
|
||||
let origin = CGPoint(x: toCell.frame.origin.x, y: toCell.frame.origin.y - toVC.collectionView!.contentOffset.y)
|
||||
|
|
@ -24,7 +23,6 @@ extension Size {
|
|||
}
|
||||
}
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class ContractingAnimationController: NSObject, UIViewControllerAnimatedTransitioning {
|
||||
|
||||
var fromCell: AssetDetailCell
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import AVFoundation
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
extension Size {
|
||||
|
||||
static func expandingAnimationFromCellRect(fromVC: AssetListViewController, fromCell: AssetCell) -> CGRect {
|
||||
|
|
@ -21,7 +20,6 @@ extension Size {
|
|||
}
|
||||
}
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class ExpandingAnimationController: NSObject, UIViewControllerAnimatedTransitioning {
|
||||
|
||||
var fromCell: AssetCell
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
import UIKit
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class MomentViewController: AssetListViewController, ActivityIndicatable {
|
||||
|
||||
var momentAlbumList: PhotoKitAlbumList!
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public enum MediaType: Int {
|
|||
case Any = 0, Photo, Video
|
||||
}
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
@objc public protocol NohanaImagePickerControllerDelegate {
|
||||
func nohanaImagePickerDidCancel(picker: NohanaImagePickerController)
|
||||
func nohanaImagePicker(picker: NohanaImagePickerController, didFinishPickingPhotoKitAssets pickedAssts :[PHAsset])
|
||||
|
|
@ -30,7 +29,6 @@ public enum MediaType: Int {
|
|||
|
||||
}
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
public class NohanaImagePickerController: UIViewController {
|
||||
|
||||
public var maximumNumberOfSelection: Int = 21 // set 0 to set no limit
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
public class PhotoKitAlbumList: ItemListType {
|
||||
|
||||
private var albumList:[Item] = []
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
public class PhotoKitAsset :AssetType {
|
||||
|
||||
let asset: PHAsset
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
//
|
||||
import Photos
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
public class PhotoKitAssetList :ItemListType {
|
||||
|
||||
private let mediaType: MediaType
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class PickedAssetList: ItemListType {
|
||||
|
||||
var assetlist: Array<AssetType> = []
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
import UIKit
|
||||
|
||||
@available(iOS 8.0, *)
|
||||
class SwipeInteractionController: UIPercentDrivenInteractiveTransition {
|
||||
|
||||
var viewController: UIViewController?
|
||||
|
|
|
|||
Loading…
Reference in New Issue