Recent content by seb2

  1. S

    What Languages Do YOU Know?

    oh, human languages? :D fluent in german, english, french and russian. basic knowledge of spanish, polish and japanese. the latter very basic. :rolleyes:
  2. S

    Checkbox in NSTableColumn

    i admit, it's a bit tricky the first time. but it all makes perfect sense: first, you want to set up your table so that it "knows" what kind of data to show... in you awakeFromNib, do something like this: NSButtonCell *dataCell; NSTableColumn *column; ... column =...
  3. S

    Cocoa Questions Thread

    well, there is. it's not too advanced, but it works. type the first few letters of the name of a variable, method, whatever and hit f5. if you have a few variables all beginning with the same first letters, type as many letters as it takes to make the name unique, otherwise it'll just complete...
  4. S

    Main programming question/ a few misc. questions..

    first of all, please don't misunderstand my post, i seriously don't want to be picking on anybody. i think this real life example makes it clear how important indention is. suppose your source code files grow even bigger -- there is absolutely no chance you can see what belongs where, what...
  5. S

    Cocoa Questions Thread

    well, as far as i know you're not supposed to use dealloc directly -- but i could be terribly wrong. there's only one exception i know of: when you free your own objects, you first release all objects you retained and then send a dealloc to super. - (void)dealloc { [myObjectA...
  6. S

    Cocoa POP class

    i've also been thinking about writing a small application using pop and i wondered the same thing. oh, i also came to the same conclusion: smallsockets is the way to go. if you find anything else, please let me know.
  7. S

    A couple Q's

    that's what i meant with "y = 0" is at the bottom. say the origin of your window were 100,100 and the size were 50,50. now, if you resize your window to 50,100, you will have to move the origin to 100,50... does that make sense?
  8. S

    A couple Q's

    nsmutabledictionaries are fine. they inherit - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically; from nsdictionary. so, to save your dictionary to disk, use [myExpenses writeToFile:[@"~/Desktop/Expenses" stringByExpandingTildeInPath] atomically: YES]; to read them...
  9. S

    Parsing HTML

    have a look at the smallsockets source code at http://sourceforge.net/projects/smallsockets/ the "test application" that comes with it is a small browser that uses an nsview to display html, it's just a few lines.
  10. S

    What kind of app WUOULD YOU WANT someone to be working on?

    well, i got an idea... nothing "useful" but something fun. i've had this idea for quite a while now but haven't had the time to do it: a "war games" screen saver; you all know the final scene in the movie with the world map and the simulated war strategies, right? i think that scene is just...
  11. S

    tutorials/resources?

    other than the documentation that came in /Developer/Documentation, i'd say... www.oreillynet.com/pub/ct/37 -- if you're really new www.cocoadevcentral.com -- they have some good articles www.stepwise.com -- good articles on very distinguished topics like memory management in...
  12. S

    Newbie Needs Help

    tie, what you described is id3v1.x -- id3v2.x is completely different. thedbp, i have written a small id3 parser in cocoa that will parse id3v1.0, id3v1.1 and id3v2.3 -- simply mail me if you want me to send it to you.
  13. S

    Cocoa Book?

    amazon.de has it. €61,40 -- versandkostenfrei :D agreed. very nice. not as much humour in it as in other o'reilly books, but, well...
  14. S

    file i/o help

    very simple: myString = [[[NSString alloc] initWithData:aData encoding:NSASCIIStringEncoding] autorelease]; the tricky part is that you have to know about the encoding of the text. and a small warning: i've been trying to track down an error related with filehandles and it turned...
  15. S

    Installing in BIN folder...

    the nicest thing you can do is this: put the script into you application bundle and run it there. people can move your app around, even to another machine and it'll still work. that's how i did the regular expression search in locator -- very nice mechanisms!
Back
Top