On Mon, Jul 12, 2010 at 10:34 PM, Scott Anguish sc...@cocoadoc.com wrote:
On Jul 12, 2010, at 6:13 PM, Kyle Sluder wrote:
On Mon, Jul 12, 2010 at 2:12 PM, Kevin Perry kpe...@apple.com wrote:
Yeah, this is an unfortunate bug that we didn't catch until Snow Leopard.
Good to know. Might we be
I'm using an NSURLConnection to extract information from a website. The website
used to have a simple authentication process based on cookies. Now, they
switched to a form of private OpenID. I read a bit about this open-source
protocol and I'm wondering if it's possible to respond to an
Hi,
is there some way to lower UIApplication's backgroundTimeRemaining property for
testing purposes?
I want to test the correct behaviour of an App doing some lengthy processing in
the background when the background time expires, but I always have to wait 10
Minutes for the timeout ... that's
It appears that calling -setValue:forKey: on an object bypasses or ignores any
invocation forwarding it has set up, unless I'm missing some obvious error.
I have an object that acts as a wrapper for another object, and so that the
wrapper can, under some circumstances, act as the thing it is
Sounds to me like you're looking for Cocoa Bindings…
On 13 Jul 2010, at 00:40, Andrew James wrote:
All,
I've been writing way to much code to populate an NSPopUpButton with an array
that can change at any moment. Due to that, I'd rather use Cocoa's Key Value
Coding technology. I've
Sounds to me you subclassed the wrong class. KVC is provided by NSObject. If
you subclass NSProxy, the -setValue:forKey: message is not implemented, so will
get forwarded on like others.
On 13 Jul 2010, at 13:53, Graham Cox wrote:
It appears that calling -setValue:forKey: on an object
On Jul 13, 2010, at 7:53 AM, Graham Cox wrote:
It appears that calling -setValue:forKey: on an object bypasses or ignores
any invocation forwarding it has set up, unless I'm missing some obvious
error.
I have an object that acts as a wrapper for another object, and so that the
wrapper
On 13/07/2010, at 11:56 PM, glenn andreas wrote:
I'd just override valueForKey: and setValue:forKey: in your class to handle
forwarding those to your wrapped object.
Hi Glenn,
That's what I did actually, seems a much simpler approach anyway. I was just
curious as to whether this apparent
On 13 Jul 2010, at 2:51 AM, Manfred Schwind wrote:
is there some way to lower UIApplication's backgroundTimeRemaining property
for testing purposes?
I want to test the correct behaviour of an App doing some lengthy processing
in the background when the background time expires, but I always
On 13 Jul 2010, at 7:53 AM, Graham Cox wrote:
It appears that calling -setValue:forKey: on an object bypasses or ignores
any invocation forwarding it has set up, unless I'm missing some obvious
error.
Aren't valueForUndefinedKey: and setValue:forUndefinedKey: provided for exactly
this
Hello, all.
My acquaintance told me that he found a strange problem while using
MPMoviePlayerController.
According to him, from second play of a movie file located on a server,
a server said that there was a cached movie clip on a client and guided
to use the locally cached one, but on the
Hi,
I have an NSTableView bound to an NSArrayController, which gets its data from
an NSMutableArray of objects.
One column of my table is set up as a button cell where I use
tableView:dataCellForTableColumn:row: to return a different button cell (or
sometimes nil) depending on the data for
I guess everybody was sleeping yesterday when I sent this so, I'll resend :-)
I'm using an NSURLConnection to extract information from a website. The website
used to have a simple authentication process based on cookies. Now, they
switched to a form of private OpenID. I read a bit about this
Hi,I'm a newbie and I should create a window with an image (resource.png)
from resource folder of my XCode project. I realized that I should use
NSImageView and embed it in a scroll view, but the image is not entirely showed
because too large: why are the scrollers not shown?
Thanks a lot!
Hello,
I am trying to find out all the intranet domains available in our network. I
have tried using NSNetServiceBrowser and DNSServiceEnumerateDomains but both
are returning only 'local.' and no other domains.
I also tried the same using terminal with command scutill --dns and dig , but
On Jul 12, 2010, at 6:01 PM, David Swofford wrote:
I'm beginning the conversion of a scientific app from Carbon to Cocoa, and
have run into a problem with NSTextView. FWIW, I have it embedded in an
NSScrollView that is in turn included as an HICocoaView in a Carbon window
(but I don't
I have a programmatic NSPopUpButton used by a toolbar item. The pop-up
list does not display the option that was last selected.
The documentation says A pop-up list lets the user choose one option
among several and generally displays the option that was last selected.
How do I make the
is there some way to lower UIApplication's backgroundTimeRemaining property
for testing purposes?
I want to test the correct behaviour of an App doing some lengthy processing
in the background when the background time expires, but I always have to
wait 10 Minutes for the timeout ... that's
On Jul 13, 2010, at 10:38 AM, Gideon King wrote:
Hi,
I have an NSTableView bound to an NSArrayController, which gets its data from
an NSMutableArray of objects.
One column of my table is set up as a button cell where I use
tableView:dataCellForTableColumn:row: to return a different
when adding a file you should be asked if you would like it to be copied to
the project's directory.
this should be a checkbox in a dialog. have you tried this?
That's what I did initially. The files themselves are not marked to
be deployed with any target, but instead the folder they are in
On Mac OS X 10.5.8, Xcode 3.1.3,
I ran into some very strange behavior today trying to get at the
extended attributes of files. In summary, for particular NSDictionary
object, the behavior of -objectForKey: is different, depending on what
other code runs.
I have distilled the weirdness
Hi,
I've read pages and pages on the internet, and looked at the samples,
and I've got Hillegass (2nd and 3rd editions) but I'm also a newbie,
I'm trying to create a fairly simple app, and I'm a bit stuck with the
to-many relationships.
I've got 2 entities, Product and Kit.
There will
On Jul 13, 2010, at 2:38 PM, Ross Carter wrote:
Could you post a test file somewhere? I just tried creating 187 pages of
repeating ACCGACTACCGACT in TextEdit and it worked fine.
Thanks for your interest! I've put an example at
http://www.duke.edu/~dls36/nstextview_problem/
Remember, you
On Jul 13, 2010, at 2:38 PM, Ross Carter wrote:
Could you post a test file somewhere? I just tried creating 187 pages of
repeating ACCGACTACCGACT in TextEdit and it worked fine.
Ah... I see a difference, and it's very relevant. My example has a lot of
hyphen characters in it (FWIW these
Hi Folks,
I am trying to generate a self sign certificate programmatically in my Cocoa
app instead of using KeyChain Access application. I studied Apple provided
sample codes and documentation and finally I haven't find any API for Self
sign certificate creation.
NSDictionary* attrs = [[NSFileManager defaultManager]
attributesOfItemAtPath:
@/some/file/with/finder/comment
error:NULL];
NSLog(@extAttrs:%@, [attrs objectForKey:@NSFileExtendedAttributes]);
NSLog(@attrs:%@, attrs);
On Jul 13, 2010, at 2:44 PM, Murat Konar wrote:
NSLog(@extAttrs:%@, [attrs objectForKey:@NSFileExtendedAttributes]);
NSLog(@attrs:%@, attrs);
NSLog(@extAttrs:%@, [attrs objectForKey:@NSFileExtendedAttributes]);
2010-07-13 13:14:30.648 FileManagerBug[9323:813] extAttrs:(null)
Hello,
In my app, in which I've implement various drag and drop mechanisms, I'm
getting calls to -pasteboard:provideDataForType: upon quitting if I've
performed dragging in my app. Of course, at such time, the drag being long
over, my app doesn't have the data to supply. I've verified that the
On Jul 13, 2010, at 12:02 PM, Amy Gibbs wrote:
I've read pages and pages on the internet, and looked at the samples, and
I've got Hillegass (2nd and 3rd editions) but I'm also a newbie,
I'm trying to create a fairly simple app, and I'm a bit stuck with the
to-many relationships.
I've
On Tue, Jul 13, 2010 at 3:44 PM, Murat Konar mu...@pixar.com wrote:
WTF?
For those interested, you can download my test project from
http://bugs.muratnkonar.com/FileManagerBug.zip
If you NSLog(@class = %@, [attrs class]) you'll see what the problem
is! The NSFileManager function doesn't
On Jul 13, 2010, at 2:35 PM, Philip White wrote:
I can understand why other pasteboards would ask for data upon quitting, but
why would the drag pasteboard?
I think it's just general pasteboard behavior: it has to be able to fulfill the
promised datatypes if someone eventually asks for them.
Thanks for trying to help, but I'm not sure the meaning of your answer, or what
other information I could provide about the situation. Could you please clarify?
Regards
Gideon
On 14/07/2010, at 5:29 AM, Keary Suska wrote:
On Jul 13, 2010, at 10:38 AM, Gideon King wrote:
Hi,
I have an
Wow. That possibility seemed too outlandish to consider, but there it
is.
Curious though that asking the dictionary poser object to describe
itself triggers the fetch (as does asking for all its keys, BTW), but
actually asking for a value in the object doesn't.
Thanks everybody. And be
On 13/07/2010, at 9:43 PM, Vincenzo Morgante wrote:
Hi,I'm a newbie and I should create a window with an image (resource.png)
from resource folder of my XCode project. I realized that I should use
NSImageView and embed it in a scroll view, but the image is not entirely
showed because too
On 14/07/2010, at 5:24 AM, David Swofford wrote:
Ah... I see a difference, and it's very relevant. My example has a lot of
hyphen characters in it (FWIW these represent gaps in a sequence alignment
and are typically common in these kinds of files). Your example was all
letters. When I
I don't think it has anything to do with wrapping. AFAICT, layout is complete
before the delay begins. I think this is a bug that you need to report. Maybe
Doug or Aki can chime in with a solution.
Here are some things that I found:
1. The problem is indeed the hyphen characters. Replace all
On Jul 13, 2010, at 7:34 PM, Ross Carter wrote:
I don't think it has anything to do with wrapping. AFAICT, layout is complete
before the delay begins. I think this is a bug that you need to report. Maybe
Doug or Aki can chime in with a solution.
Thanks for a very informative reply.
Here
This is indeed an issue with the text system (trying to pre-heat the inserted
text range for various text checking tasks).
Please file a bug.
4. As a workaround, could you use underscore characters instead of hyphens? I
tried using en dash and got the same result as hyphens.
5. May I
I found the problem. It was that I was looking in my source array using
objectAtIndex:row, which is the actual row in the table as displayed. Seeing as
my array is not sorted - it just has sort descriptors applied, I was getting
the wrong value from my data array.
I resolved the issue by
On 2010 Jul 13, at 09:40, Laurent Daudelin wrote:
I guess everybody was sleeping yesterday when I sent this so, I'll resend :-)
Well, although that was true in my case, it's also likely that no one knows.
I've been trying to create a NSURLCredential with the user ID and password
but that
On Jul 13, 2010, at 12:40 PM, Laurent Daudelin wrote:
I guess everybody was sleeping yesterday when I sent this so, I'll resend :-)
I'm using an NSURLConnection to extract information from a website. The
website used to have a simple authentication process based on cookies. Now,
they
On 2010 Jul 13, at 18:25, Laurent Daudelin wrote:
That's very useful and gives me at least a starting point
One more thing I should have mentioned. After you get this thing working and
have these passwords, tokens, or whatever, if you want to store them
persistently, do it the Correct Way™
42 matches
Mail list logo