Video is locked.

Unlock the full course today

Join today to access over 15,000 courses taught by industry experts or purchase this course individually.

iOS 13 Development Essential Training: 1 Fundamentals, UI, and Architecture

Dismiss the keyboard with touch events

From the course: iOS 13 Development Essential Training: 1 Fundamentals, UI, and Architecture

Start my 1-month free trial
  • Course details

    Got a great idea for an app? The iOS 13 Development Essential Training series can give you the skills you need to make your idea a reality. In this course—the first installment in a two-part series—instructor Todd Perkins covers the basics of application development for iOS devices, providing novice iOS developers with the tools they need to jump-start a career in this exciting field. Todd—who's been developing iOS apps for a decade—highlights key concepts and tips he wished he knew at the start of his own career. He covers Xcode fundamentals, such as how to create an Xcode project and use the iOS Simulator. Plus, learn how to build a user interface, including how to approach responsive UI design with Auto Layout, and explore the essentials of app architecture.

    Instructor

    • Click here to view Todd Perkins’ instructor page

      Todd Perkins

      LinkedIn Learning/Lynda.com Author and Game Developer

      Todd Perkins is a developer who specializes in iOS. He's developed over a dozen popular apps and games.

      He has published over 50 books and video courses that cover topics such as programming for nonprogrammers and game development. He is also a Sun Certified Java Developer (SCJD), and holds a bachelor's degree in software development from Western Governors University. When he's not building applications or courses, he hosts the podcast Try, Try Again - a Movie Club, and plays a healthy amount of video games. Todd lives in California with his family.

    Skills covered in this course

  • Start a career in iOS development

    - [Instructor] Let's say you wanted to dismiss the keyboard when we tap away from the text field. So anywhere over here, you want to be able to tap and dismiss the keyboard at that point. To do that, head over to Xcode, and then create a new method called touchesBegan. This is a built-in method for a view controller, and you can see the description at the top, it tells this object that one or more new touches occurred in a view or window, so in other words, the user touched the screen. So all we want to do in here is resign the first responder. So myTextField.resignFirstResponder. An alternative way to resign a first responder, especially if you don't know which object is the first responder, is to call view, that's that root view inside of our view controller, .endEditing. If you look at the description, it says it causes the view or one of its embedded text fields to resign the first responder status. So let's use…

  • Practice while you learn with exercise files

    Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.

    Download the exercise files for this course. Get started with a free trial today.

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.

Contents