Hi,
im running into some very odd behavior when using a ShortStyle date
formatter for entering dates, and using single vs double digit year
numbers. typing the year as either "2009" or "09" works as expected,
but typing it as "9" not only does *not adjust the century, but also
produces wh
Hi,
i'm wondering if i am missing something, but is KVC's @sum operator
supposed to handle negative values? i'm using it to calculate the sum
(duh) of NSDecimalNumber in a custom class. all is going fine, but as
soon as i have a negative value, i get a huge negative number as result.
for
Jim,
i have an odd issue with NSTask. for some reason, no matter what
result code
my executable returns (im running xcodebuild, if that matters),
NSTask's
terminationStatus always reports back as 1. if instead i use
system() to run
the exact same command, i get bak proper error codes (0 for
Hi,
i have an odd issue with NSTask. for some reason, no matter what
result code my executable returns (im running xcodebuild, if that
matters), NSTask's terminationStatus always reports back as 1. if
instead i use system() to run the exact same command, i get bak proper
error codes (0 fo
Jason,
The way you've allocated the connection, it should start
automatically. You shouldn't need to call -start manually. This
*might* be causing some issues. The documentation doesn't say not to
call it on a connection that is already started, but there might be a
bug. Try removing this ca
Jason,
+[NSURLConnection sendSynchronousRequest:returningResponse:error:] ?
Recursively pumping the run loop like that in the default mode is
discouraged. I don't know the specifics of why, but crashes such as
you're seeing could be part of it.
same happens when i frun the code "proper" as
ounterparts you deal with in other languages will be a much bigger
challenge to getting started. this just imho, of course.
Yours,
marc hoffman
RemObjects Software
The Infrastructure Company
http://www.remobjects.com
___
Cocoa-dev mailing
Jacob,
Are you sure you are not accidentally triggering two 'send message'
calls concurrently. One of the most common causes of this problem is
that your second request is over-writing the variables of an already
in progress request. Check that done is not set to yes when you call
your '
Jason,
On Tue, Dec 30, 2008 at 10:10 AM, marc hoffman
wrote:
while (!done)
{
[[NSRunLoop currentRunLoop]
runMode:NSDefaultRunLoopMode
beforeDate:[NSDate dateWithTimeIntervalSinceNow:timeout]];
}
Since you want the request to happen
Hi,
i'm hoping someone has an idea here - i'm seeing odd crashes after
doing URL requests. the first request completes fine (up to it
triggering connectionDidFinishLoading:), but shortly after or while
doing a subsequent request, i get a EXC_BAD_ACCESS in what seems to be
a secondary work
Andrew, Michael,
So then the question is, why does this -reloadData call fail? The
most
obvious reason would be that its target is nil. In any case, step
through the code in question in the debugger, and hopefully the
reason
shall be revealed.
i got it: the problem was actually my tableVi
Michael,
thanx for the extensive reply.
any idea what might be happening? i mean, obviously the call to
reloadData:
takes fine, else if the table had - say - 3 rows before, it would
not know
to paint row five when i click it, right?
That's actually not obvious at all. You must remember th
Andrew,
Greetings, Marc,
I've seen this behavior when calling -reloadData from a thread other
than the main thread. Is it possible that that's happening in your
case?
i'm only ever changing the data in response to an action received from
a UI element - a search box or a menu item selec
?
thanx,
Yours,
marc hoffman
RemObjects Software
The Infrastructure Company
http://www.remobjects.com
___
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
14 matches
Mail list logo