Changed the background of the menu to a static image #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Types of changes
Purpose
Changed the trianglify background to be a static image.
Approach
Changed the triangleView view component in the MenuViewController class to be a UIView, and simply added a background image to this UIView.
Learning
Researched on stack overflow about adding images to UIViews. Here is a link the the helpful stack overflow answer: https://stackoverflow.com/a/26311986/4694958
Screenshot(s)
Checklist
master
without error.Further Comments
I kept the name of the triangleView component the same, so any references to it ought to stay the same, furthermore since the TrianglifyView class inherited from UIView, the new use of UIView as the type of triangleView ought to allow for all the same functionality of the original TrianglifyView except for the actual use of the Trianglify API, which we do not seem to be using anymore.