Re: Are runtimes of system objects dynamic/SDK dependent/whatever?

2022-06-14 Thread Frank D. Engel, Jr. via Cocoa-dev
/System/Library/Frameworks/AppKit.framework On 6/14/22 3:29 PM, Aandi Inston via Cocoa-dev wrote: I'm trying to understand how Mac OS X actually implements the predefined objects like NSApplication. Not in detail by function, but where the code lives. This is by way of understanding what happen

Re: Help Indexing

2017-04-24 Thread Frank D. Engel, Jr.
and just open the online help in a web browser, maybe an embedded one in a custom window, to bypass this entire mess. Such an ill-behaved help system is not befitting of Apple. On 4/18/2017 16:03, Jerome Krinock wrote: On 2017 Apr 18, at 01:22, Frank D. Engel, Jr. wrote: I switched them to

Re: Help Indexing

2017-04-18 Thread Frank D. Engel, Jr.
uot;name" and that I have looked at other (working) help books that use "name" so tried switching them back and clearing the cache again, still no good. On 4/17/2017 10:28, Jerome Krinock wrote: On 2017 Apr 14, at 18:17, Frank D. Engel, Jr. wrote: In my Help Book, my workin

Re: Help Indexing

2017-04-14 Thread Frank D. Engel, Jr.
On 4/13/2017 21:53, Jerome Krinock wrote: On 2017 Apr 13, at 16:46, Frank D. Engel, Jr. wrote: Hi, I am trying to create an Apple Help book … help buttons on the interface trying to access specific pages using anchors, and these are not working. I generated an index using the "hiutil

Help Indexing

2017-04-13 Thread Frank D. Engel, Jr.
Hi, I am trying to create an Apple Help book. It is working if I choose the help option from my application's Help menu, but I have some help buttons on the interface trying to access specific pages using anchors, and these are not working. I generated an index using the "hiutil" command, and

Re: Menu Item Shortcuts Without Menu Items?

2017-03-17 Thread Frank D. Engel, Jr.
nt with the possible limitation described. On 3/16/2017 16:12, Kyle Sluder wrote: On Mon, Mar 13, 2017, at 04:50 PM, Ken Thomases wrote: On Mar 13, 2017, at 5:12 PM, Frank D. Engel, Jr. wrote: I need to create the equivalent of a menu item shortcut, but without the menu item... or, to assign two di

Menu Item Shortcuts Without Menu Items?

2017-03-13 Thread Frank D. Engel, Jr.
I need to create the equivalent of a menu item shortcut, but without the menu item... or, to assign two different shortcuts to the same menu item. More precisely: I have a menu item with a shortcut of Command+L. I need Command+Shift+L to do exactly the same thing, but it doesn't look right hav

Re: Checkbox Mayhem

2016-12-18 Thread Frank D. Engel, Jr.
Dec 18, 2016, at 5:50 AM, Frank D. Engel, Jr. wrote: My guess is that for some reason the @synthesize methods are not calling "willChangeValueForKey" and the like - why would that be the case? I have worked on one or two other Core Data projects and I don't remember having to

Re: Checkbox Mayhem

2016-12-18 Thread Frank D. Engel, Jr.
have worked on one or two other Core Data projects and I don't remember having to do this before... On 12/18/2016 06:41, Frank D. Engel, Jr. wrote: Hoping this is something simple that is simply escaping me at the moment... I a view-based table with two columns containing checkboxes. The

Checkbox Mayhem

2016-12-18 Thread Frank D. Engel, Jr.
Hoping this is something simple that is simply escaping me at the moment... I a view-based table with two columns containing checkboxes. The table has its content property bound to an array controller's arrangedObjects, with that array controller being tied to entities in Core Data. The che

Re: PopUp menus in tables

2016-10-05 Thread Frank D. Engel, Jr.
have the popup button you clicked on, get the enclosing NSTableRowView and call rowForView: -- Gary L. Wade http://www.garywade.com/ <http://www.garywade.com/> On Oct 4, 2016, at 4:03 PM, Steve Mills wrote: On Oct 4, 2016, at 17:39, Frank D. Engel, Jr. wrote: Ok - wasn't aware of that o

