Ok well this maybe a stupid question.
what do you call in cocoa to change the size of text in a NSTextField i.e I don't really care what the font is I just want to make sure its 18 point. I want to do this programatically to. i.e not make the user pick a size.
Thats extremly different than I expected. I was expecting some fairly complicated Core Audio calls with weird callbacks. Can you tell me why this approach instead of core audio?
Thanks lots
Matt
Very well answered Theed. I find myself agreeing with you.
I am a UNIX programmer by trade and I value anything that can save me time. That is why i choose vi(m). (and in the UNIX world you have no choice)
I reacted badly to people in a UNIX forum slagging off the best editor (for UNIX...
Maybe that was a little harsh. But hell guys this is a UNIX forum.
You guys that insist of shouting out about the virtues of BBEDIT shouldn't be in the terminal cause I don't really believe you know jack about UNIX.
Which is fine.... nothing wrong with that at all.... but don't come in to...
123123the127812687rain213123
1in3231231spain123123123fails123123
12324124mainly123123123on23124124the12312312plain123
12312on123123the123123
123123plain12312144
in vi the following command.
:%s/[0-9]*\([a-z]*\)[0-9]*/\1/g
produces
the rain
in spain fails
mainly on the plain...
come on I thought this was a UNIX forum.
People dreaming that there is any finer text editor in the world than vim (vi improved). They obviously shouldn't be on a UNIX forum unless they are asking for advice. If you don't want to learn vi then you can't be serious about learning UNIX so get...
I come from a solaris background so i live in OSX's terminal.
put these two lines in your .tcshrc file
alias k 'ps -aux|grep \!*|grep -v grep|cut -c5-10| xargs kill -9'
alias p 'ps -aux|grep \!*|grep -v grep'
then type:
source ~/.tcshrc
if you want to find a process like the...
In a unix world there exists a tool called rsync. rsync keep file systems in sync across ssh connections. You can use it to take files modified from a specific date. Good stuff check it out. a simple cron job running once a night you can do a backup with the minimum of effort. (i.e sticking a...
Has anyone noticed that if you mount a smb volume go to the terminal and move a file from the smb volume to a local volume we get a nasty kernel panic?
i.e mv /Volume/SomeSmbVolume/SomeFile ~/Desktop
It is definately not as polished as OS 9. for example mounted volumes from Samba shares or NFS shares aren't updated in X.1 they are in 9. You have to dismount the Volume and remount it before change you have made to that drive are seen i.e new files.
I love X.1 but the GUI needs maturing...
call me a bigot if you like but I don't consider PC (mac or windows) serious programming. Sure you can do fantastic things on these platforms but its just not where you write serious code.
I work for enterprises. I write serious sized applications on very serious hardware.
If you read what...
Basically largish development teams write code as individuals. They don't generally know what classes johnny has to do what and in the end it just seems easier to write your own. Or you hear about someones class that does something and you want to change it to do something else, You spend the...
- When making a multiplatform product
Let me be clear... there is NO thing in the Java language.
Java has a set of standard class libraries for doing this.Just like C has a standard library on ALL platforms write a program using those libraries on any platform and it will work on any...