Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
commit
  • Loading branch information
dingxiao01 committed Jul 6, 2016
1 parent 42cf057 commit 82e4d5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ public class DXPhotoPickerController: UINavigationController, UINavigationContro
viewController!.reloadTableView()
case .Denied:
viewController!.showUnAuthorizedTipsView()
break
case .Restricted:
viewController!.showUnAuthorizedTipsView()
break
case .NotDetermined:
PHPhotoLibrary.requestAuthorization({ (status) -> Void in
guard status != .NotDetermined else {
Expand Down
5 changes: 4 additions & 1 deletion DXPhotoPicker/Classes/Models/DXAlbum.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
import UIKit
import Photos

// @note use this model to store the album's 'result, 'count, 'name, 'startDate to avoid request and reserve too much times
/*
@note use this model to store the album's 'result, 'count, 'name, 'startDate
to avoid request and reserve too much times.
*/

class DXAlbum: NSObject {
var results: PHFetchResult?
Expand Down

0 comments on commit 82e4d5b

Please sign in to comment.