Labels

Sunday, March 5, 2017

Not proud of me... (but also super proud) (3)

SOOOOOOOOOooooooooooooooo

This week was... interesting. Definitely not the norm for me. I'm not really proud to say it, but I may have put off my genius project *insert sad face here* and instead gone to robotics and sat in a cafeteria alone entering in stacks of sheets of data into a computer while watching the competition that was going on about 50 feet away from me *what face goes here?* BUT WE DID GREAT AND GOT RANKED SECOND AND GOT TO THE SEMI-FINALS *it was a happy face guys*!!!!!!!!!!!!!! (and the data entering wasn't really that bad - I had many visitors)

But the project...

I didn't really go that far this week. Because I spent too much time at robotics and studying up on rules and researching teams *did I spend too much time on that?* I didn't get to actually create any new fancy apps with background code *therefore yes. I did spend too much time on that*. However, I watched a few tutorials on how to use Swift in XCode in general, and it seems fairly simple to execute. All you need to do (for the simple stuff) is go into the story board and drag an XCode object into the frame and select it. When selected, there is a little icon in the upper right of the screen of a decapitated legless man in a tuxedo *insert well dressed dead man here* who, when clicked, brings up a window with the background code that runs the page. (yea that's not my picture, just a display of the tiny murdered tuxedo man and background code)

As for an update on my project in general, before this week I was doing great and learned more than I thought I was going to be able to for just using XCode and no Swift. But now I'm behind, so I'm making some revisions on my schedule. Since in week one and two I'd learned so much with just XCode, I made some apps (3 different ones) that were used to prove to myself that I can actually make something work. So, instead of spending week three building a new app with all the knowledge I have so far, I'm going to go deeper into Swift, because that's where I'm going to learn how to do things that are actually cool.

One realization from the (too small) time that I spent researching Swift is: IT IS HARD

There are so many different files that you have to edit and different functions that you have to make and reference in order to do anything. It is really different than any language that I've ever programmed with before. I'm used to languages where you can just type cout << "Bla Bla Bla"; and it'll just display "Bla Bla Bla". But with Swift (from what I've seen so far (I may find an easier way to make everything work as I look deeper into it)) it is much more complicated. You have to insert a label and button into the storyboard and define each of them in the background code and then program the button to trigger the label to change and display something.

Yea that confuses me too...

Not sure how it'll work out, but I'll do my best :)

1 comment:

  1. Although you did not actually do anything, in terms of the Genius Project it is great how well you guys did in robotics. This week of down time seems like it is good for you because it allowed you to reevaluate your schedule and see where you were on your schedule. For the coming weeks make sure to stay on schedule and work hard to make a great app!

    ReplyDelete