Recent content by havic

  1. H

    Good script language to learn?

    Perl it is then. I don't really want to learn Javascript, as it is only for web stuff. Doesn't work for system level scripts AFAIK. Thanks for the help guys, and for the links naodx. On a side note, the reason I asked is because one of my mates told me that there is a new language...
  2. H

    Good script language to learn?

    I already program in C and Obj-C and can program in BASIC if called upon, so it isn't going to be learnt as an introduction to programming. I said I wasn't interested in AppleScript because it is a OS dependant language. I was looking for something like Perl because it will run on most...
  3. H

    Good script language to learn?

    I've decided to learn a scripting language now, and I'm trying to decide what is the best. I'm not interested in AppleScript, I was looking at Perl. I hear there are some better ones around than perl though, so I want a few extra opinions first. Fire away :p
  4. H

    iTunes Integration?

    I want to make a program that can send commands to iTunes, eg. skip the track, pause etc. I know I can do this with applescript, but I want to do it in plain old C code :P There are programs like Synergy and Aquisition that do this, although I have the feeling Aquisition uses applescript as...
  5. H

    Need help learning Cocoa

    I have got it, it is a fairly good book AFAIK, although kinda boring. I ended up ordering it through amazon, for some reason I could get it cheaper by importing it than buying locally.
  6. H

    Box object in IB?

    Well, selecting controls and making them subviews of the box isnt much use if I can't select the controls :P I think Apple doing it that way is sort of silly though, it means that if decide later on to make an interface change and enclose say 10 controls in a box, then you have to cut the...
  7. H

    Box object in IB?

    Ah yes, that fixed it. The book I'm studying didn't make it clear at all that I had to even put the box in there, until it asked me to put in code to change the boxs title. Well, it works now :)
  8. H

    Box object in IB?

    In Interface Builder, I tried putting one of those boxes around a bunch of text labels and fields. The problem is that once a box is there, if I click on a label or text field inside the box, it selects the box. There is now no way for me to edit the attributes of the text fields and labels...
  9. H

    Accessor methods in Obj-C

    Mmm yeah I like retain then release as well. I was just curious as to why there was any debate over it at all, and decided that maybe retain/release was quite CPU-intensive. Thanks for the reply anarchie. AND IDEVGAMES IS BACK!! :D
  10. H

    Accessor methods in Obj-C

    Well, according to my Obj-C book, there are 3 different ways to write an accessor method to set a variables value. One is "Retain, then release", another is "Check before change", and the last is "Autorelease old value". Retain then release adds a retain and release command, which is...
  11. H

    objective-c class question

    Well, you have a few options: First, and not a good idea IMHO, is to simply leave commands in a queue in a file somewhere, eg. /tmp. Second, use signal() (look up "signal" in man) to send signals to your application. then use a signal trap to trap the signal so you can handle it...
  12. H

    Terminal and Mail.app

    The "mail" command in Unix is not the same as your email client. I think it is mainly for network email delivery, I have no idea if it can send/recieve pop mail. Try reading the man page on it.
  13. H

    HelloCocoa problem

    Uh... No, I didn't :rolleyes: Better try that then :P
  14. H

    HelloCocoa problem

    I tried porting one of my old command-line apps to Obj-C today, and it goes OK, but you said not to use Object, use NSObject instead. How? I tried putting a "NS" in front of the Object bit in the interface declarations, like so: @interface uptime: NSObject but it just said that it could not...
  15. H

    Need help learning Cocoa

    Well, having finally found the time to look on amazon.com, I have decided the following 2 books look good: Programming in Objective-C, by Stephen Kochan, and Cocoa Programming for Mac OS X, by Aaron Hillegass Because they total over NZ$100 it could be a while before I get them, but what...
Back
Top