Files created while working on Hacking with Swift course by Paul Hudson.
TODO
Image viewer with FileManager, Auto Layout, UIImage, Table Views.
Game with UIKit, UIButton, actions, UIAlertController.
Storm Viewer (project1) app updated with UIActivityViewController, UIBarButtonItem.
Web view app with loadView(), WKWebView, URL, URLRequest, UIToolbar, UIProgressView, KVO (key-value observing)
Game with UITableView, UIAlertController, world validation with NSRange, UITextChecker, normal and trailing closures and file loading with path(forResource:)
Same Game as project 2 with auto layout rules using the Xcode UI.
Auto layout examples using only code with VFL (Auto Layout Visual Format Language) (first auto layout option) or Anchors (second auto layout option).
UILabel, addSubview, addConstraints, NSLayoutConstraint, Anchors (widthAnchor, heightAnchor, topAnchor, bottomAnchor).
UITableView with Most Recent and Top Rated Whitehouse Petitions https://petitions.whitehouse.gov/developers inside a UINavigationController and UITabBarController. URL(string: ), String(contentsOf: url) and JSON(parseJSON: data) using SwiftyJSON (hard-copied to the project)
Game like '7 Swifty Words' using UIKit, attach click event methods in code 'addTarget()', property obervers 'didSet() or willSet()', enumerated(), index(of:), joined(), replacingOccurrences(), components(separatedBy:), Bundle.main.path(forResource:, ofType:), String(contentsOfFile:)
Whitehouse Petitions (project7) app updated with GCD Framework (Grand Central Dispatch) using anync() with QoS queues,performSelector(inBackground:) and performSelector(onMainThread:)
UICollectionView with UIImagePickerController, UUID, Person class based on NSObject, UIImage with CGColor (colored border radius), UIAlert, UIImageJPEGRepresentation and FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)
TODO.
Basic example of UserDefaults read and write.
Names to Faces (project10) with "data persistance" using UserDefaults with NSCoding
Names to Faces (project10) with "data persistance" using UserDefaults with Codable
Image edition with filters using UIImageView, UISlider, CIImage, CIFilter, UIImageWriteToSavedPhotosAlbum. Search for "Core Image Filter Reference" for more filter keys like "kCIInputIntensityKey, kCIInputRadiusKey, ..."
TODO.
Animation example with CGAffineTransform(scaleX: , y: ), CGAffineTransform.identity, CGAffineTransform(translationX: , y: ), CGAffineTransform(rotationAngle: ), imageView.alpha, imageView.backgroundColor