The Cocoa and BSD APIs use the UNIX convention, a bare linefeed only -- chr(10). I think this is the most typical case you'll find on the system, at least at the lower levels.
I'…
FYI. In Java, you can inspect the line.separator environment variable to determine the return character(s) of the host operating system. Use this to avoid hard-coding a certain con…
In this day of networks and files of relatively unknown origin (PC, Mac, *nix) shouldn't we write software that doesn't make assumptions about what line break characters are used?
…
I think you're looking at quite a daunting task, but I'll give you a short answer. Only Cocoa (ObjC or Java) programs can use services. Services are possible because of Cocoa's OO-…
Alternatively, you could write a shell script and have cron run it every other night. You could use "scp" to transfer the file (unless it has resource forks, then I think it has to…
I too am trying to do this, and what I've determined is that bundles are used for this functionality. You can put the object code in a bundle and load the bundle dynamically. Eac…
There are two basic ways to do it. One is to define a generic class for plugin makers to extend by subclassing, much like how the NSView architecture in Cocoa itself works. Another…
There is actually a fink users list for discussion of these problems. But to me it looks like you have installed Tenon's Xtools, which installs a bogus /usr/local/include/malloc.h …
Quote:
Originally posted by NeoMac:
Programming? Web application development? Databasing? Networking? System admin? etc..?
Well, I've done most of these at one t…
Agreed, it seriously depends on her personality.
Is she good at seeing the whole picture, making creative leaps, and quickly understanding new ideas? If so, go for programming or…
I've also done most of these things at some time and I would agree with the others here. Being a sys admin gives you job security but can be hell in that you often have to force yo…
Hmm... that looks like a stack trace of native code, and you probably want a Java stack trace. Have you set your executable target in Project Builder to use the Jav debugger instea…
Quote:
Originally posted by Rickster:
<STRONG>Hmm... that looks like a stack trace of native code, and you probably want a Java stack trace. Have you set your exec…
This must be a very serious problem, cause it even crashes the java debugger! And I just found out that using the QT API's likes to make my interface totally unresponsive. How ca…
Do these mean anything?
warning: &lt;CocoaMed&gt;CocoaMed.app depends on itself
...updating 10 target(s)...
BuildPhase CocoaMed.app
Completed phase &lt;CopyHeaders&am…
Well, I figured it out. Those two definitions of reference were because I unintentionally did this:
#import "reference.m" instead of:
#import "reference.h"
kman
Try /usr/include. Most non-framework stuff can be found by rooting around in there. (If you want to use the finder to navigate instead of the terminal, you can type "open /usr/incl…
Thank you aleph_null, you are a great help. I look around at /usr/include and sure enough stdio.h and others are there.
I created an empty project, write a hello world C program …
Ok....so I've set up some shell scripts and they work ok. Now I want to make them pretty by attaching a GUI via Applescript. I've done this nicely with one line UNIX commands which…
in the current version of AppleScript, the do shell script command only works for non-interactive programs (i.e. ones that run, print something, and exit; not ones which run contin…
Quote:
Originally posted by BostonMACOSX:
<STRONG>Ok....so I've set up some shell scripts and they work ok. Now I want to make them pretty by attaching a GUI via A…
one thing you can do if expect is installed on the system is write an expect script to interact with your shell scripts.
Then you can use studio as a front end to write a text fil…