> On 2016 Jun 26, at 12:29, Jim Thomason wrote:
>
> I've been desperately trying to use NSRuleEditor for a while now, since it
> presents exactly the type of interface I want to show to the users.
NSRuleEditor and NSPredicateEditor give you a quite a boatload, but as you’ve
di
I've been desperately trying to use NSRuleEditor for a while now, since it
presents exactly the type of interface I want to show to the users.
But I can't figure out how to properly get data out of it. I can configure
all of the delegate methods to build the interface, but then what?
Is there a good tutorial or set of examples out there for NSRuleEditor? I'm
quite interested in using the class, but the lack of documentation is
definitely a hindrance. I found a couple of light examples that I'm trying
to work through and reverse engineer the rest of the functionality
Hi,
I was wondering if it might be possible to implement an NSRuleEditor with
variable-height rows. There is a "rowHeight" property that can be set, but that
sets the same height for all rows. I can override it with a subclass, but I
don't see any obvious way to know which row
On Jan 28, 2012, at 4:23 PM, Erik Stainsby wrote:
> Hello list folks,
>
> I'm struggling with the abstraction and sketchy documentation that surround
> NSRuleEditor. I feel a need to know that the effort is worthwhile, versus
> cobbling together something in a table or
On 28 Jan 2012, at 6:23 PM, Erik Stainsby wrote:
> One example I have found (NibBasedSpotlightSearcher.xcodeproj - circa 2006)
> presents a window in the nib which holds clusters of related controls in a
> single view. I'm doing the gasping guppy trying to see where in the code
> those individu
Hello list folks,
I'm struggling with the abstraction and sketchy documentation that surround
NSRuleEditor. I feel a need to know that the effort is worthwhile, versus
cobbling together something in a table or outline view instead.
The domain I am working in really fits well withi
Hello list,
Forgive me if this has been asked and answered, but what does one do in XC4.2
to create the requisite rule editor templates? I find nothing useful in the
docs on this topic, and the only example code used IB 3.0 to do this task.
Help?
Erik
on 3/10/10 6:01 PM, Peter Ammon at pam...@apple.com wrote:
> On Mar 10, 2010, at 11:30 AM, John C. Daub wrote:
>
>> Can you obtain the localized display of an NSRuleEditor?
>>
> [...]
>
>> I can't see any way to extract the actual displayed GUI (post-forma
On Mar 10, 2010, at 11:30 AM, John C. Daub wrote:
>
> Can you obtain the localized display of an NSRuleEditor?
>
[...]
> I can't see any way to extract the actual displayed GUI (post-formatting),
> other than obtaining the criteria or displayValues myself, obtaining the
&g
Can you obtain the localized display of an NSRuleEditor?
I have an NSRuleEditor displaying my rule setup. The app has functionality
where it provides a text summary of the search rules that generated the
results. When I call -[NSRuleEditor displayValuesForRow:], that returns the
actual display
objectAtIndex:0]
andDisplayValues:[template objectAtIndex:1] forRowAtIndex:rowIndex];
}
}
Pierre
On Dec 23, 2009, at 12:37 AM, Peter Ammon wrote:
>
> On Dec 22, 2009, at 10:57 AM, Houdah - ML Pierre Bernard wrote:
>
>> When I hit the "+" button on a row in NSRuleEdi
On Dec 22, 2009, at 10:57 AM, Houdah - ML Pierre Bernard wrote:
> When I hit the "+" button on a row in NSRuleEditor, a new row is created. How
> can I take influence on the criteria used for that row.
>
> It seems NSRuleEditor defaults to selecting the first criterion se
When I hit the "+" button on a row in NSRuleEditor, a new row is created. How
can I take influence on the criteria used for that row.
It seems NSRuleEditor defaults to selecting the first criterion sequentially
from the list of possible values. I would much rather have the new row
On Dec 4, 2009, at 1:08 PM, Carter R. Harrison wrote:
> Apple's documentation for NSRuleEditor indicates that it exposes a binding
> named "rows". When I drag an NSRuleEditor onto my NSWindow in IB, I flip
> over to the Bindings tab of the inspector and I don't se
On 2009 Dec 04, at 13:08, Carter R. Harrison wrote:
> Apple's documentation for NSRuleEditor indicates that it exposes a binding
> named "rows". When I drag an NSRuleEditor onto my NSWindow in IB, I flip
> over to the Bindings tab of the inspector and I don't se
Apple's documentation for NSRuleEditor indicates that it exposes a binding
named "rows". When I drag an NSRuleEditor onto my NSWindow in IB, I flip over
to the Bindings tab of the inspector and I don't see any bindings named "rows".
Anybody else manage to setup
There is very little documentation on NSRuleEditor. :(
First, you need to distinguish between a 'criterion' and a 'display
value' although they may be the same kind of classes. The criterion is
a kind of identifier and the display value is what is actually shown.
It is a
It is called. I just figured out a workaround... apparently if I pass
it a string NSRuleEditor will create a menuItem for me. Just tested
and it is working now. The documentation is so bad on this area,
maybe I will post some example code when I get it all worked out...
Thanks for your
On Sep 26, 2009, at 4:09 PM, Jon Hull wrote:
• I can get the NSRuleEditor to display menuItems from a popup
loaded from the XIB (as in the example I found)
• I can load in the plist and confirm that the resulting dictionary/
array structure as well as the return values for the #ofChildren
I must be missing something in the documentation. I am trying to
populate a Rule Editor with choices from a plist file. The plan is
to create and return an NSMenuItem for each string stored in the
corresponding spot in a plist. Here is what IS working:
• I can get the NSRuleEditor to
I may have bitten off more than I can chew, but I'm trying to use
NSRuleEditor as a component to define and edit a Foundation data
structure (general purpose tree of NSArray, NSDictionary, NSNumber
etc.). This might be re-purposing the class a little and it certainly
has little to do
Loukas Kalenderidis wrote:
There's no sample code for NSRuleEditor, right? Or am I missing
something?
I saw someone ask this on a list last year and the answer was "no,
but I've got a sample I can send you" - does anyone have anything
they're willing to share?
On Jun 28, 2009, at 8:29 PM, Loukas Kalenderidis wrote:
There's no sample code for NSRuleEditor, right? Or am I missing
something?
I saw someone ask this on a list last year and the answer was "no,
but I've got a sample I can send you" - does anyone have anything
they
There's no sample code for NSRuleEditor, right? Or am I missing
something?
I saw someone ask this on a list last year and the answer was "no, but
I've got a sample I can send you" - does anyone have anything they're
willing to share? I remember seeing in the "
Hello,
Has anyone achieved to use NSRuleEditor with the "rows" bindings. I
can use it successfully when it's binded to an ivar of a controller
object.
Now i'm trying to bind "rows" to a NSArrayController. The first time I
select an object of the NSArr
On Oct 31, 2008, at 12:17 AM, Houdah - ML Pierre Bernard wrote:
Hi!
NSRuleEditor has the concept of selected rows in its API. I however
see no visual clues of which rows are selected.
Is it possible to subclass whatever cell view is used by the rule
editor to add such a visual clue
Hi!
NSRuleEditor has the concept of selected rows in its API. I however
see no visual clues of which rows are selected.
Is it possible to subclass whatever cell view is used by the rule
editor to add such a visual clue?
Pierre
___
Cocoa-dev
Hi, Laurent. I realize this is quite old, but I have been wrestling with
NSRuleEditor myself for a while. The main difference between NSTableView and
NSRuleEditor is that NSRuleEditor is more accurately understood as a tree or
network whereas NSTableView is a multi-dimensional array, [rows
Hi, all. I've been banging my head against this for some time now and
I'm at a bit of a loss. I've searched the archives and haven't found
much info on NSRuleEditor other than before Leopard was released and
it was taboo because of NDA. Bear with me as I've done so
the rule editor has no rows in
it. Try hooking up a button to its addRow: method.
This helps! However this brings me one question. I donot get exactly
what is the exact purpose of "- (NSInteger)ruleEditor:(NSRuleEditor
*)editor numberOfChildrenForCriterion:(id)criterion withRo
On Jun 19, 2008, at 2:19 PM, Laurent Cerveau wrote:
Hi
Hi I have 2 questions related to NSRuleditor (not NSPRedicateEditor);
- On one side, I can not find the format of a formattingDictionary
for a NSRuleEditor. If I look at the doc the only thing I find is
" The formatting dicti
Hi
Hi I have 2 questions related to NSRuleditor (not NSPRedicateEditor);
- On one side, I can not find the format of a formattingDictionary for
a NSRuleEditor. If I look at the doc the only thing I find is
" The formatting dictionary should have NSString keys and NSString
values. The s
33 matches
Mail list logo