Learn how to expose your UI elements to your C# code.
- [Instructor] We've got many of the key elements…that we need to generate our character.…But so far we have a graphical user interface…that's defined here in in the Interface Builder…and then we have a bunch of code…that's over in Visual Studio and we need…to figure out how to expose these text box properties…to our View Controller so that we can…actually do something with it.…Doing this in Xcode is actually really different…than it is in Visual Studio code for Windows.…Normally your attribute inspector would also have…an Events tab on it and you can go in and define…the Event that you wanted to capture…and then you would simply double-click…and it would generate the Event for you…and you could just start typing your code.…
Another way to do it would have been…to just double-click your button…and it would automatically generate…a click controller for you, and again,…you could just start writing code.…It doesn't work that way in Xcode.…In Xcode what we need to do is add…a collection of Outlets.…The Outlets are what actually exposes…
AuthorBruce Van Horn
- Exploring C# on a Mac
- Creating a reusable code library
- Classes and properties
- Loops, arrays, and lists
- Creating a console app
- Creating a command-line app
- Creating a Mac desktop app
- Creating a UI with view controllers and actions
Skill Level Beginner
New Features Xamarin and Visual Studio 2017with Kevin Ford1h 44m Intermediate
Docker for .NET Developers with Visual Studiowith Lee Brandt46m 52s Intermediate
1. C# on the Mac?
2. Getting Started with C#
3. Deeper into C#
4. Creating a Mac App
Next steps3m 14s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.