Originally posted by macfreek57
that's cool
I can appreciate that as I am trying to write code in cocoa and have yet to succeed! of course I've only been trying for a little while and I am teaching myself.
did you write it with Apple's developer tools? that's what I'm using.
Originally posted by GeeYouEye
CharCounter: a mostly useless app, written by me. Availible here.
Originally posted by macfreek57
that's cool
I can appreciate that as I am trying to write code in cocoa and have yet to succeed! of course I've only been trying for a little while and I am teaching myself.
did you write it with Apple's developer tools? that's what I'm using.
Originally posted by drewIP
Yes, you've proven that you can create a program, but that program practically only needs one line of actual code. Something like [myTextField2 setIntValue:[[myTextField stringValue] length]]; I recommend just doing more. It will give you better ideas of what people want and give you a good place to start other programs.
mj_1903: i find code completion to be absolutely great, not only for looking up obscure messages, but for completing your own code; long variables name completion in particular (ex: BOOL patientConditionWasResultOfInjury) saves me a second or two each time since I only have to hit tab. [/B]
Yeah I know, but there's no way (in this particular app) to avoid several large variables. Fortunately, I only need to type it less than a dozen times for this program as it only has bearing on a checkbox and printing.Originally posted by mj_1903
Call me old fashioned, but Apple just didn't implement it very well (in Xcode 1.0) and yeah I know it works better in 1.1 but still not well enough.
When Apple manage to get it working with no lag, I might switch, but for now I won't.
And that is a massive BOOL you have happening there. Most of my variables are 5-10 characters.
Originally posted by beatle888
i can email you the adobe illustrator 10.0 file if you'd like. otherwise i'll send it to you as a photoshop file.
p.s. once you have the actual file you'll see that you can put the logo on any color background....glad you liked it.
happy holidays
Originally posted by johnnowak
main() {
// get text
printf("%d", strlen(text));
return 0;
}
Originally posted by beatle888
I cant post a psd file here and dropstuff wont let me create a zip compressed file.
if you give me your email i'll send it off sometime today.
keep up the good work.
beatle
edit: just found out 10.3 creates .zip files however its still to large to upload here at macrumros (234kb). i'll still have to email it to you.
Originally posted by johnnowak
Wow... a whole program around strlen(). Fantastic!
Just a tip man.. we all start out with programs like this. However most of us have the common sense not to subject the public to them. ;-)
main() {
// get text
printf("%d", strlen(text));
return 0;
}
Originally posted by mj_1903
But then you don't have a gui. I much prefer a simple object manipulation, even if it is to the command line:
- (IBAction)performLengthid)sender
{
NSLog(@"%d", [[string stringValue] length]);
}
Of course, the above needs Mac OS X so its a little reliant on one platform, but there is always gnustep.