Search results

  1. M

    Phonetic Font on OS X ?

    Hi. I need a font with the phonetic symbols compatible with OS X. Do you know a place where I can find one free ? thank you, Pierre
  2. M

    What Languages Do YOU Know?

    I think so. I don't agree with you. HyperTalk is famous. Maybe not "HyperTalk" itself, but at least "HyperCard" (people who knows HC don't necessarly know that the language is told HT). But it is known. It has been an example, a model for a lot of programmers and other languages (Lingo...
  3. M

    String manipulation in Cocoa

    heuu ... I just remembered that some functions allowing that already exist in the NSString class : [myString substringFromIndex:anInteger]; [myString substringToIndex:anInteger]; ... ooops! :p ... I'm really absent-minded :D have fun! Pierre
  4. M

    String manipulation in Cocoa

    yes ;) It should be something like this : - (NSString *) left: (int) a { return [self substringWithRange:NSMakeRange(0,a)]; } - (NSString *) right: (int) a { return [self substringWithRange:NSMakeRange([self length]-a,a)]; } ... the harder is to understand what NSRange...
  5. M

    "switching" NSStrings

    maybe ugly but worky. :) I'm making a little runtime interpreter. So I create a plist file with the description of each command and converting this file to a NSDictionnary I can do exactly what I want with some "special" commands then scripted case by case, the others, scripted in default...
  6. M

    "switching" NSStrings

    Do you really use a LC 475 ? (it's my favorite Macintosh ;) )
  7. M

    "switching" NSStrings

    it works, but it isn't as neat as switch ... you're obliged to repeat the [reference isEqualTo:***] :( ... That's what I would like to avoid and that's the purpose of switch/case. The best solution, from my point of view, is to use a NSDictionary : - (void) myFunction: (NSString *)...
  8. M

    "switching" NSStrings

    Hi. You probably know the "swtitch"/"case" C control structure. It works with the basics data types : int, char, ... but not with NSString objects nor any non basic type. Do you know a way to make it to work ? (without converting the NSString to a char*) thank you, that's not...
  9. M

    String manipulation in Cocoa

    I got it! :D The NSRange is not a Obj-C class but a simple C struc like this : typedef struct _NSRange { unsigned int location; unsigned int length; } NSRange; That's why there's no class definition ... since there's no class. :) sorry for all those messages. :) ...
  10. M

    String manipulation in Cocoa

    NS : this page about Range is from the Java API and not the Obj-C one. Does somebody understand why ? ... that's so strange ...
  11. M

    String manipulation in Cocoa

    about NSRange ... I found it!! :D It is not listed in the Foundation classes nor into the classes index of a project, but you can find it into the Apple Cocoa Documentation : /Cocoa Developper Documentation/Data Management/Geometry and Range utilities/NSRange ;) But I'm still...
  12. M

    String manipulation in Cocoa

    I'm trying to deal with strings ... the problem is that I don't understand what NSRange is ... there is no documentation to describe the NSRange class in Obj-C. :( I'm really interested by your category. If you could post it there or send it by email (maccatalan@mac.com) ... thank you, Pierre
  13. M

    Putting a NVIDIA Geforce 4 MX in my new iMac

    some mad guys did something like this with iMac rev A & B. They made a new computer changing the box (the new one was a CD-Video driver for TV ... something very smart) and some components. I saw (on a magazine) also an iBook put into a king of case. If I find the article I will post some...
  14. M

    Putting a NVIDIA Geforce 4 MX in my new iMac

    iMacs are wonderful and powerful computers but they can't really be upgrated (memory and airport can be). That's their main problem and the price for a such design. :( good luck and don't regret your purchase ;) Pierre
  15. M

    "Optimizing" ... ??

    Does anyone know what does the "Optimizing System Performance" process after an install on OS X ? Because it can be long, very long .. longuer than the install itself. thank you, Pierre
  16. M

    at work ...

    I didn't know if W2K is closer from WNT or W98 so I didn't put it ... Windows is a strange thing ... a lot of flavours but nothing coherent ... ;)
  17. M

    at work ...

    at your office, work, what kind of computer operating system do you use ?
  18. M

    What Languages Do YOU Know?

    Hey, be simple. Just look at the beginning : "MS". Isn't it enough to explain it crashes ? why it is bugged ? or anything bad else ? never forget that : when your PC crashes, just look at the bottom left corner of your screen. What do you see ? the reason, the why, of the crash : Windows.
  19. M

    differences beetwen apple flat displays ?

    thank you but I didn't have speakers before this week (I found my old AppleDesign Powered Speakers this last week-end. You know, the very old ones ... I used to plug them on my LC 475 ... so imagine how old they are. :) they work so well) -> I will call Apple, just to hear what they say. ;)...
Back
Top