Learning Xcode

I had extra time to spare over the winter break and decided to use my time effectively. Inspired by my brother’s official Android application, I decided to try and create my own iOS application using Xcode. I watched a few videos on it, which I later realized significantly trivialized the task. I quickly realized that all of the programming in X-Code required a previous knowledge of Objective C, which was a foreign language to me. In an attempt to keep my project going, I began borrowing books from my local library, trying to learn the basics of Objective C. With the help of this as well as a Stanford course through iTunes University, I was able to a create simple application and understand the code behind it. In the future, after taking some sort of iOS application development course, I hope to further my application and change the design of it.

Here is what the interface of Xcode looked like. It was very different from interfaces I have seen before, but I eventually became accustomed to it. As you can see on the left side, the Stanford course helped me create several classes that I integrated together in order to build this app. Screen Shot 2015-02-02 at 11.25.41 PM

Here is what the app looks like when the program is first run:

Screen Shot 2015-02-02 at 11.29.31 PM

After clicking two cards with either the same sign or number, the score increases.

Screen Shot 2015-02-02 at 11.29.59 PM

Here, I clicked a new card.

Screen Shot 2015-02-02 at 11.30.22 PM

I then clicked a different card which did not have the same number or sign, so I lose points.

Screen Shot 2015-02-02 at 11.30.16 PM

This is just the basics of an app that I hope to create in the future. Hopefully, my actual application will have flashcards that can help students study.

Advertisements

Thank you Sherol, Julie, and Peter!

During the past three weeks, I have been taking a computer simulations class at Stanford. My instructor is Sherol Chen, who is an amazing teacher who really made me understand the topics. She gave us this idea of creating a blog, which is very important for the future. I am very grateful for her time and effort put into making our experience as great as it could be, I’ve had a blast!

Julie and Peter were my RAs for this course and helped me with anything I needed help with. They were so friendly and very intelligent.

It’s been a great three weeks, and most of it is because of Sherol, Julie, and Peter. Thank you so much!!

Thank you Bret!

Yesterday, Bret Victor came and gave us a lecture. He is very accomplished, having won the Apple Design Award and created several games. He showed us how he created his own IDE and programming language in which the compiled result and language can be seen at the same time. I wanted to say that I thank him so much, as that was an amazing talk that I will not forget! You can look at his website here-

http://worrydream.com/

6346629541_0277e2d44d_z

Programming Language “D”

Today, I read an article about a new programming language called “D.” It was formed by two individuals who were both interested in creating a new language. Now, Facebook is tweaking and improving it in order to make it more usable. The article often referenced the combining of two worlds of programming: speedy and simple. Before, high-speed languages used to be very complicated. Now, with D, this does not have to happen.

Here is the article-

http://www.wired.com/2014/07/d-programming-language/?mbid=social_fb

Arduino

On Friday, I had my first experience with Arduino. Basically, we were given an Arduino kit, which had the chip and wires. With help from the instruction booklet, I began programming different methods on the Arduino. First, I made a blinking light. This was relatively simple and only involved a couple wires. Then, I made a light that blinked several different colors. Finally, I made a row of lights shine and different times with different colors. Unfortunately, I did not have enough time to utilize the sound feature, but I am sure that I will do this at home, as we are allowed to keep the Arduinos.

This is what my first project looked like.

photo