remove @available(iOS 8.0, *)

This commit is contained in:
haranicle 2016-05-03 11:32:32 +09:00
parent cddc5fc1b9
commit b2c3bcbe99
14 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -8,7 +8,6 @@
import UIKit
@available(iOS 8.0, *)
class AnimatableNavigationController: UINavigationController, UINavigationControllerDelegate, UIViewControllerTransitioningDelegate {
let swipeInteractionController = SwipeInteractionController()

View File

@ -8,7 +8,6 @@
import UIKit
@available(iOS 8.0, *)
class AssetCell: UICollectionViewCell {
@IBOutlet weak var imageView: UIImageView!

View File

@ -8,7 +8,6 @@
import UIKit
@available(iOS 8.0, *)
class AssetDetailListViewController: AssetListViewController {
var selectedIndexPath:NSIndexPath!

View File

@ -9,7 +9,6 @@
import UIKit
import Photos
@available(iOS 8.0, *)
class AssetListViewController: UICollectionViewController {
weak var nohanaImagePickerController: NohanaImagePickerController?

View File

@ -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

View File

@ -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

View File

@ -9,7 +9,6 @@
import UIKit
import Photos
@available(iOS 8.0, *)
class MomentViewController: AssetListViewController, ActivityIndicatable {
var momentAlbumList: PhotoKitAlbumList!

View File

@ -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

View File

@ -8,7 +8,6 @@
import Photos
@available(iOS 8.0, *)
public class PhotoKitAlbumList: ItemListType {
private var albumList:[Item] = []

View File

@ -8,7 +8,6 @@
import Photos
@available(iOS 8.0, *)
public class PhotoKitAsset :AssetType {
let asset: PHAsset

View File

@ -7,7 +7,6 @@
//
import Photos
@available(iOS 8.0, *)
public class PhotoKitAssetList :ItemListType {
private let mediaType: MediaType

View File

@ -8,7 +8,6 @@
import Foundation
@available(iOS 8.0, *)
class PickedAssetList: ItemListType {
var assetlist: Array<AssetType> = []

View File

@ -8,7 +8,6 @@
import UIKit
@available(iOS 8.0, *)
class SwipeInteractionController: UIPercentDrivenInteractiveTransition {
var viewController: UIViewController?