Search results

  1. J

    Reordering Table Rows

    heh. I'll give an example so you understand. If you have a playlist in iTunes, and you want to change to order of the songs, you simply click on the song and drag it to another spot in the order, and iTunes inserts it there. I want to be able to do that in my app. I think it involves drag and...
  2. J

    Reordering Table Rows

    I am sure this is really easy, and I am just not thinking straight, but how do i impliment reordering of column rows in an NSTableView? Do i need to make it drag and drop? If someone could just point me in the direction of some info on this it would be much appreciated.
  3. J

    Enough screen real estate on a 12" Powerbook?

    To be honest, yes. I took my 12'' PB to WWDC and it was great, but after using a few other people's 15'' PB's i have decided to get one.
  4. J

    Outline View

    there is a nice example in<br> /Developer/Examples/AppKit/OutlineView <br> also<br> /Developer/Examples/AppKit/SimpleBrowser
  5. J

    c++

    yes to both, you need to get the newest version of the dev tools. It's called "December 2002 Dev Tools CD." It is available at connect.apple.com but you will need an account. Accounts are free for dev tools, so go ahead and register.
  6. J

    The D programming language

    I do like Objective-c's garbage collection, and, i would use it more if it didn't lack a few features of c++. Which is the reason i write most of my cocoa in obj-c++. Anyway, this D language falls well short of what i had liked it to be. Not to mention, you can have the greatest language in...
  7. J

    The D programming language

    Umm, no. That's just a general, "no" in repsonse to everything. The first statement: These are all C influenced, not Java. This new D language is almost the exact same syntax as C++. They most certainly are not. A few languages perhaps, but new languages are created for a specific...
  8. J

    c++

    when it comes to c++, there is one book, "Deitel and Deitel: How to Program in C++". You will learn much more using terminal.
  9. J

    The D programming language

    looks pretty much like a cross between c++ and objective-c. I don't really see the need when you could just use objective-c++. stuff like class foo{ foo(); }; going to class foo{ this(); }; is not really needed. There is nothing wrong with the first, and if someone...
  10. J

    c++

    If you just want to compile c++, don't use CodeWarrior. Just use the gcc compiler that comes free with the dev tools. All you do to use it is open a terminal window, and type c++ "location of file" then to run it, ./a.out (as long as you are in the same directory as the file you...
  11. J

    table column in cocoa

    yep. very true. thx. that was really bothering me =)
  12. J

    table column in cocoa

    ok, I have an NSTableView built in IB, but i want to add the columns as needed in code. The init function the have listed is initWithIdentifier, but it gives me a warning that indicates to me that it isn't working right (i think). this is the line in question NSTableColumn *aColumn =...
  13. J

    I need a timer (stopwatch)

    ya, i want to do it in cocoa if possible. it must be. i can get seconds using NSDate, but i would really like at least tenths of a second. Here is the code for seconds. NSDate *startTime = [NSDate date]; //some stuff that takes time to do NSDate *endTime = [NSDate date]; NSTimeInterval...
  14. J

    I need a timer (stopwatch)

    how would i get the subseconds?
  15. J

    I need a timer (stopwatch)

    i am not sure i understand this correctly. let me try and piece this together. first, i declare the timer: NSTimer timer; right? then, i can start the timer, i guess. Timer = [NSTimer scheduledTimerWithTimeInteraval:0.1 selector:??? target:doINeedOne??? userInfo:??? but, then how do i...
  16. J

    I need a timer (stopwatch)

    Does anyone know how to can use a stopwatch timer in cocoa? I want to be able to stop, start, and reset it. From what I have read about NSTimer, it does not do what I want. Thanks
Back
Top