28 1424.0 ToyPhotoGallery (2497) :0
27 813.0 Main Thread 0x11afef :0
26 libdyld.dylib 764.0 start
25 ToyPhotoGallery 764.0 main /Users/voxels/Documents/ToyPhotoGallery/src/ToyPhotoGallery/ToyPhotoGallery/View/Gallery/GalleryCollectionViewImageCell.swift:14
24 UIKit 763.0 UIApplicationMain
23 GraphicsServices 759.0 GSEventRunModal
22 CoreFoundation 759.0 CFRunLoopRunSpecific
21 CoreFoundation 759.0 __CFRunLoopRun
20 CoreFoundation 432.0 __CFRunLoopDoObservers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CacheHandler.swift | |
// ToyPhotoGallery | |
// | |
// Created by Michael Edgcumbe on 7/14/18. | |
// Copyright © 2018 Michael Edgcumbe. All rights reserved. | |
// | |
import Foundation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BucketHandlerDelegate.swift | |
// ToyPhotoGallery | |
// | |
// Created by Voxels on 7/2/18. | |
// Copyright © 2018 Michael Edgcumbe. All rights reserved. | |
// | |
import Foundation | |
import AWSCore |
34 1424.0 ToyPhotoGallery (2497) :0
33 813.0 Main Thread 0x11afef :0
32 libdyld.dylib 764.0 start
31 ToyPhotoGallery 764.0 main /Users/voxels/Documents/ToyPhotoGallery/src/ToyPhotoGallery/ToyPhotoGallery/View/Gallery/GalleryCollectionViewImageCell.swift:14
30 UIKit 763.0 UIApplicationMain
29 GraphicsServices 759.0 GSEventRunModal
28 CoreFoundation 759.0 CFRunLoopRunSpecific
27 CoreFoundation 759.0 __CFRunLoopRun
26 CoreFoundation 110.0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
123.00 ms 16.7% 0 s _dispatch_worker_thread3 0x11b020
123.00 ms 16.7% 0 s _pthread_wqthread
118.00 ms 16.0% 0 s _dispatch_worker_thread3
118.00 ms 16.0% 0 s _dispatch_root_queue_drain
115.00 ms 15.6% 0 s _dispatch_queue_override_invoke$VARIANT$mp
115.00 ms 15.6% 0 s _dispatch_client_callout
115.00 ms 15.6% 0 s _dispatch_call_block_and_release
115.00 ms 15.6% 0 s __55-[BFTask continueWithExecutor:block:cancellationToken:]_block_invoke
113.00 ms 15.3% 0 s __28-[PFAsyncTaskQueue enqueue:]_block_invoke_2
45 861.0 ToyPhotoGallery (2769) :0
44 361.0 Main Thread 0x14aa88 :0
43 libdyld.dylib 303.0 start
42 ToyPhotoGallery 303.0 main /Users/voxels/Documents/ToyPhotoGallery/src/ToyPhotoGallery/ToyPhotoGallery/View/Gallery/GalleryCollectionViewImageCell.swift:14
41 UIKit 303.0 UIApplicationMain
40 GraphicsServices 298.0 GSEventRunModal
39 CoreFoundation 298.0 CFRunLoopRunSpecific
38 CoreFoundation 298.0 __CFRunLoopRun
37 CoreFoundation 89.0 __CFRunLoopDoBlocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MARK: - Animation | |
extension GalleryViewController { | |
func animateCollectionViews(preview:Bool, with indexPath:IndexPath?) { | |
guard let oldCollectionView = collectionView, let collectionViewModel = oldCollectionView.model else { | |
return | |
} | |
let angle = CGFloat(Measurement(value: 90, unit: UnitAngle.degrees) | |
.converted(to: .radians).value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func scrollViewDidScroll(_ scrollView: UIScrollView) { | |
if scrollDirection == .horizontal { | |
calculateTransforms(with:scrollView.contentOffset) | |
} | |
} | |
func calculateTransforms(with offset:CGPoint) { | |
guard let collectionView = collectionView else { | |
return | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LaunchController.swift | |
// ToyPhotoGallery | |
// | |
// Created by Voxels on 7/2/18. | |
// Copyright © 2018 Michael Edgcumbe. All rights reserved. | |
// | |
import UIKit |
Oakland, CA 94607
- Text Messages Only to: 510-224-9239
- Email: voxels@yahoo.com