Adobe, Google, etc., use the Apple security frame works and interfaces to
temporarily elevate privileges to write their respective data to
/Library/Application Support, which is actually where this data should go,
based on Apple guidance. There is extensive documentation on this whole issue
in
When you created the application, you should have created two pairs of files,
AppDelegate.h/.m and ViewController.h/.m. The AppDelegate is used to augment
and tailor the behavior of the NSApplication that is implicitly created as part
of the AppKit framework. For your purposes, you may not nee
f setting the
> value to T2. There is no attributedString variable, just an accessor method,
> so I've been trying a variety of insert methods.
>
> -jeff
>
> On Sun, Feb 2, 2020 at 12:19 PM Jonathan Prescott <mailto:jprescot...@icloud.com>> wrote:
> Did you t
Did you tell V that it needs to re-load it’s display? There is a method on
NSView (from which NSTextView is derived) called “needsDisplay(sic)” which sets
a flag on the view so that the view will re-draw its content the next display
cycle. So, after you set the content to T2, you need to call
I think that your expectation that presentViewController would retain a strong
reference to the view controller is not right. I would put the release after
the dismissal code has run. Now, you really don’t need the view controller.
Jonathan
> On Dec 17, 2016, at 3:00 PM, cocoa-dev-requ...@lis
How’s this?
#define SUPER_INIT \
do {\
self = [super init];\
if (self == nil) return self; \
} while(1);
The do … while() construct is an old C/C++ trick used in macro p
For everything else other than Cocoa and Carbon applications that
receive AppleEvents, when the computer is shutdown, everything else is
sent a SIGKILL by launchd, just like any other Unix system (launchd
takes the place of the init daemon seen on other Unix systems).
Semantics for BSD sig
This is C++, not C. You need to be compiling this as Objective-C++,
not Objective-C. Easiest way is to change the extension of the file
from ".m" to ".mm" if you are using Xcode.
As an aside, you do not need the "typedef" in C++. Simply declaring
the struct (or class) is enough to declare
You might want to take a look at the other header files you might be
including, including those included by the AppKit or other Apple
headers. MAX is a well-known MACRO definition for providing a max
"function" for C (and Objective-C) environments, and, if it is being
expanded by the C/C++
Operator signatures are already know by the compiler since they are
defined in the standard, and are really global in scope. Thus, you
don't have to declare them prior to defining them.
Jonathan
On Aug 10, 2008, at 11:09 PM, Ken Worley wrote:
First, I appreciate the response and discussion
fork() is the basic process by which a Unix system (IRIX, Solaris,
Darwin/MacOSX, AIX, etc.), and Linux systems spawn new processes (not
threads). exec() and its variants are the way to cause a new
executable image to be started in either the old or new process. The
only concern the OP ha
All processes on MacOSX, and any Unix/Linux operating system are
child processes except for launchd (MacOSX) or init (Unix/Linux). If
you fork and execv a process, then when the parent terminates, the
created process is automatically made a child of launchd.
Jonathan
On Apr 4, 2008, at 12
12 matches
Mail list logo