I'm certain this is a trivial error on my part, but my custom document class
will not write the file to the local filesystem. I have several other files
which I can write, and I can write the content when I use an NSString to encode
the text first. But once I init my own document, setup the at
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
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 within the structur
Hello list,
Seeking clarity about the display hierarchy:
I have an application for a form which would have several variant sections, the
exact configuration of which would be established in context at run time. I'm
thinking to setup the variants as views, then swap them in using a (?)
ViewCon
r … controlling controller.
>
> Bindings can be your friend here. In simple cases, having an
> NSObjectController link between controls and .representedObject can do a
> lot for you.
>
>— F
>
>
--
--
Erik Stainsby
Time Dwarf, Experience Engineer
RoaringSky Software
hould this sort of communication be handled using
NSNotificationCenter services?
Advice?
--
Erik Stainsby
Experience Engineer
RoaringSky Software
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comme
I am perplexed.
I have two windows. A is the source, B is the destination. A context menu
action in A sets a string value on a message. The message arrives in window B,
in a view which sets the stringValue of an NSTextField. I then read the
stringValue back and echo it via NSLog() to ensure i
On 2012-02-04, at 8:38 PM, Quincey Morris wrote:
> This is all very code-smelly.
Here is a longer and more complete explanation of the circumstances.
MainMenu.xib
web browser window (A)
object references to App Delegate, Web Delegate and Rule Editor (WC)
The web delegate
Is it commonplace to have to copy the compiled output of one's own framework
into a deployment location ? I'm also not finding where to setup a search path
for such custom framework once placed. Is there a more appropriate list to be
asking for this ? And of course the documentation I can find
[myPUBtn setMenu:menu] accepted in MyAppDelegate but does not accept
setMenu:menu when relocated to an NSWindowController. I'm thinking there is
something I have missed about the loading sequence.
When all the code resided in MyAppDelegate I could load a list of plugins,
build a menu item for
Michael gave me the clue. I still had the window's owner as AppDelegate. When I
corrected that to the WindowController all is well. Details details.
~ Erik
On 2012-02-18, at 9:55 AM, Keary Suska wrote:
> On Feb 18, 2012, at 8:37 AM, Erik Stainsby wrote:
>
>>
>>
And what does the list feel about the following form (which I think I picked up
from a Wil Shipley article):
if(nil != (self = [super init]))
Myself I find it elegantly brief and imminently readable.
Time Dwarf,
Roaring Guy
On 2012-02-24, at 9:30 AM, David Duncan wrote:
> On Feb 24, 20
I tap a column header to resort the view, presto.
Content.
What am I missing ?
- (void) appendRule:(NSNotification *) note {
RSTrixieRule * rule = [note object];
[_rules addObject: rule];
[table reloadData];
[table setNeedsDisplay:YES];
}
Erik Stainsby
:(NSNotification*)note {
RSTrixieRule * rule = [note object];
[_rules addObject: rule];
[table reloadData];
[table setNeedsDisplay:YES];
}
@end
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the
setNeedsDisplay: call;
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
On 2012-02-29, at 12:25 AM, Graham Cox wrote:
>
> On 29/02/2012, at 5:47
Supplemental: the table only renders once. However many objects are in the
_rules array are presented when any column header is activated. Then the table
freezes up. Additionally items can be added to the array; nothing more happens
with the table view.
Erik Stainsby
erik.stain
I think generally a firewall ought to return an http status code of 302
redirected which you could probably key off for a login handler.
Time Dwarf,
Roaring Guy
On 2012-03-05, at 11:21 AM, Alex Zavatone wrote:
> I just found out why some JSON parsing was failing, the data returned from
> the
,@"value",nil]];
[tableView reloadData];
}
@end
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
__
errant || 0 and the table is behaving correctly. Thanks for
proofing my code.
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
On 2012-03-09, at 1:38
).
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
On 2012-03-09, at 1:32 PM, Donald Hall wrote:
> Thanks to Mike and Graham for the repl
ator
preferredEdge:NSMinYEdge];
}
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
___
Coc
lf the vertical
dimension.
Erik Stainsby
erik.stain...@roaringsky.ca
-
Consistently place constants on the LHS of an expression: you cannot
accidentally assign when you meant to compare.
On 2012-03-17, at 1:10 PM, Fritz Anderson wrote:
> On 17 Mar 2012, a
On Nov 22, 2013, at 10:15 AM, Jeremy Pereira wrote:
>
> On 21 Nov 2013, at 00:01, Kyle Sluder wrote:
>
>> On Wed, Nov 20, 2013, at 03:26 PM, koko wrote:
>>> How does one turn this:
>>>
>>> file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes
>>
>> http://
Small bit if knowledge to share. The stroke of the border is drawn centred over
the line of the border. So your described 4pt line would intrude 2pts into the
bounded area. I'm know if that will help any with understanding the
left-shifting you have observed.
Erik Stainsby
erik.
g to remove the viewController from within the
viewController - a lifting-by-the-bootstraps problem ? Should I make the
RSWindow do the removal/deletion ? Or AppDelegate ?
Erik Stainsby
erik.stain...@roaringsky.ca
___
Cocoa-dev mailing list (Cocoa-dev@
];
boundingBox = nil;
}
}
[ … ]
Any thoughts and suggestions welcomed.
Erik Stainsby
erik.stain...@roaringsky.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
FrameTopLeftPoint: popoverHeader.frame.origin];
currentPanel = panel;
[locator setCurrentPanel: panel];
[popover showRelativeToRect:[locator bounds] ofView:locator
preferredEdge:NSMaxXEdge];
}
Any help appreciated. Thanks
The menu portion of a combo box is just that an NSMenu so you ought to be able
to everything you can with a regular menu item.
Erik
On 2012-04-23, at 5:53 PM, koko wrote:
> I have been spelunking all afternoon with mixed results. Some say I can put
> an image and text in an NSComboBoxCell.
I have had this happen when I have forgotten to declare my action method in the
public header.
Erik Stainsby
erik.stain...@roaringsky.ca
-
On 2012-05-10, at 4:24 PM, koko wrote:
> I have a menu item connected to an action in First Responder;
>
Could you please paste the a copy of the method in a message? It is far easier
to help you debug code which we can see than a description of something we
cannot see.
Erik Stainsby
erik.stain...@roaringsky.ca
-
On 2012-05-10, at 5:07 PM, koko wrote
I think the approach you would use is to employ -[NSWorkspace] to launch the
other app on your behalf.
Sent from my iPad
On 2012-06-06, at 1:58 PM, koko wrote:
> Is it possible to call a method in an app that is not running causing it to
> load?
>
> -koko
>
> _
So if I understand your pattern, you are managing a single "product PDF" which
is constructed by your app based upon metadata which describes the specific
component PDFs etc that the user has chosen. Those component PDFs reside
elsewhere than within your app space, correct?
On 2012-06-23, at
if([rule hasCallbackField]) [self.callbackField
setStringValue:rule.callbackField];
}
@end
---
End of message.
Erik Stainsby.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
lf.filterPlugins = [loader
loadPluginsWithPrefix:@"Filter" ofType:@"bundle"];
self.reactionPlugins= [loader
loadPluginsWithPrefix:@"Reaction" ofType:@"bundle"];
loader = nil;
}
return self;
}
[…]
@end
On 2012-07-06, at 12:46 PM, Greg Parker wrote:
> On Jul 5, 2012, at 7:50 PM, Erik Stainsby wrote:
>> My project employs a framework which loads several plugins. When the user
>> interacts with these plugins s/he generates an intermediate abstraction of
>> the plugin c
On 2012-07-06, at 5:11 PM, Greg Parker wrote:
> On Jul 6, 2012, at 4:48 PM, Erik Stainsby wrote:
>> 2012-07-04 20:44:02.980 Trixie[422:303]
>> -[RSReactionRule(RSReactionRuleFromPlugin) loadFromPlugin:]- [0015]
>> plugin.action: addClass
>> 2012-07-04
On 2012-07-06, at 5:28 PM, Erik Stainsby wrote:
> On 2012-07-06, at 5:11 PM, Greg Parker wrote:
>
>> On Jul 6, 2012, at 4:48 PM, Erik Stainsby
>> wrote:
>>> 2012-07-04 20:44:02.980 Trixie[422:303]
>>> -[RSReactionRule(RSReactionRuleFromPlugin) loadFro
l difference in the result. Still not recognized. Which
is why I started to think about scope issues.
>
> On Jul 6, 2012, at 7:48 PM, Erik Stainsby wrote:
>
>>
>>
>> On 2012-07-06, at 12:46 PM, Greg Parker wrote:
>>
>>> On Jul 5, 2012, at 7:50 PM,
I have two classes, and a model object - RSPlugin, RSExpression, and RSRule -
which share the same data model.
I have thought to have the classes provide a method which can be used to
initialize the RSRule object so:
RSRule * rule = [[RSRule alloc] init];
[rule loadFromPlugin: currentPlugin];
w
I have a set of plugins which I load via a custom framework. The plugins load
and behave correctly in the UI.
I have a set of corresponding "rule" objects, one for each class of plugin. A
plugin may load data from a rule, and a rule may load data from a plugin:
-[RSRule loadFromPlugin:(RSPlu
On 2012-07-10, at 9:44 PM, Jens Alfke wrote:
>
> On Jul 10, 2012, at 9:03 PM, Erik Stainsby
> wrote:
>
>> 2012-07-10 20:42:39.792 Trixie[41453:303] -[RSReactionRule loadFromPlugin:]:
>> unrecognized selector sent to instance 0x1018961b0
>
> What
wrote:
> On 10 Jul 2012, at 11:03 PM, Erik Stainsby wrote:
>
>> Any advice on how I could narrow down what is causing this? I have tried
>> using repondsToSelector: but this doesn't do anything but confirm what the
>> error message states, that the selector is not
On 2012-07-10, at 11:47 PM, Quincey Morris
wrote:
> On Jul 10, 2012, at 23:11 , Erik Stainsby wrote:
>
>> @interface RSReactionPlugin : RSTrixiePlugin
>>
>> // various properties
>>
>> - (void) loadFromRule: (RSReactionRule*) rule;
>>
>
On 2012-07-11, at 7:13 AM, Fritz Anderson wrote:
> On 11 Jul 2012, at 1:33 AM, Erik Stainsby wrote:
>
>> I should have stated that I am building against 10.8, and using ARC, and
>> using Xcode 4.4DP6
>
> Then I can't help. Aside from the fact that my proble
You need to use -loadHtmlString:
Time Dwarf,
Roaring Guy
On 2012-07-13, at 4:51 AM, Vavelin Kevin wrote:
> Hi there,
>
> I want to "refresh" my webView when I add something that i've write in
> javascript with
> stringByEvaluatingJavaScriptFromString: .
>
> But when I call the method my ht
This one has to be pretty simple.
There is a category of ABPerson which provides this interface. So what have I
missed ?
OSX, 10.7
#import "RSAppDelegate.h"
#import
#import
@implementation RSAppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *) notification {
addres
My mistake. 'properties' is a class method, returning the keys; not an
instance method, as I was using it below.
On 2012-07-14, at 7:01 PM, Erik Stainsby wrote:
> This one has to be pretty simple.
> There is a category of ABPerson which provides this interface. So what
I'm working with the text from a multiline NSTextField. When it arrives in the
delegate it is represented in an NSBigMutableString. Casting this to a
NSAttributedString seems to have no effect on the actual class being used by
the NSString cluster.
I can't seem to find any documentation on NSB
lue since it is
being rep'd by an impenetrable class clustered object.
~ Erik
On 2012-07-17, at 5:11 PM, David Duncan wrote:
> On Jul 17, 2012, at 4:58 PM, Erik Stainsby
> wrote:
>
>> I'm working with the text from a multiline NSTextField. When it arrives in
lidly formatted. I think now that would be better
done/ought to be done in the -control:textShouldEndEditing: which actually
gives me the fieldEditor to work with.
Thanks for your time.
On 2012-07-17, at 5:20 PM, Ken Thomases wrote:
> On Jul 17, 2012, at 6:58 PM, Erik Stainsby wrote:
&
My project is going to require several rounds of string parsing, and I'm an old
perl hand, so I naturally want to add a regex wrapper to my workspace. Anyone
got a favorite to recommend ?
Erik
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
End of thread.
(Now looking for better indexed third party documentation…)
On 2012-07-18, at 8:04 PM, Conrad Shultz wrote:
> NSRegularExpression?
>
> (Sent from my iPhone.)
>
> --
> Conrad Shultz
>
> On Jul 18, 2012, at 19:59, Erik Stainsby wrote:
>
>&g
Jonathan,
Could you not watch the serial queue you mentioned? When it is empty, release
the progress window.
- Erik
Sent from my iPad
On 2012-07-19, at 4:02 AM, Jonathan Taylor wrote:
> this nasty NSAutounbinder thingy then jumps in and re-retains it in some
> evil under-the-covers
The NSSortDescriptor documentation seems especially opaque to me tonight.
Surely there is a useful short description somewhere … ? *whimper*
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator commen
This has me thinking that to get the alpha sorted list of keys from a
dictionary I should be passing the keypath as the param for
sortDescriptorWithKey: and not trying to externalize the keys into an array
first … ?
On 2012-07-31, at 10:13 PM, Graham Cox wrote:
>
> On 01/08/2012, at 3:07 PM
08-01, at 3:20 AM, Mark Woollard wrote:
> Can you give a bit more info on what is stored in your NSArray? NSString?
> NSManagedObject? NSDictionary? Something else?
> Regards
> Mark
>
> On 1 Aug 2012, at 06:01, Erik Stainsby wrote:
>
>> The NSSortDescriptor do
Would it not be more in keeping with sandbox culture to ask the user for
permission to read the Mail.app preferences at run time? Thereby obviating the
need to maintain a supported under the hood path to the same info. It could be
a single request made once during first run.
~ Erik
Sent from
I do so wish there was a Complete Idiot's Guide to Cocoa Table Bindings … The
very flexibility which I know must be their great virtue tends to obscure the
clear path from my sight more often than not. Forest, trees, trees, forest …
Oh! Something shiny!
---
So tonight I have an NSArrayContr
Thank you gentlemen, both, for taking the time to educate me. I have lots to
rethink in my "design", such as it was.
On 2012-08-03, at 12:27 AM, Quincey Morris
wrote:
> On Aug 3, 2012, at 00:16 , Kyle Sluder wrote:
>
>> Hmm, now that Quincy's pointed it out, it looks like you are indeed usi
My current project is built around a master-detail style interface: the primary
record owns the window content, while subviews display related content from
various sources. My problem is that the tableViews which display these
subordinate lists seem to mess up the responder chain's sequence for
Cox wrote:
>
> On 06/08/2012, at 11:38 AM, Erik Stainsby wrote:
>
>> My first higher-level question then is how I ought to be going about
>> establishing the tab-key behaviour sequence I want to achieve?
>
>
>
> Have you investigated whether -[NSWindow recalc
Is it the case that setting up a trackingArea over a given control is the
easiest way to detect the arrival of focus on a given control?
I'm thinking in terms of tab-advancing keyboard activity here, where the user
advances onto a modestly complex screen region (a postal address displayed in
N
>From the docs:
Returns the scale factor applied to the window. (Deprecated. Use
convertRectToBacking: and backingScaleFactor instead.)
On 2012-08-11, at 5:55 AM, Gerriet M. Denkmann wrote:
> userSpaceScaleFactor
___
Cocoa-dev mailing list (Cocoa
On 2012-08-10, at 7:30 PM, Andy Lee wrote:
> If there's one specific control class that you want to detect focus for, you
> can subclass it and override becomeFirstResponder. If super returns true, do
> your thing.
>
> If you want to apply this to a bunch of varied controls, you might want to
An argument on the internet is like arguing with an idiot.. Even if you win you
were arguing with an idiot.
~ Erik
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact t
XML attributes are properly formed when they are double-quoted, not single
quoted. This is why the default for NSXML is double-quoted. It is likely that
what you need to do is encode the x3d MFString before using it as the attribute
body, perhaps as simply as slash escaping the quotes: attr="\
Hello all,
I have a view-based table in which there are four distinct row types,
representing distinct object types which may appear. The tableRowViews are in
the nib and represented in the code here as xxxCellView entities.
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger
Thanks for the thought Fritz. Removing my ham-handed attempt to purge the
tableView of its rows indeed resolved the out of range error.
On 2012-08-18, at 8:24 AM, Fritz Anderson wrote:
>> My expectation is that I ought to be able to clear the table (iterating
>> through the rows and applying -
This is either a stupid question or it is trivial. I just haven't run across
the situation before.
My app has two windows, ergo two windowControllers. I would like to toggle
between them from a single menu item, ergo a single method handler. However
that requires that the two window controller
On 2012-08-20, at 9:15 PM, Jens Alfke wrote:
>
> On Aug 20, 2012, at 8:53 PM, Erik Stainsby
> wrote:
>
>> My app has two windows, ergo two windowControllers. I would like to toggle
>> between them from a single menu item, ergo a single method handler. However
&
I have a situation where my data contains arrays of values: a list of phone
numbers belonging to a person object. I'd like to be able to display the
numbers in a single cell contained in a nested table of editable fields. Am I
insane?
I've been circling trough the hierarchies trying to accompl
I am building out custom tableCellViews and have a case in which I would like
to show the NSUser silhouette from the standard media library.
Is there a method for doing this in code? The Xcode docs organizer is not
providing anything related.
TIA
Erik Stainsby
erik.stain...@roaringsky.ca
store. Seems like a good locale to
capture undo requirements. However it also seems like this is more a controller
logic piece of the puzzle and as such doesn't really belong in the model
classes.
Advice from those who know would be much appreciated.
Erik Stainsby
erik.stain...@roarings
Forgot to mention this is not a NSDocument based app, nor am I using CD.
OSX 10.8/deploying 10.7
Erik Stainsby
erik.stain...@roaringsky.ca
On 2012-09-02, at 3:10 PM, Erik Stainsby wrote:
> I am questioning where in the app I ought to locate my UndoManager code:
>
> 1) in the mode
What autosave really needs is a reliable differential incremental save engine.
This could cache diffs and perform a merge during "slow moments" of user
inactivity. I wonder if this is where Apple might be heading with this
technology.
~ Erik
Sent from my iCapsule somewhere in orbit
On 2012-0
I keep wondering as I'm watching this thread if it might be easier and more
closely match the extensibility of the "row of color views" Chuck is trying to
create if he were to use an NSMatrix instead of the full blown NSTable ?
Sent from my iCapsule somewhere in orbit
On 2012-09-11, at 11:23
Same place as earlier. Second row input field in the properties inspector. Make
sure the column is the active node.
Erik
Roaring Sky
On 2012-08-24, at 2:31 PM, Gerd Knops wrote:
>
> On Aug 24, 2012, at 4:27 PM, Laurent Daudelin
> wrote:
>
>> Am I missing something? Where do you set the co
On 2012-09-13, at 9:02 AM, Koen van der Drift wrote:
> On Sep 13, 2012, at 11:44, Ken Thomases wrote:
>
>> On Sep 13, 2012, at 7:40 AM, Koen van der Drift wrote:
>>
>>> When I draw two lines using NSBezierPaths, both of which have an alpha
>>> value of let's say 0.5, the alpha value appears to
y own lookup reference and
to translate them as I see fit ?
Erik Stainsby
erik.stain...@roaringsky.ca
___
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
one of the other variants of the actual value of the key, not the value it
refers to.
Clearly I am failing to understand where these strings are being stored.
Erik Stainsby
erik.stain...@roaringsky.ca
On 2012-09-13, at 9:04 PM, Jerry Krinock wrote:
>
> On 2012 Sep 13, at 19:45, Erik
n and hanging a menu from it.
I'd like to know where on screen my item's image is so that I can place a panel
window adjacent to it.
Advice?
Erik Stainsby
erik.stain...@roaringsky.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
dow] later on? I see
nothing contractual. It works, and I am glad, but I don't know if I can trust
it.
Erik Stainsby
erik.stain...@roaringsky.ca
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mo
That is the one. Found it the other day. Tanks Vince.
Erik Stainsby
erik.stain...@roaringsky.ca
On 2012-09-21, at 1:33 PM, Vince DeMarco wrote:
>
> On Sep 13, 2012, at 7:45 PM, Erik Stainsby
> wrote:
>
>> Hello folks,
>>
>> So the AddressBook framework
t;Oh
yes, just do x" moment.
Erik Stainsby
erik.stain...@roaringsky.ca
___
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
On 2012-09-21, at 4:06 PM, Erik Stainsby wrote:
> … and I can't stop it. Argh.
>
> There is nothing expressed in my code which addresses the searchField's size
> methods:
> – searchTextRectForBounds:
> – searchButtonRectForBounds:
> – cancelButtonRectForBounds:
CTION__, @" not
equal",oldVal,newVal);
}
else {
NSLog(@" [%04d] %s %@: %@: %@",__LINE__,__PRETTY_FUNCTION__, @" is
equal",oldVal,newVal);
}
}
}
@end
The case illustrated here ought to be showing me distinct values when I enter
> @"SNPreferencesViewController.xib"
Don't included the xib file extension.
Erik Stainsby
erik.stain...@roaringsky.ca
On 2012-10-05, at 8:38 PM, koko wrote:
> Ok, I have done this:
>
>m_SNPreferencesViewController =
> (SNPreferencesViewContro
Column identifier]] owner:self];
cellView.textField.stringValue = @" ";
[cellView.textField bind:@"stringValue" toObject:person
withKeyPath:[tableColumn identifier] options:nil];
return cellView;
}
Any advice apprecia
Hello all,
I am working my way through trying to understand the correct use of bindings
for a non-trivial model.
The model I am working on is derived from the contacts database ABPerson. I am
unclear how to bind to the elements of a multiple entry list.
A person has a handful of direct pro
Hi list,
It seems to me this ought to be a trivial function of the OS, but I can't find
anything that tells me how to go about this.
I have a window which contains half a dozen text fields and three table views.
I'd like to be able to use a single key-combo to trigger an insert into the
curre
Surely you could make the specific email client a Preference the user sets
once, and then handle the act of sending with one menu item? Not any help with
the sandbox issue however...
Sent from my iCapsule somewhere in orbit
On 2012-11-01, at 7:43 AM, Martin Hewitson wrote:
>
> On Nov 1, 201
Following an example from Stephan Kochan's book I concocted the following
method, which alas does not work:
- (IBAction) updateIncrementalSearch:(id)sender {
NSString * term = [sender stringValue];
if(term) {
NSMutableArray * matchResults = [NSMutableArray new];
Quincey wrote:
> Perhaps "matches" should really be an array-valued simple property as this
> code suggests, but it's far more usual to have an indexed property backed by
> an array variable.
Are you saying hereby that I ought to be building an indexSet rather than
duplicating the objects? a
Hello list,
I have the following code as the action for an NSSearchField (lifted liberally
from a CIMGF article)):
- (IBAction) updateFilter:(id)sender
{
// clobber any previous value - from SO article - has no effect
[self.peopleArrayController setFilterPredicate: nil];
nother one here? peopleArrayController should
> just point to the one from the NIB.
>
> Regards,
> Ken
>
> On Nov 22, 2012, at 9:38 AM, Erik Stainsby wrote:
>
>> And then I stuck in
>>
>> NSAssert(self.peopleArrayController, nil);
>>
>> whic
I have a windowController which swaps two views, a list versus a single
record's detail view.
The detail view contains a hierarchy of arrayControllers which each support
table views.
At the top level of the detail view is an arrayController which contains the
current selection from the list vi
May I ask where the actual implementation ?
Sent from my iCapsule somewhere in orbit
On 2012-12-18, at 6:31 AM, Jerry Krinock wrote:
> I am so stumped as to why llvm cannot see the declaration of a method in a
> protocol that I have reproduced the issue in a small test project. An error
> o
I'd also recommend Scott Stevenson's "Cocoa and Objective-C: Up and Running"
and follow that with Stephen G. Kochan's Programming in Objective-C"
$0.02
Sent from my iCapsule somewhere in orbit
On 2013-01-16, at 10:14 AM, Scott Ribe wrote:
> I know someone who's developed an interest in deve
98 matches
Mail list logo