Join Simon Allardice for an in-depth discussion in this video Deconstructing the finished project, part of Code Clinic: Swift.
- I'm in the final project.…It's a Storyboard based Cocoa app.…Let's go with the simple user interface here.…There are three buttons and three labels on the storyboard.…Buttons depict the Origin and Destination folders…and then to stop the process of organizing,…and three labels currently blank…that will first show the chosen Origin…and Destination folders and also to output any messages.…So nothing special here, over into the code.…Now the class level, I'm first creating the NSFileManager…because we're going to need that a lot.…And there's the three label properties already connected…up to the storyboard and one counter variable…to keep track of how many photos we're moving.…
Beyond that, I have three methods for the three buttons.…And beyond that, just two main processing methods.…All right, the two buttons that set the Origin…and the Destination folders are using…the NSOpenPanel class to show that folder picker.…It is set here to only allow directories to be chosen,…not individual files.…And the second option to go to the Destination folder is…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.