I've been programming in C++ for a few months, and I find it really easy actually.
I wanted to make an Cocoa Application for Mac OSX, but realize that it is much more complicated.
I have some check boxes and when they are selected and the user clicks a button, it will assign a variable to something.
In C++ i would roughly have
What would be the objective c equivalent?
(I've looked through the Apple Documentation and also the Cocoa Documentation, but can't find much on it)
Also, why is this goal so much more complicated in ObjC?
EDIT: I read some of a nother book and found out that it is similar with foundation tools where you are editing main.m like in C++. but i would like to know how to do it in a cocoa application.
I wanted to make an Cocoa Application for Mac OSX, but realize that it is much more complicated.
I have some check boxes and when they are selected and the user clicks a button, it will assign a variable to something.
In C++ i would roughly have
Code:
if (checkboxOne == ON) {
int a = 23;
}
What would be the objective c equivalent?
(I've looked through the Apple Documentation and also the Cocoa Documentation, but can't find much on it)
Also, why is this goal so much more complicated in ObjC?
EDIT: I read some of a nother book and found out that it is similar with foundation tools where you are editing main.m like in C++. but i would like to know how to do it in a cocoa application.