On Wed, May 9, 2012 at 5:08 AM, Peter Ammon pam...@apple.com wrote:
Hope that helps,
It did. Thanks!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
On Tue, May 8, 2012 at 6:33 PM, Fritz Anderson fri...@manoverboard.orgwrote:
I'll get this wrong if I answer in the amount of time I have. Look up
responder chain in the Mac OS X documentation.
To oversimplify:
Menu commands typically go to the first responder — whatever has the UI
focus.
Hi everyone.
I am experiencing grave problems setting up decent accessibility on my
NSPopover. Most issues affect VoiceOver users, but some affect all users (not
even accessibility).
1. When NSPopover is shown, VoiceOver will only report the CONTENTS of the
popover (it will say: 3 items
I guess I'll try music: and see what happens...
On Tue, May 8, 2012 at 9:03 PM, Michael Crawford michaelacrawf...@me.comwrote:
Oops. When I think iTunes, I think desktop. Sorry for the noise.
-Michael
On May 8, 2012, at 21:00, Kyle Sluder k...@ksluder.com wrote:
On May 8, 2012, at
This works :)
NSString *stringURL = @music:;
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
In my experience, setting a text field to the empty string will have it return
nil when you access the string. I can't quite relate it to the code path you're
following, but it may be a clue.
— F
On 8 May 2012, at 10:48 PM, Antonio Nunes wrote:
Why do you recommend against using
Sorry but that just doesn't make sense. The empty string and nil are just not
the same thing. If you set a text field's text to the empty string, you will
get an empty string, you will not get nil. The only way I can imagine this
happening is if the text field is nil at the point you set the
On 9 May 2012, at 4:45 AM, ecir hana wrote:
When I were doing this in Xcode, I would just connect
the menu item to the first responder and the document from IB would receive
the saveDocument:, right?
the document from IB worries me. Your NIB should not include an instance of
your document
On 9 May 2012, at 7:16 AM, Motti Shneor wrote:
I am experiencing grave problems setting up decent accessibility on my
NSPopover. Most issues affect VoiceOver users, but some affect all users (not
even accessibility).
Accessibility can be arcane (and buggy). Your best bet is the
On May 9, 2012, at 02:45 , ecir hana wrote:
I apologize but I still don't quite understand. If I just
implement saveDocument: at the document and leave document controller
without it, the menu item is still disabled. When I add saveDocument: to
the controller as well, it works. I mean, if I
On May 9, 2012, at 10:30 AM, Roland King wrote:
On May 9, 2012, at 11:18 PM, Fritz Anderson wrote:
In my experience, setting a text field to the empty string will have it
return nil when you access the string. I can't quite relate it to the code
path you're following, but it may be a
On May 9, 2012, at 5:16 AM, Motti Shneor su...@bezeqint.net wrote:
3. As NSPopover manages its internal window in a very-opaque way, I can't
find a way THAT WORKS to set up the initialFirstResponder, or window title,
or any accessibility attributes on the popover window.
Can you override
In a subclass of NSView I have implemented:
-(void)print:(id)sender
In IB I have connected a Print menu item to print: in First Responder.
My print: method is not called.
There is only one instance of print: in the project.
So the basic question is why would my print: method not becalled?
As a start change (void) to (IBAction) and have IB re-ingest your .h file with
the declaration in it.
On May 9, 2012, at 12:33 PM, koko wrote:
In a subclass of NSView I have implemented:
-(void)print:(id)sender
In IB I have connected a Print menu item to print: in First Responder.
My
On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:
As a start change (void) to (IBAction)
I wanted to avoid that as the documentation for NSView shows
- (void)print:(id)sender
as the method signature.
-koko
___
Cocoa-dev mailing list
Please don't rely on undocumented URL schemes. The current set of documented
schemes can be found here:
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html.
As with all undocumented features, they are subject to change without
On May 9, 2012, at 9:47 AM, koko k...@highrolls.net wrote:
I wanted to avoid that as the documentation for NSView shows
- (void)print:(id)sender
as the method signature.
IBAction is #def'd as void -- it is just a hook for IB's benefit.
That isn't the problem.
More likely than not,
They are the exact same thing (IBAction is primarily a macro for void). In
fact, unless you are trying to bind directly to the view (which you didn't seem
to be) it won't make any difference at all.
On May 9, 2012, at 9:47 AM, koko wrote:
On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:
Just an FYI ...
-(void)print:(id)sender
is defined in the NSPrinting Category on NSView.
-koko
On May 9, 2012, at 10:45 AM, Charlie Dickman wrote:
As a start change (void) to (IBAction) and have IB re-ingest your .h file
with the declaration in it.
On May 9, 2012, at 12:33 PM, koko
On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote:
or otherwise in the responder chain
I grok that ... thanks.
-koko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
On May 8, 2012, at 8:48 PM, Antonio Nunes devli...@sintraworks.com wrote:
On 8 May 2012, at 23:10, Corbin Dunn wrote:
On May 8, 2012, at 1:35 PM, Antonio Nunes devli...@sintraworks.com wrote:
On 8 May 2012, at 21:46, Andy Lee wrote:
Bizarre indeed. Out of curiosity, are you using
Back on iterating through a mapKit annotation array, I'm bending my brain cell
on this one.
All my annotations are instances of the MyLocation class
I added a method to expose the properties I want to save by returning a dict to
the class.
After all annotations are added, and I want to walk
Hi Alex-
When enumerating the array, you've defined the objects in the collection as
NSDictionary (which doesn't have that method)...
for (NSDictionary * myAnnotation in self.mapView.annotations)
Change the above to:
for (MyLocation * myAnnotation in self.mapView.annotations)
And the
This is what I get for copying and pasting code.
Thank you.
On May 9, 2012, at 2:28 PM, John Pannell wrote:
Hi Alex-
When enumerating the array, you've defined the objects in the collection as
NSDictionary (which doesn't have that method)...
for (NSDictionary * myAnnotation in
On May 9, 2012, at 11:09 AM, Alex Zavatone wrote:
- (IBAction)saveData:(id)sender
{
for (NSDictionary * myAnnotation in self.mapView.annotations)
Here you type 'myAnnotation' as an NSDictionary*.
NSDictionary *myGoodsDict = [myAnnotation
On 9 May 2012, at 19:55, Corbin Dunn wrote:
, so probably that is causing the issue then. To make it possible to have an
empty text field when there are no pages in the document I changed the
symbol for 0:
[self.toolbarPageNumberTextField.formatter setZeroSymbol:@]; (I did
not know
On May 9, 2012, at 1:09 PM, Alex Zavatone wrote:
Back on iterating through a mapKit annotation array, I'm bending my brain
cell on this one.
All my annotations are instances of the MyLocation class
I added a method to expose the properties I want to save by returning a dict
to the
On 9 May 2012, at 1:09 PM, Alex Zavatone wrote:
Back on iterating through a mapKit annotation array, I'm bending my brain
cell on this one.
All my annotations are instances of the MyLocation class
I added a method to expose the properties I want to save by returning a dict
to the
I've been having problems with my app crashing with an EXC_BAD_ACCESS while
unarchiving a saved data file. The file is a graph representation of musical
structure, created by a machine learning algorithm. When the file/graph is
small there are no problems, but as I add more training material,
On 9 May 2012, at 1:58 PM, James Maxwell wrote:
This morning, I tried enabling Guard Malloc (on its own, without zombies),
and was surprised to see the app crash during training, with the following
error:
GuardMalloc[ManuScore-2438]: Failed to VM allocate 1864016 bytes
On May 9, 2012, at 12:58 PM, James Maxwell wrote:
I've been having problems with my app crashing with an EXC_BAD_ACCESS while
unarchiving a saved data file. The file is a graph representation of musical
structure, created by a machine learning algorithm. When the file/graph is
small there
On 9. May 2012, at 17:58, koko wrote:
On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote:
or otherwise in the responder chain
I grok that ... thanks.
what does grok mean?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
On May 9, 2012, at 1:12 PM, H. Miersch wrote:
what does grok mean?
It's a term that roughly means to completely understand something.
http://en.wikipedia.org/wiki/Grok
Dave
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On May 9, 2012, at 2:12 PM, H. Miersch wrote:
On 9. May 2012, at 17:58, koko wrote:
On May 9, 2012, at 10:57 AM, Bill Bumgarner wrote:
or otherwise in the responder chain
I grok that ... thanks.
what does grok mean?
To grok is to intimately and completely share the same
On May 9, 2012, at 11:58 AM, James Maxwell wrote:
Pretty straightforward. NSZombieEnabled gives no info, and code analysis
reveals no memory warnings. I've been over the code many, many times, and
haven't been able to track down a reasonable cause.
Consider using valgrind. It’s pretty easy
On Sat, 5 May 2012 10:27:56 -0700, Jerry Krinock said:
Mac app here, 10.7.
• Show a custom sheet (window) on a document window.
• Send it an -orderOut:
• Send [NSApp endSheet:returnCode:]
Expected Result:
• Sheet should be completely removed from [NSApp orderedWindows].
Actual Result:
• It is
On 10/05/2012, at 2:33 AM, koko wrote:
In a subclass of NSView I have implemented:
-(void)print:(id)sender
In IB I have connected a Print menu item to print: in First Responder.
My print: method is not called.
There is only one instance of print: in the project.
So the basic
On 09/05/2012, at 7:45 PM, ecir hana wrote:
I'm sorry for such basic questions I'm very new to all this.
We did warn you that taking yourself down this path wasn't going to be the best
idea. Now you're seeing why.
If you build a document-based app using Xcode's template, it will work
Thanks All,
I'm just using retain-release, so I'll look into converting a version to ARC.
Unfortunately, I can't go 64-bit as I'm using DrawKit heavily, which doesn't
seem to support 64-bit builds. I'll also look into @autoreleasepool in certain
places. I do have a tendency to use the factory
On May 8, 2012, at 12:27 AM, Quincey Morris wrote:
P.S. Personally, I wouldn't bind to a NSArrayController like this, because it
just obscures the MVC lines of your app. The array controller is getting its
content from somewhere: from this view controller itself, from a window
controller,
On 10/05/2012, at 10:40 AM, James Maxwell wrote:
Thanks All,
I'm just using retain-release, so I'll look into converting a version to ARC.
Unfortunately, I can't go 64-bit as I'm using DrawKit heavily, which doesn't
seem to support 64-bit builds.
While I haven't released DK 64-bit
25,962 frames on the stack seems to me rather a lot. Yes unarchiving is a very
recursive process but that seems pretty deep.
I missed the start of this thread so I don't know what mechanism you are using
to archive and unarchive things, but is it possible you've tripped it up and
it's going
On May 9, 2012, at 18:48 , Koen van der Drift wrote:
Hmmm, an indexset just gives me an index, how do I get the object from it
that it belongs to? I think I still need to be able to access the
NSArrayController (that feeds the NSTableView) for that?
The array controller is also bound to
On May 9, 2012, at 10:12 PM, Quincey Morris wrote:
The array controller is also bound to some indexed property of your app
delegate, myThings. For example, you might have (in the app delegate .h
file):
In my case, the contentset of the array controller is bound to a tree
controller (which
On May 9, 2012, at 19:56 , Koen van der Drift wrote:
In my case, the contentset of the array controller is bound to a tree
controller (which is bound to the MOC of my model). I fail to see how I
also bind it to an array.
Well, as to a direct answer, I'm stumped.
If the array controller
45 matches
Mail list logo