Skip to content

Comments

Project List (Angel Buenrostro)#25

Open
angelbuenrostro wants to merge 5 commits intobloominstituteoftechnology:masterfrom
angelbuenrostro:master
Open

Project List (Angel Buenrostro)#25
angelbuenrostro wants to merge 5 commits intobloominstituteoftechnology:masterfrom
angelbuenrostro:master

Conversation

@angelbuenrostro
Copy link

**What is Interface Builder's object library?**

-The object library is where you can select UI elements which can be dragged into your main.storyboard, there are many kinds such as labels, buttons, steppers, etc.
What is the difference between an outlet and an action?
-An outlet connects a view element to the controller so we can know get and set its properties. For example a textField outlet allows us to see what the value of that textField is or set it ourselves through code or the inspector.
-An action is a connection between a UI element like a button or slider which runs code we specify in the viewcontroller whenever that action is triggered in our view. For this project the 'add' button runs the 'shouldAdd' function code when it is pressed in our app.
What is the role of a View Controller?
-A View Controller is responsible for connecting the View and Model portions of our application. It holds the logic of our application, for instance when the view detects a user input it does not know what to do with that input unless the logic is specified in our ViewController.
What is Model-View-Controller?
-An MVC separates the different parts of an application. It is a design architecture that was developed through trial and error by programmers through the years. M. stands for model which is responsible for our data, V. stands for view when is responsible for userInput and displaying visual information, and C. stands for Controller which directs through logic what to do with our Model and View.
Why use Model-View-Controller?
-MVC was created out of necessity so that code bases are more easily understood between programmers who have never worked on something before. The separation of differing tasks in MVC also makes code easier to maintain and write.

Copy link

@ilqarilyasov ilqarilyasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job Angel. You got all the requirements and stretch goals.
You have excellent explanation for the questions, very nice commit messages.
You got a perfect auto layout setup. But just a minor thing. You should put New item... as a Placeholder not a Text.
And if you could, for the next project please create a text file and write your answers into it. Save it. Then drag that text file into Xcode under Info.plist. And don't forget to check Copy items if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants