Report1 - csusbdt/441-2013 GitHub Wiki

Overview

This is my assignment 1 report.

I have a lot of experience using Visual Studio for C++ and C#/XNA programming projects. However, I do not have much experience using XCode. For this reason, I spent time learning about XCode and OS X development.

Step 1: learn how to use the interface builder

I completed the following (excellent) tutorial: Start Developing Mac Apps Today.

At an early point in the tutorial, I was getting a permission denied error message; I needed to do what was suggested in this stackoverflow post to solve this problem.

I initially enabled developer mode when I ran Xcode for the first time. Later, I disabled it by running the following from the command line.

DevToolsSecurity -disable

I believe that developer mode makes it easier for malicious programs to take over the system; this is the reason I disabled developer mode. However, it is inconvenient because now I need to enter my password when I want to debug an Xcode project.

At the point in the tutorial where I needed to drag the mute button into the AppDelegate.h file to create a method stub for the button click handler, I was getting an error. Restarting Xcode solved this problem.

Step 2: Learn how to write OS X programs that use OpenGL

Step 1 got me familiar with using the interface builder of Xcode. The purpose of step 2 is to get familiar with writing OpenGl programs. For this purpose, I went through the following tutorial: [Drawing to a Window or View](https://developer.apple.com/library/mac/#documentation/graphicsimaging/conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html.