How to open a link in Safari Following this video by Sean Allen. Import SafariServices. Inside an action of a button call this function with a proper string URL. Work with DateComponents Following this video by Sean Allen. The video already contains a finished file, which I do not want to override. You can findContinue reading “Learning Swift — Day 224-5(238-9)”
Author Archives: Michele Galvagno
Learning Swift — Day 223(237)
Finding Inner Peace Following the Swift on Sunday event by Paul Hudson, streamed live on February 3rd 2019. After watching and coding following the video I am now going through the code step by step and seeing what can be learned. So, we started from the storyboard, adding two image views, one pinned to theContinue reading “Learning Swift — Day 223(237)”
Learning Swift — Day 222(236)
How to send an email from your app in Swift studying the video by Sean Allen Once more the link brings only to the finished project so I will just have to follow the video. I will highlight the interesting bits. MFMailComposeViewController Summary A standard view controller, whose interface lets the user manage, edit, andContinue reading “Learning Swift — Day 222(236)”
Beginner Auto Layout & Constraints
studying the video by Sean Allen Learning Swift — Day 221(235) Download the starter project linked in the description and create a new project. Go to ViewController.swift, declare and instantiate a new UIImageView() then, in viewDidLoad() call the yet unwritten setBackground() method and start creating it below. Inside it call view.addSubview() passing our image viewContinue reading “Beginner Auto Layout & Constraints”
Understanding the Standard Library
studying the video by Paul Hudson Learning Swift — Day 220(234) After cloning the Standard Library somewhere on the computer, lets open the swift/stdlib/public/core folder. The .gyb files in there are short for “Generate your boilerplate”. Bool Open the Bool.swift file. Look for func &&, which is this code: It is so described in theContinue reading “Understanding the Standard Library”
