DKAssetGroup.swift 836 B

12345678910111213141516171819202122232425262728
  1. // This file is based on third party code, see below for the original author
  2. // and original license.
  3. // Modifications are (c) by Threema GmbH and licensed under the AGPLv3.
  4. //
  5. // DKAssetGroup.swift
  6. // DKImagePickerControllerDemo
  7. //
  8. // Created by ZhangAo on 15/12/13.
  9. // Copyright © 2015年 ZhangAo. All rights reserved.
  10. //
  11. import Photos
  12. // Group Model
  13. public class DKAssetGroup : NSObject {
  14. public var groupId: String!
  15. public var groupName: String!
  16. public var totalCount: Int!
  17. public var originalCollection: PHAssetCollection!
  18. public var fetchResult: PHFetchResult<PHAsset>!
  19. /***** BEGIN THREEMA MODIFICATION: add reload data *********/
  20. public var momentsResult: PHFetchResult<PHAssetCollection>?
  21. public var momentsLoaded: Bool! = false
  22. /***** END THREEMA MODIFICATION: add reload data *********/
  23. }