*Consolidation Entry* Basic App 1
Calling this 'Basic App' as it is literally to go through similar processes to the Mark Price project in Week 1. In order to approach any app it is IMPERATIVE to be organised and not even begin to code until the pieces are in place. So here is what I need to do:
Get relevant pictures (Buffy) and put them through the resizer program
Get those assets added in
Set up VC with main storyboard
Get other VCs set up on storyboard and have each of them named, then added with the correct name in
Model for Buffy character names
*It's important to add in here that the purpose of this app is a very, very simple one to show bios on Buffy's main characters. It could branch out from there, but for now it's just going to be a few key screens.
Also need:
Function for displaying info
Segues
And that's about it!
So will start with the storyboards having added assets...
Well it's been a productive hour or so! This is more about the view than model or controller. I've made three screens, an initial welcome, then the list of characters, then one mockup where Buffy will appear.
Looking at this more logically, it would make much more sense to have this third screen as just one screen, where the character name, picture and bio is based on what button is clicked on. Otherwise, especially when making apps with more data, this would require a lot of view controllers! I know you can use 'tags' for buttons... anyway, for now I'm just doing it for the Buffy Character.
For that, I am now going to create the character model, and try to pass information into the various labels and pictures. Then this project is complete, for now!
Done! Total success! Managed to do all of the above, in not too much time and have become more au fait with every aspect of Xcode. Even managed to get the name of the image passed into the blank image option. In theory, this should be coded so only one storyboard screen is needed. But that is more than enough for now.
Awesome!
Comments
Post a Comment