Skip to content

Comments

Sprites Project #26

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

Sprites Project #26
angelbuenrostro wants to merge 6 commits intobloominstituteoftechnology:masterfrom
angelbuenrostro:master

Conversation

@angelbuenrostro
Copy link

Hello, this is my finished project. I will continue to try and meet the stretch goals. Thank you!

QUESTIONS

Why do we use version Control? Under what circumstances would you need version control features and why?

  • Version control allows you to save states of your code so that you can revert to previously saved states in case you made a mistake somewhere. It also allows multiple people to work on the same project without interfering with the ‘master’ until they are ready to make a ‘pull request’ and have their changes added to the ‘master’. Version control also allows you to make commit messages which detail the ‘why’ for any changes made which can help another person who has never seen your project code before understand how it works and why you designed it the way you did.

-Any project would benefit from version control even if there is only one person working on it simply because it allows you to travel back and forth between saved commits if needed and documents how and why changes were made for your future self which may forget important details. That of course extends to larger projects with multiple people working on them.

What are the navigator, editor, and inspectors areas in Xcode? What are their features and why?

-The navigator pane is a hierarchy view of all the files in your Xcode project. You can find your storyboards, swift files, etc in a list and easily choose which one you need to work on from this pane. It also has places to view source control, error messages, debugging/breakpoints, etc.

-The editor inspector allows you to see and change individual settings of different components in your project. For the main.storyboard it is especially important to change UI elements because it displays class information, outlet connections, layout dimensions, etc

How do you center a view in Interface Builder? How do you stretch one?

-You can center a view in IB by using the automatic guidelines when you drag around the element or by using the ‘tie fighter’ buttons to check off the appropriate option such as ‘horizontally contain in center’.
-You can stretch a view by going into the main.storyboard, clicking your view and then finding the ‘tie fighter’ button to add constraints. There are 4 fields which allow you to designate the position of the view edges in relation to the screen. Setting all.4 fields to 0 will make your view cover your entire screen with that view.

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 required features and stretch goals. You nailed it.
Just a minor suggestion, when you create a new file put it under the main project folder.
And thanks for answering most of the questions

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