I have 8 NSComboBoxes in my application organzied into 4 pairs, each pair
sharing an NSComboBox delegate. I have had some users periodically say that the
combo-boxes get confused. ComboBox A will wrongly display ComboBox B’s data. I
have scoured my code for an places where I might perform an ass
Ok. That makes so much sense. This was a succinct explanation.
On Jul 23, 2016, at 8:40 PM, Ken Thomases wrote:
> On Jul 23, 2016, at 10:12 PM, livinginlosange...@mac.com wrote:
>>
>> I have a simple AppDelegate that instantiates an NSWindowController and
>> Window. I have an NSMenuItem that i
I have a simple AppDelegate that instantiates an NSWindowController and Window.
I have an NSMenuItem that invokes an IBAction on the firstResponder in my xib.
This works as expected. When I press command+1, the IBAction fires. However, I
specified that my NSWindowController use the ‘NSUserInterf
Ok. The issue was that the auto-save prompt had disappeared when I was closing
a dirty nsdocument. I added a nswindowcontroller to my nsdocument using
addWindowController. I needed to add setShouldCloseDocument to my main
nswindowcontroller, otherwise my document wouldn’t show the prompt.
Patri
Ok. The issue was that the auto-save prompt had disappeared when I was closing
a dirty nsdocument. I added a nswindowcontroller to my nsdocument using
addWindowController. I needed to add setShouldCloseDocument to my main
nswindowcontroller, otherwise my document wouldn’t show the prompt.
Patri
I never knew that was an option. I turned it on. Restarted my application, but
still no prompt to save my dirty NSDocument when I close it. Any further ideas?
On May 24, 2016, at 12:29 AM, Graham Cox wrote:
>
>> On 24 May 2016, at 3:52 PM, livinginlosange...@mac.com wrote:
>>
>> I have an NSD
I have an NSDocument subclass that is no longer displaying a save prompt when I
close a dirty document using the close: IBAction. My document is marked as
dirty and I am using the NSDocument’s NSUndoManager. I am not doing anything
behind the document’s back by setting the update count, etc. Wou
I have 4 NSComboBoxes in a view. I have a controller class which acts as the
delegate for these ComboBoxes. For some reason, after a period of time, and I
am trying to figure out why this is happening, when I enter ComboBoxA, my
delegate is invoked, but when I query the ComboBox making the call
What’s Adobe’s beef with NSSavePanel? I found this while running fs_usage on my
computer.
Adobe Easter Egg?
11:14:46 getattrlist /Volumes/DriveA/030514 0.14 Adobe Photos
11:14:46 getattrlist es/DriveA/030514/TestSave0.10 Adobe Photos
11:14:46 lstat64
I have an NSTableView with as many as 40 rows and 12 columns. Each row in my
tableview represents one of my model objects. I use a detail view to edit
objects that are displayed in the tableview. I have an NSTextView that is set
to continuously update when a user modifies the NSAttributed string
Would anyone agree me that ARC introduces more rules and considerations than
previously existed with manual reference counting?
On Sep 8, 2013, at 12:00 PM, cocoa-dev-requ...@lists.apple.com wrote:
> Send Cocoa-dev mailing list submissions to
> cocoa-dev@lists.apple.com
>
> To subscribe
I am adding a special CALayer to the layer of my NSView. I can create my
special CALayer, configure it, and add it the center of my NSView layer's
heir-achy perfectly fine. However, as soon as I resize my main view, the
special CALayer's bounds change. I specified the following autoresizing mask
I have an object that is an NSComboBox delegate. For some reason, when I
perform an editing operation in an unrelated tableView (inserting a new object
and editing it in the field editor), any new text insertion I perform in one of
3 NSComboBoxes ends up calling my delegate object twice. Is ther
I have an NSCombox bound to an NSArrayController's "name" attribute. If I
choose multiple items and click on the pop up button in the NSComboxBox, the
NSComboBox clears the name value for all of the different items' name
attribute. This is less than ideal. I don't necessarily wish for the the va
I am revisiting an issue with which I had a problem earlier. I have a
detail view which is bound to my model in an NSArrayController. Currently, I
can edit multiple selections. What I want to accomplish is warn my users when
they are about to edit multiple items and give them the choice
Ok, I just checked my code and I found exactly that. I had a conditional
statement that wasn't balanced with a [NSGraphicsContext restoreGraphicsState].
I should of immediately thought of that as too many things were not operating
correctly. The biggest problem was that I didn't see these error
Has anyone every seen this kind of weird scroll bar behavior? I embedded a
custom view in an NSScrollView. The scroll bars do not appear to be drawing
correctly, and they also appear in the middle of my custom view. This happens
on 10.6, yet not when I build on 10.7. I also see it on 10.8. I ha
I have an application where a user can select multiple rows of data from an
NSArrayController and edit those rows from a detail view. Now, there are cases
where users have inadvertently changed the values for multiple rows of data
when they did not intend to. How can I warn a user when they ente
Where could I post questions regarding the 10.8 SDK? Is that on the apple
developer website?
Patrick
___
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
If I invoke a menu for an NSTextView, I can successfully spell check the text
in my NSTextView by choosing Spelling and Grammar->Show Spelling and Grammar.
This menu item calls showGuessPanel: . The guessPanel is opened and it appears
that the Guess Panel is synchronized with the misspelled word
What is the canonical method of alerting a user that an application is built
for a newer version of OSX?
Patrick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo
I have an NSwindow that contains an NSScrollView encapsulating a NSView. I
experience weird behavior where the scrollbars appear white and only draw
themselves when I resize the window. I have a picture of it here:
http://flic.kr/p/awJRcG
Any ideas of why this might be happening? It is really a
I have an NSComboBox bound to the selection of an NSArrayController. The bound
object is an NSDictionary. I use an NSValueTransfomer to represent the
NSDictionary. The ValueTransformer gives me the dictionary's summary property
which is useful for people choosing the appropriate NSDictionary fr
Is there a way to check if the NSUndomanager is in an unstable state and reset
it?
___
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 cocoa-dev-admins(at
I have variable in my NSDocument subclass that is bound to the following path
_myNSArrayController.selection.subNSArrayController.selection.variableOfInterest.
When I change the subNSArrayController's selection, I don't always see my
variable's setters getting called in my NSDocument subclass. W
>
> Subject: Re: NSPathStore2 HELP!!
>
> Ok, here is how I solved this. Before I called [NSKeyedUnarchive
> unarchive...], I called the class method:
>
> [NSKeyedUnarchiver setClass:[NSString class] forClassName:@"NSPathStore2"];
>
> This fixed the errors and allowed me to reclaim the data
I have overlaid a transparent window over my NSDocument's main window. My
intent is to draw textual notifications to it, such as "Processing...", "20
things selected...". The idea is partially experimental, etc. I thought it
would be neat to display a spinning icon in the a subclassed content vi
I'll follow up on that tomorrow. Thanks,
Patrick
Hi,
I am using the following two methods for a scrolling number box which
is essentially a slider in the form of a NSTextField subclass. I have
yet to implement this for my custom sliders but maybe this is a good
starting point for you? When I
I am employing an NSSliderCell in my table view, and I want to slow
down the rate of change or increase the resolution of change using a
modifier key like commands as I drag. This is employed in a few audio
programs to assist a mixer in fine tuning either volume or pan when
mixing. Where do
In my NSDocument subclass, I am trying to set the main window's frame
in the windowControllerDidLoadNib: method. For some reason, I can set
the width and height of the window's frame, but not its origin. Any
ideas? I am using the setFrame:NSMakeRect(x, y, w, h) display:YES
[
I have an NSDocument that has several NSArrayControllers worth of
data as well as a bunch of iVars. I can succesfully archive my
Document's iVars and my ArrayContollers' contents, and I can
succesfully implement NSDocument's autosave feature. However, and
this is a design limitation on my p
Unfortunately that didn't work. I moved the scrollview to its own
window/windowcontroller, and the textfields that sit within the
scrollview do allow me to edit them.
What happens if you (explicitly?) pass binding option
NSConditionallySetsEditableBindingOption with value NO?
HTH,
Keary Su
I want to display a programmatic list of NSTextfields in a view that
is enclosed in a scrollview.
I have a tabview whose view contains a scrollview which contains my
custom view that I wish to display NSTextFields on. I can create the
text fields and bind them to my model, however, I can't
33 matches
Mail list logo