Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

StaticEnigma

macrumors newbie
Original poster
Aug 16, 2010
2
0
Hey all! I'm a bit of a newbie in the coding world, but I'm bumping along in the textbooks and tutorials... but I have a few questions, three to be exact.

1) I want to make a "generator" type application that will generate a couple of precoded rules on the same page, such as like this... is this possible in Cocoa?

2) Is there some way I can add buttons to my app? Such as, you press it, and you generate a new set of "rules".

3) How do I edit the appearance of the application that results? Is it written in C, or HTML?

See, I haven't gotten quite as far as the finished app yet (I've written a few things in C before, but they were all controlled via terminal), and the stuff that I've read doesn't mention being able to do something like that in Cocoa.
 
Hey all! I'm a bit of a newbie in the coding world, but I'm bumping along in the textbooks and tutorials... but I have a few questions, three to be exact.

1) I want to make a "generator" type application that will generate a couple of precoded rules on the same page, such as like this... is this possible in Cocoa?

2) Is there some way I can add buttons to my app? Such as, you press it, and you generate a new set of "rules".

3) How do I edit the appearance of the application that results? Is it written in C, or HTML?

See, I haven't gotten quite as far as the finished app yet (I've written a few things in C before, but they were all controlled via terminal), and the stuff that I've read doesn't mention being able to do something like that in Cocoa.

It's very possible in Cocoa and in many other languages. For Cocoa you need to write it in Objective-C. You use XCode as the IDE and Interface Builder to design your window, text area and buttons. See http://developer.apple.com's Mac developer section.
 
I don't understand how mongrol was able to tell what you are looking to accomplish, but whatever it is I'm sure it is possible with Cocoa.

(your image is super super small I can't make out the text)
 
I don't understand how mongrol was able to tell what you are looking to accomplish, but whatever it is I'm sure it is possible with Cocoa.

(your image is super super small I can't make out the text)

The was quite big to me (800x600 ish) and perfectly readable. The content of it did make me fear a bit for his children until I realised it's for a game. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.