Hi list,
I am on 10.5 and I often get exceptions like
NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- NSGetSizeAndAlignment(): unsupported
type encoding spec 'b' at 'b1b1b1b1^{PlatformKeyboardEvent}
{String
=
{RefPtr
<
WebCore
::StringImpl>=^{String
On Sep 13, 2008, at 12:50 PM, Amy Heavey wrote:
I've got an NSXMLDocument *custdoc
but I can't work out how to actually access the data in the
document, I've looked at NSXMLElement, NSXMLParser, NSXMLNode but I
just can't work out the correct code.
sample xml:
−
Willow
Tree Crafts
99 L
On Sat, Sep 13, 2008 at 5:59 PM, Markus Spoettl
<[EMAIL PROTECTED]> wrote:
> On Sep 13, 2008, at 2:42 PM, j o a r wrote:
>>
>> Like what?
>
> For instance if you have an app delegate object in MainMenu.nib it gets
> deallocated only when the application terminates.
Pretty much by definition, if an
On Sep 13, 2008, at 4:35 PM, Matthew Schinckel wrote:
Any idea what the gray tab in the corner signifies? If you click on
the color well and set the value, it always disappears.
http://www.sethwillits.com/temp/NSColorWellCorner.jpg
It means the color it's displaying was created in the Devic
It means the color is in a device color space. Doesn't everybody know
that? ;-) (Very much kidding..)
The color panel allows you to choose the colorspace for the color. In
the tab that gives you a slider for each color channel, there's a
little popup with a colorwheel and a white popup arrow. T
On 14/09/2008, at 8:52 AM, Seth Willits wrote:
Any idea what the gray tab in the corner signifies? If you click on
the color well and set the value, it always disappears.
http://www.sethwillits.com/temp/NSColorWellCorner.jpg
Does anybody know what the little grey triangle that shows up i
Any idea what the gray tab in the corner signifies? If you click on
the color well and set the value, it always disappears.
http://www.sethwillits.com/temp/NSColorWellCorner.jpg
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.
>
FROM : Quincey Morris
Your code is crashing because you're doing it wrong:
On Sep 13, 2008, at 05:05, John Love wrote:
> - (void) calculateWorksheet:(id)data {
>int row;
>for (row=1; row < 500; row++) {
>// long calculation here
>}
> }
>
> - (void) startQueue {
>NS
On Sep 13, 2008, at 2:59 PM, Markus Spoettl wrote:
Like what?
For instance if you have an app delegate object in MainMenu.nib it
gets deallocated only when the application terminates.
Sure you can (try to) test for it, but *what's the point*? Your time
is better spent testing for and fix
On Sep 13, 2008, at 2:42 PM, j o a r wrote:
Like what?
For instance if you have an app delegate object in MainMenu.nib it
gets deallocated only when the application terminates.
Seth is right in general, app termination is very much a special case.
I didn't say it wasn't a special case.
On Sep 13, 2008, at 1:43 PM, Markus Spoettl wrote:
Not true, I can think of many scenarios where you have no other
choice.
Like what? Seth is right in general, app termination is very much a
special case.
j o a r
___
Cocoa-dev mailing list
Thanks for the thought Ken.
It was causing an invocation. That's why I tested for Proxy didn't
look at the class, in the debugger, because gdb couldn't resolve the
class, when i was trying it.
cheers,
marc
On Sep 13, 2008, at 5:27 PM, Ken Thomases wrote:
On Sep 13, 2008, at 11:12 AM, Marc V
On Sep 13, 2008, at 11:12 AM, Marc Van Olmen wrote:
It is always a proxy object...
I'm wondering if there is some kind of exception with NSURL?
Have you checked with a debugger what the real class (the isa pointer)
of the object is? Just because it's a proxy doesn't mean it's an
NSDistan
On Sep 13, 2008, at 1:32 AM, Seth Willits wrote:
You don't test for leaks by quitting your program.
Not true, I can think of many scenarios where you have no other choice.
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signatu
Thats where i got most of the code from, and I have seen the post on
his blog, but I still can't work it out!
Many Thanks
Amy Heavey
On 13 Sep 2008, at 20:09, Hal Mueller wrote:
The "Amazone" example in the new edition of the Hillegass book is a
good place to start. He's also got a ve
I've got an NSXMLDocument *custdoc
but I can't work out how to actually access the data in the document,
I've looked at NSXMLElement, NSXMLParser, NSXMLNode but I just can't
work out the correct code.
sample xml:
−
Willow
Tree Crafts
99 Leggatts Way
Herts
WD24 5NQ
GBR
[EMAIL PROTECTED]
I'm rather late coming into this discussion, but Graham's question
addresses something that I puzzled over when, not too long ago, I
started using Cocoa. As a newcomer wanting to avoid learning all
about bindings, the approach I've taken is essentially the same as is
summarized by Graham.
Your code is crashing because you're doing it wrong:
On Sep 13, 2008, at 05:05, John Love wrote:
- (void) calculateWorksheet:(id)data {
int row;
for (row=1; row < 500; row++) {
// long calculation here
}
}
- (void) startQueue {
NSLog(@"start queue"); // I see this in the d
I found the source of my mess .. should have just passed nil to my
selector = calculateWorksheet:
John Love
=
On Sep 13, 08, at 11:46 AM, Shawn Erickson wrote:
On Sep 13, 2008, at 8:34 AM, John Love wrote:
> For clarification: It crashes after you call stopCalculation?
Does it
> cr
I think MobileMe mail is still being silly because I only got 2
replies, but I see on CocoaBuilder that there were actually more.
Whomever it was that suggested using NSFileManager was spot on! I've
got this in an NSValueTransformer subclass and it works great:
- (id) transformedValue:(id)
hi,
I have an NSURL that is encoded by:
[theCoder encodeBycopyObject:mFileURLSource];
but I notice that when i double check on the InitWithCoder that
mFileURLSource = [[theCoder decodeObject] retain];
if ([mFileURLSource isProxy] == YES)
{
OS_DE
On Sep 13, 2008, at 8:34 AM, John Love wrote:
> For clarification: It crashes after you call stopCalculation? Does
it
> crash if you let the entire calculation complete?
It crashes in the process of letting the entire calculation complete.
Sounds like something is wrong in your calculation
> For clarification: It crashes after you call stopCalculation? Does it
> crash if you let the entire calculation complete?
It crashes in the process of letting the entire calculation complete.
If I place NSLog(@"start queue") at the beginning of -startQueue, the
Debugger shows "start queue".
On Sep 13, 2008, at 8:07 AM, John Love wrote:
// I also call this method from another Controller
- (void) stopCalculation {
[self stopQueue];
}
For clarification: It crashes after you call stopCalculation? Does it
crash if you let the entire calculation complete?
Jaime Magiera
Se
Thank-you all for your responses, this makes more sense... cheers
On 13 Sep 2008, at 04:43, Michael Ash wrote:
On Fri, Sep 12, 2008 at 3:25 PM, Simon <[EMAIL PROTECTED]> wrote:
Hi guys,
This is a quick question I hope! What's the most efficient way to
make the
progress indicator background
On 13-Sep-08, at 07:45 , Daniel Luis dos Santos wrote:
That said, STL can be used only within a library's own code. Then
when coding a shared library one must implement all kinds of data
structures that can be used at the boundary. Isn't that like
reinventing the wheel ?
Yes. But that is
I have tried to create a Queue in which I have placed a rather lengthy
calculation. Without the Queue, my app is essentially “frozen” until
the calculation is completed.
I have attempted to put this long calculation in a Queue, but when I
try, my app literally crashes. So, here are some cod
I have tried to create a Queue in which I place a long calculation.
Without the Queue, my app is “frozen” until the calculation is complete.
However, my app literally crashes. So, here are some snippets where I
obviously need your help:
@interface MyCalcController:NSObject {
NSString
On Sep 12, 2008, at 11:21 AM, Daniel Luis dos Santos wrote:
The problem was that in CVDisplayPipeline.h I was declaring the map
as a return type of a method, but without specifying the template
types (caused by my relative ignorance of C++).
Now I have another problem, which I wonder if yo
On Sep 13, 2008, at 12:38 AM, Markus Spoettl wrote:
The process's entire memory space is freed when it terminates.
Because of this, objects may not ever receive a dealloc message.
The documentation for -[NSObject dealloc] discusses this.
Yes, I know but it isn't exactly helpful in determini
On Sep 13, 2008, at 12:08 AM, Charles Steinman wrote:
The process's entire memory space is freed when it terminates.
Because of this, objects may not ever receive a dealloc message. The
documentation for -[NSObject dealloc] discusses this.
Yes, I know but it isn't exactly helpful in determi
--- On Fri, 9/12/08, Markus Spoettl <[EMAIL PROTECTED]> wrote:
> I have observed the following in my application:
>
> When the document is closed while the application keeps
> running, my
> document, window controller and dependent windows get
> deallocated as
> expected.
>
> However, when t
32 matches
Mail list logo