Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Match which of these concepts of Object Oriented Programming are available to us when working with... + Structs Inheritanco, Composition : X on Classes Composition

image text in transcribed
Match which of these concepts of Object Oriented Programming are available to us when working with... + Structs Inheritanco, Composition : X on Classes Composition . X Your app crashed after you renamed an outlet inside your UIViewController. What went wrong? ut on Select one: a. The old name of the outlet is still being used in our storyboard file. To avoid this we could have right-clicked the outlet declaration in our UIViewController and renamed the outlet with the "refactor" tool. We could also delete the outlet inside InterfaceBuilder and re-create it with the new name, b. In general it is a better approach to use Actions exclusively. Actions are much more versatile than Outlets. c. After renaming an outlet all layout constraints associated with the view component have to be updated. We can either delete each layput constraint and re-create it, or we can update each constraint manually. To avoid this altogether we could place view camponents based on the x and y coordinates in the respective purent view, d. Outlets, once created, can not be renamed. We could have avoided this by spending more time coming up with a better name for the outlet at the outset. e. The app crashed because we didn't call viewDidLoad) after renaming the outlet. We have to make sure we call that method whenever we re-name an outlet

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions