s
> that used for integer zero depending on the platform.
Hmm. So Harbison & Steele (5th Edition) is wrong??? That's a surprise to me.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
C
it simply does not specify what happens when a null pointer
is converted to int.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
ented many times over the years. I'm reading
> the documentation for what support there is in Cocoa for PDF parsing, and
> also the PDF spec itself, and it's a pretty big undertaking to get right. I
> have a distinct feeling I'm staring at a well-solved problem.
Below is skeleton code
be terribly popular with the Cocoa
crowd, I'd use std::set ;-)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
ate--assuming here that you're building a regular bundled app and not
just a command-line executable...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
lers, file's owner, and
a second one that you embedded in the navigation controller?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
cell to resize along with
the column when the user is resizing the column, not snap to the new size after
the user is done resizing.
Is there any way to hook into column resizing during the drag?
FWIW, I only need to support 10.6, nothing earlier.
--
Scott Ribe
scott_r...@elevated-dev.com
http
On Mar 6, 2011, at 4:01 PM, Raleigh Ledet wrote:
> Why not just a headerViewController on NSBrowser proper?
That looks like it might be exactly what I want. I missed it when skimming
NSBrowser/Delegate docs.
Thanks.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(
older
versions of Preview did not always properly close the file when you closed the
window. So, no, what Brad wants to do is most definitely not possible.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567
o
> check if Word can also return the path of the file for these documents.
Yes, for Word this works. You can get the path of any open document. And unlike
some things in Word, this bit seems to work reliably.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.
On Mar 27, 2011, at 3:14 PM, Ken Thomases wrote:
> The problem is that pipes have a fixed buffer in the kernel.
And it's small ;-)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev
On Mar 30, 2011, at 6:36 PM, Rick Mann wrote:
> Hey! Look at that! Under certain conditions...
64-bit builds, rects, points (and I don't know what else maybe) are the same.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-05
hen to read a file that is being written by another app--which is what
I think you're asking for--unless the other app provides some protocol for that.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
of globals at
startup and just use them.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
app
initialization? What do you gain?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
ther than just creating an
instance and getting on with it...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mod
work 10.4
through 10.6.)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contac
On Apr 27, 2011, at 11:12 AM, lbland wrote:
> It is just BSD sockets ... get the book. It is: UNIX Network Programming by
> Richard Stevens
And for beginners, Effective TCP/IP is a good supplemental book.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 72
On Apr 28, 2011, at 2:45 AM, Bing Li wrote:
> But I don't
> know which frameworks in Cocoa should be added so that Socket and Bind can
> be compiled.
I think it's CoreFoundation or CoreServices...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(
the IB style of interface editing. I
hope the right people at Apple realize what a step backward it is.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
On May 17, 2011, at 10:15 AM, banned_acco...@lavabit.com wrote:
> There's probably
> a simple solution to all of this. But I can't find it. Help?
NSNonactivatingPanelMask?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303
enPageFormat and PMFlattenPrintSettings for other reasons, but of
course that means using PMSessionPageSetupDialog and PMSessionPrintDialog (and
PMCreateSession and PMCreatePageFormat and PMSessionDefaultPageFormat and
PMCreatePrintSettings and PMSessionDefaultPrintSettings)...
--
Scott Ribe
scott_r...@
On May 26, 2011, at 9:32 PM, Jens Alfke wrote:
> It’s never a good idea to seed a RNG with something guessable like this.
Not all applications of random() have anything to do with security...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 vo
rth the picky
semantic correctness to use a type which can so easily cause so many bugs.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
;re writing correct code.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
? Ouch. And the test? Why would you decide
whether to free the block based on its contents?
I don't see offhand anything in this method that would cause a leak. But if
this code is typical of the rest of the program, then you have bugs all over
the place that corrupt memory which can l
allocations,
you could experiment with creating some "empty" threads that just sleep() long
enough to give you a chance to watch them, and compare the memory usage to what
you see with your real threads.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elev
is, somewhere later on you're
not following the memory management rules with regard to ownership of the
receivedMessage string.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailin
> sending unexpected data to your port. To be robust, your code should detect
> this and (probably) just ignore the packet.
So, come to think of it, what if the packet breaks in the middle of a
multi-byte sequence?
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303)
nless you only use 7-bit ASCII--and even then you need the appropriate logic
in receivedMessage to recognize message boundaries, append bytes to a buffer
until you have a full message, and so on.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
code and your questions, I really
doubt it. So an introductory text on network programming is also in order
(Stevens is the classic on this subject). Or you could use higher-level network
APIs, to which I believe you were referred a long time ago: CFSocket, maybe
NSURL depending on the structure of
se a marker at
the end of the data, and collect until you hit the marker.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post adm
me
fundamental understanding of the language you're trying to use.
(And by the way, you are probably nowhere near having a stable program. Based
on what you've shown us so far, you should be prepared to be debugging for a
while.)
--
Scott Ribe
scott_r...@elevated-de
er out those events that you should ignore.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
tmost.
Sounds like you need a floating/utility window of some flavor.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin request
On Jul 1, 2011, at 12:25 AM, Chen, Jeff (SDCC) wrote:
> Is there anyone who knows this?
Haven't done it from a PDE specifically, but in general [NSBundle mainBundle]
will give you the bundle of the executing application, and you can go from
there.
--
Scott Ribe
scott_r...@elevated
an NSDictionary,
> then fetch the value for that key-value pair to set the contents of the
> cell)___
For table columns is called "identifier"; you can set it in IB, and get it in
code.
--
Scott Ribe
scott_r...@elevated-dev.com
htt
On Jul 4, 2011, at 6:23 PM, William Squires wrote:
> ...is a literal NSString autoreleased, or retained? Does it matter?
"Does not matter" is the answer. You can retain & release them all you want,
they're not going anywhere.
--
Scott Ribe
scott_r...@elevated-dev.c
d it seems highly
unlikely that someone would think they heard "place" when "face" was spoken to
them.
Personally, I use Metaphone to find similar strings, then modified Levenshtein
to rank them.
--
Scott Ribe
scott_r...@
On Jul 7, 2011, at 9:35 PM, Rick C. wrote:
> But it's just giving me today's date. There must be something obvious...
Are you sure the last access time is not today?
There, how was that for obvious ;-)
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(
On Jul 7, 2011, at 11:19 PM, Rick C. wrote:
> One more note, seems in terminal "stat aFile" works so I suppose I could use
> nstask to do this as well?
It does seem odd that the two would produce different results...
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevat
On Jul 12, 2011, at 12:58 PM, Mark Wagner wrote:
> ...because the fragment you posted isn't valid C++: you can't execute
> code (the call to "new") outside a function.
Sure you can. That's C that only only lets you initialize variables at file
scope with consta
ling events; all you're doing is
adding one that will clean up sooner.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
not be createHandlerWIthXXX,
but handlerWithXXX.
That might solve your problem. Or not--the analyzer may be looking deeper
before getting confused.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Co
ionNotification
object: curStdErr];
curStdErr = nil;
}
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
was more similar to your suggestion,
but loaded up with some unnecessary complications, and this race condition is a
result of a simplification attempt which I did not get quite right.
Thanks a lot. This was, IMO, not a trivial question ;-)
--
Scott Ribe
scott_r...@eleva
ous files.
Neither. Some of us work on more complex projects than others. That said, it
looks like 4.1/4.2 address my complaints quite well.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mai
d,
you're almost just spinning in a busy loop, getting a probably empty NSData,
and calling readInBackgroundAndNotify again, as fast as the runloop can deliver
the notifications.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
ion with zero-length data before the pipe was
closed. Only a few dozen runs, but still, 0-length data always indicated pipe
close. (I modified the command-line process with a couple of obnoxious pauses,
before sending anything and before sending the final lines, so that if there's
some tim
pect that to go into a loop once a data of length 0 comes in, but not
before.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
nd therefore should not be able to access memory that it doesn't own
> unless the core os does so.
No, not even close. It happens when you access a memory address that has not
been mapped into your process' memory space. I've given you plenty of terms to
google; go f
e address space when it is called, but vfork works as
he described. In neither case will modifications to memory by one process by
visible by the other.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice
___
On Jul 31, 2011, at 8:27 AM, Scott Ribe wrote:
> No, fork copies the entire address space when it is called, but vfork works
> as he described. In neither case will modifications to memory by one process
> by visible by the other.
Oh, hogwash. Of course copy-on-write is a common opt
If one thread reads imminentList while another is modifying it, you can
crash. There are instants during the modification where it will be in an
internally inconsistent state.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
onfusing mess that
is difficult to follow. Why all the casting back and forth between integers
& pointers??? If you need to store an array of pointers, just do so; don't
cast them to integers and then back again.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerb
scrolling, the text is a blur, and you must frequently stop scrolling
in order to read a line and get re-oriented in the document.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa
> integerForKey
Returns an integer, not a pointer. See the docs.
If you want to check if the key exists, then objectForKey will return nil of
the key is not found.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 vo
> Thanks, I'm trying that already. I don't need high performance right now, but
> just out of curiosity, what would I use if I wanted ultra high performance?
You would use the methods of NSBitmapImageRep that allow you to get/set the
entire image buffer at once.
--
Sc
already doing--then experiment with ways to avoid conversion
and/or copying.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
s that you'd look for in NSWindow or
NSWindowController are actually in NSApplication.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
> Easily fixed:
>
> #define GDRelease(x) [(x) release], (x) = nil, (void)0
Not really a good fix; compiler error is preferable to tweaking your macro
to allow compilation of nonsense ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0
I think you're confused: the constant *is* the string; there is no lookup to
perform. You can do anything with it that you would do with any other
non-mutable string: log it, setStringValue on a text field in the user
interface, setMessageText in an alert, and so on.
--
Scott Ribe
sc
your own lookup table,
possibly using some macro magic to avoid having to type the name twice for
each entry.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
Ah yes, external symbols in a dynamic library--you do have some chance of
looking them up at run time ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
r application.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at coc
Also, an isAutoReleased message would be worthless. At any point in time,
you have no idea how many times library routines that you've called might
have retained/released/autoreleased, nor should you care.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567
lot of time when trying to
> track down a spurious release!
I just override retain, release, autorelease and set breakpoints on them to
discover what's going on.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
__
e a reference to an object
when the object is being dealloc'd. At all other times of course, there may
be references in autorelease pools which were correctly put there by library
code after a retain.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killer
> If I was going to ask Apple for help here, I'd ask for a debug API that uses
> the Leaks engine to find things that still have pointers to my object at
> dealloc time.
Good idea.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303)
puts the break more or less closer to the bug than
the current NSZombie stuff.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
se pools. However it has not often been my
experience that the last release is my actual bug.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
> ...but was never able to...
So, would this work?
static int zombiefoo = EnableZombies();
void EnableZombies()
{ NSZombieEnabled = ... }
That would move it back to before main() is entered, though not necessarily
before various Obj-C classes are loaded.
--
Scott Ribe
scot
Typed too fast, duh, it would obviously have to be:
static int zombiefoo = EnableZombies();
int EnableZombies()
{
NSZombieEnabled = ...
return 0;
}
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
You may want the [NSBundle loadNibNamed: @"MyCustomSheet" owner: self] call
in effect made from within the init method of your NSWindowController
subclass. In which case, you may want to use NSWindowController's
initWithWindowNibName method.
--
Scott Ribe
scott_r...@kille
> This is not a valid initializer. Initializers must be constant expressions.
Oops, my C++ is showing ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-
> In what AppDelegate method do I need to run that code?
> applicationDidFinishLaunching? init?
You don't need to do that before the window is needed; you can do it from
the menu item, or from a method of the controller of the window on which the
sheet will be shown.
--
Scott R
ce/Concept
ual/AppleHIGuidelines/XHIGWindows/XHIGWindows.html#//apple_ref/doc/uid/2
961-SW6>
I don't see anything about progress indicators though.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-d
ent it, if
necessary, for a shared library perhaps, takes a bit more work. But if it's
your own class, it might be good enough to just have a "don't do that"
attitude, (or a check in Debug -init that throws an exception) ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://w
for using a
singleton pattern.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
> Calling a singleton method from multiple threads does not make multiple
> instances.
The code you posted has a race condition, and can create multiple instances
when called from different threads.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567
; take into account the intended use of
the class and use simple means if they are appropriate.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
s new in Snow Leopard. At this point I have no idea whether that's
true for all exceptions or just certain types, and whether or not it
requires the developer tools to be installed.
But perhaps something to check into: examine logs for exceptions thrown by
your app...
--
Scott Ribe
scott
Do you really really have to lock the UI? Are you sure?
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
> I learned two things - keep my code organized and documented, and remove
> unused code.
Also, in any new project, go ahead and turn on breaks on all exception
throws--this often flags little screw ups before you even have a chance to
notice that something's wrong ;-)
--
Scott R
> id obj;
> if (.)
> obj = [Class1 alloc];
> else
> obj = [Class2 alloc];
> obj = [obj initWithFoo:.... bar:];
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev maili
> ...but it still would have been useful, sometimes
> eliminating the need to override multiple initializers.
Are you missing the point of the designated initializer? Or have you dealt
with classes that did not have one, or did not use it properly?
--
Scott Ribe
scott_r...@killerbytes.co
uld in no way
> interfere with a designated initializer.
I get your point now ;-)
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
tton *b = [[self window] standardWindowButton: NSWindowCloseButton];
[b setAction: closeSel];
[b setTarget: closeTarget];
[[self window] performClose: sender];
[closeTarget autorelease];
It's generally an awful thing to do, but I had to debug some issues around
window closi
need to learn the
difference between declaration (.h) and implementation (.m).
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requ
ed at the identifiers several times.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Cont
ur data and send
it off to be displayed to the user, you've lost control over whether or not
that data gets copied.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@li
Sounds like you're creating a new window controller when you create the
sheet.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
How are you attempting to monitor the child process?
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
> err = GetProcessForPID( pid, &psn );
As others have pointed out, this depends on the process reaching a certain
state, not just being launched. Perhaps use something like getpgid?
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-056
> I never thought of trying this before, but it seems that having a more
> narrowly defined sender also limits the kind of controls IB lets you
> connect *from*, at least in the Cocoa IB and presumably in the iPhone
> IB as well.
Likewise for IBOutlets...
--
Scott
> Does anyone know how this could be?
Yes, you are corrupting memory somewhere. Depending on the exact layout of
objects (& ivars) in memory, this corruption may go unnoticed, or may cause
a crash.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-056
not magically produce a
3rd option.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
eed to carry around a state
variable to remember when you've put up a sheet.
But you still seem to have gotten 2 controllers instantiated on 1 window,
and this is going to cause you other problems in the future. So you probably
still need to figure out why your first technique was
> How can I make the application load that 6,3MB property list file
> faster?
Don't abuse property lists; if you need a database, use a database.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
in. The action (or
> outlet) still exists in the object properties list.
>
> I think the only way to remove it is to edit XIB file manually - not a
> simple way, isn't it?
Once you have removed from source files and saved, then in the inspector
panel, on the connections tab, you ca
201 - 300 of 793 matches
Mail list logo