Re: PopUp menus in tables

2016-10-04 Thread Frank D. Engel, Jr.
Ok - wasn't aware of that one. I tried it, but sadly get the same results. On 10/3/2016 23:17, Steve Mills wrote: On Oct 3, 2016, at 18:29:34, Frank D. Engel, Jr. wrote: Does anyone know of a way to determine which row of the table the menu is being opened for, rather than the one tha

PopUp menus in tables

2016-10-03 Thread Frank D. Engel, Jr.
Hi, I have an NSPopupButtonCell in a cell-based table (MacOS X). The table is being fed by an NSArrayController, but the set of items in this particular popup menu is fixed (entered them as NSMenuItem objects within Xcode's Interface Builder). However, I need to enable/disable certain items

"Live" NSFetchRequest?

2016-09-17 Thread Frank D. Engel, Jr.
Before I go reinventing the wheel to try to code around this... Is there any way I can set up a "live" NSFetchRequest in a Core Data model, so that is matches against the predicate change (for example, predicate filters on a field, the value of that field changes such that an object suddenly m

Re: Unusual Conditional Formatting

2016-09-07 Thread Frank D. Engel, Jr.
I am starting to think as well that I will need to create a new class for my value and type and work it out that way. I will give that a try. Thank you! On 9/7/2016 13:14, David Duncan wrote: On Sep 6, 2016, at 3:10 PM, Frank D. Engel, Jr. wrote: I am trying to set up what is apparently

Re: Unusual Conditional Formatting

2016-09-07 Thread Frank D. Engel, Jr.
Tried adding the suggested KVO code - does not seem to have made a difference. Already had #2 - not sure that #1 is practical in this situation. On 9/7/2016 05:25, Jonathan Mitchell wrote: A couple of suggestions. Here is what I have so far: I used a category on NSNumber to add a "valueType

Re: How to silently use Proxy authentication credentials from Keychain, like Safari, Mail, etc.

2016-09-06 Thread Frank D. Engel, Jr.
The limitation of this approach is that if the proxy settings change, the daemon will be out of sync and you would need to rerun the installer (or some sort of "Fix Proxy Settings Utility") to bring it up to date. On 9/5/2016 15:10, Jens Alfke wrote: One other possibility is: * Installer gets

Unusual Conditional Formatting

2016-09-06 Thread Frank D. Engel, Jr.
I am trying to set up what is apparently a somewhat unusual behavior: I have a formatter which I want to behave differently depending on an attribute of the value coming in, and on a user preference that can be toggled in the preference panel. Basically, they are all floating-point values, bu

NSTableView Drag/Drop - Which Column?

2016-07-23 Thread Frank D. Engel, Jr.
Hi, Does anyone know if there is a way to determine which column of an NSTableView something being dragged is dropped onto? I have drag and drop from one table in my application onto a row of another table working, but I would like to know which column of the destination table the source ite

Re: Questions about NSPopupButtonCell and NSBrowser

2015-07-19 Thread Frank D. Engel, Jr.
In case anyone else is struggling with popup button cells like I was, I did finally get this to work - though the solution looks a bit strange it definitely seems to be giving me the behavior I wanted. Short version: there are two entities defined (Core Data) and there is a one-to-many relat

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/4/2015 19:39, Graham Cox wrote: On 5 Jun 2015, at 9:19 am, Frank D. Engel, Jr. wrote: - (void)browser:(NSBrowser *)browser willDisplayCell:(MyBrowserCell *)cell atRow:(NSInteger)row column:(NSInteger)column { // Find the item and set the image. WhateverObject *c = [browser

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/4/2015 18:43, Graham Cox wrote: On 5 Jun 2015, at 6:38 am, Frank D. Engel, Jr. wrote: On 6/3/2015 20:29, Graham Cox wrote: On 4 Jun 2015, at 10:20 am, Frank D. Engel, Jr. wrote: I am wondering if the browser is actually caching an image of the cells in the second column when I

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-04 Thread Frank D. Engel, Jr.
On 6/3/2015 20:29, Graham Cox wrote: On 4 Jun 2015, at 10:20 am, Frank D. Engel, Jr. wrote: I am wondering if the browser is actually caching an image of the cells in the second column when I switch away, then just displaying that without actually recreating the cells in the second column

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-03 Thread Frank D. Engel, Jr.
for something? That might explain the behavior I am seeing, and may be a sensible optimization in most cases, but in this instance it is not very helpful for my particular application. On 6/3/2015 19:52, Frank D. Engel, Jr. wrote: I based my code on one of Apple's examples and had tried usi

Re: Questions about NSPopupButtonCell and NSBrowser

2015-06-03 Thread Frank D. Engel, Jr.
Frank D. Engel, Jr. wrote: Now what I am hoping is the simpler one: I have a custom subclass of NSTextFieldCell which I am using to show an icon in an NSBrowser. The icon image is being generated dynamically by a method in my subclass and I want it to change more or less in "real time&q

Questions about NSPopupButtonCell and NSBrowser

2015-06-03 Thread Frank D. Engel, Jr.
I have two questions I'm hoping I can get some advice on... First the complicated one: I have an NSTableView (cell-based) in which I am trying to rig two columns with NSPopupButtonCell - the selection in the first one determines the possible values of the second. This is part of a document

Re: Inserting a task into the run loop

2015-03-26 Thread Frank D. Engel, Jr.
I think you might be able to use this: [object performSelectorOnMainThread:(SEL)aSelector withObject:nil waitUntilDone:NO]; If I am interpreting the behavior of that call correctly, you would need to call that once to get it started, then at the

Re: NSBrowser Frustration

2015-03-07 Thread Frank D. Engel, Jr.
for any confusion! On 3/7/2015 12:39, Frank D. Engel, Jr. wrote: I have an NSBrowser class which has at most two columns; it is populated from a core data store. If I delete an object from the core data store that is from the first column of the browser, I can send loadColumnZero to the browser

Re: Core Data Bindings Issue

2010-08-19 Thread Frank D. Engel, Jr.
explicitly.) See "Custom Implementation" in: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html#/ /apple_ref/doc/uid/TP40002154-SW1 ----------- Frank D. Engel, Jr. $ ln -

Core Data Bindings Issue

2010-08-18 Thread Frank D. Engel, Jr.
has the field defined as: @property float someField; --------------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gave his only beg

Pop-up Panels?

2009-07-27 Thread Frank D. Engel, Jr.
n someone point me to something that might help with this? Thank you! ------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" John 3:16 For God so loved the world, that he gav

NSTextView - "Image Editing"?

2009-07-27 Thread Frank D. Engel, Jr.
uld use the "Image Edit" panel within an NSTextView? I can't seem to find that anywhere, but Pages, for example, seems to do something very similar to that... Thank you! ----------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbi

Re: Array of Preferences

2009-03-18 Thread Frank D. Engel, Jr.
this! Thank you!!! On Mar 18, 2009, at 9:25 PM, Frank D. Engel, Jr. wrote: I'll take a look at that, thank you! On Mar 18, 2009, at 8:52 PM, Steven Riggs wrote: Hey Frank, I have a sample project that stores dictionary objects in user defaults with no code. Check it out:

Re: Array of Preferences

2009-03-18 Thread Frank D. Engel, Jr.
helps. Steven Riggs http://www.stevenriggs.com On Mar 18, 2009, at 8:14 PM, Frank D. Engel, Jr. wrote: I have an interesting puzzle on my hands, hoping someone here can help. I want to store an array of dictionaries as preferences. Each dictionary will have two keys; one is a string which

Array of Preferences

2009-03-18 Thread Frank D. Engel, Jr.
this? I did check "Continuously Updates Value" for the column's binding, but that seems to make no difference. Thank you for any advice on this! ------- Frank D. Engel, Jr. $ ln -s /usr/share/kjvbible /usr/manual $

Drag Tabs, Custom Colors

2008-11-11 Thread Frank D. Engel, Jr.
ols in order to get this? Any input or suggestions/pointers would be appreciated... ----------- Frank D. Engel, Jr. <[EMAIL PROTECTED]> $ ln -s /usr/share/kjvbible /usr/manual $ true | cat /usr/manual | grep "John 3:16" Joh