On Jul 10, 2012, at 23:45 , Quincey Morris wrote:
> You can then have 's getter return '[self valueForKey:
> @"privateKey"]'. That solves the infinitely-recursing-getter problem, but
> still returns an immutable observable proxy.
Ugh, that's not right. You have to generate the KVO notification
Thanks to Roland and Quincy for quick and definitive answers. I'll do that.
It still bugs me, in the sense that publishing an NSArray* property seems to
create a (conceptual) contract that while the property may change, that is, a
different NSArray may get assigned to it, the contents of a given
On Jul 10, 2012, at 23:11 , Erik Stainsby wrote:
> @interface RSReactionPlugin : RSTrixiePlugin
>
> // various properties
>
> - (void) loadFromRule: (RSReactionRule*) rule;
>
> @end
Are you sure that's what you mean? According to this you implemented
'loadFromRule:' but according to your log
On Jul 10, 2012, at 23:17 , Rick Mann wrote:
> Is this possible? My first thought is to make a read-only NSArray* property,
> but then it seems that addition or removal of elements to/from that property
> wouldn't get observed; i.e., an NSArray should never change its contents.
No, your first t
That's exactly what you do.
Declare the property as NSArray, that's what your clients see. In most cases
you actually use an NSMutableArray as the backing variable so you can easily
mutate it, you can either return that mutable array as the value of your
property, or you can return a non-mutab
Hi Fritz,
I should have stated that I am building against 10.8, and using ARC, and using
Xcode 4.4DP6. I don't believe the issues I'm facing are all that esoteric so I
don't think the version of XC is likely to effect this situation.
On 2012-07-10, at 10:02 PM, Fritz Anderson wrote:
> On 10
I feel certain people have run into this before, but my Googling didn't turn up
exactly what I was looking for.
I'd like to create a "mutable read-only" array property. I want clients of the
class to be able to observe changes to the *contents* of the array (that is, if
an element is added or r
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 does the implementation of the -loadFromPlu
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 recognized.
More than that, it states that
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 does the implementation of the -loadFromPlugin: method in that class (or a
superclass it inherits it from)
Hi everyone,
Can I bump this because I'm still stuck here. :-) And maybe I can ask in a new
way here's what I'm trying to do:
1. Remove old rows from tableview (let's say 5) with sliding left animation
2. Update array being used as datasource (let's say now it contains 15 items)
3. Resize my
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
I'm overriding NSView's -layout method to arrange a grid of subviews.
I call [gridView setNeedsLayout: YES] when a new subview is added,
which usually results in -layout being called on gridView, but
intermittently -layout is not called (resulting in incorrect subview
positioning.) In contrast, I
On Jul 10, 2012, at 5:01 PM, Erik Stainsby wrote:
> where -[RSRule loadFromPlugin:] copies the values to the rule. This requires
> however that RSRule #imports the RSPlugin header.
>
> I also would like to maintain symmetry by having RSPlugin import the values
> of RSRule, for purposes of rou
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
On Jul 9, 2012, at 11:55 AM, Ken Thomases wrote:
>> Note that in 10.7 and later, you can use TransformProcessType to convert
>> your app back into a background-only or UIElement app, as well.
>
> Fascinating. Does this apply to -[NSApplication setActivationPolicy:] as
> well?
setActivationP
On 9 Jul 2012, at 13:33, Vincent Habchi wrote:
On 5 juil. 2012, at 02:45, Graham Cox wrote:
I read recently that the '^' was the only possible operator that
could be used due to the inherent grammar of C meaning that
anything else would have introduced ambiguity
If I remember correctly,
I can get to the site but it doesn't seem to have been updated since June 25.
--Andy
On Jul 10, 2012, at 2:35 PM, Richard Altenburg (Brainchild) wrote:
> I just tried the website and it seems to work, I searched for my own name and
> even found some posts I was not even aware from many years ag
I just tried the website and it seems to work, I searched for my own name and
even found some posts I was not even aware from many years ago ;-)
You could try to contact Bertrand Mansion, the site owner, on
cocoabuil...@mamasam.com for questions about the status.
[[[Brainchild alloc] initWithN
On Tue, Jul 10, 2012, at 08:01 AM, Kevin Cathey wrote:
> The default value of translatesAutoresizingMaskIntoConstraints for top
> level views in IB is YES on both Lion and Mountain Lion. But this can be
> disabled using the Attributes Inspector and uncheck "Translates Mask Into
> Constraints"
Unfo
On Jul 10, 2012, at 12:56 AM, Jonathan Taylor wrote:
>>> In practice, NSOperationQueue probably releases the block when it's done
>>> with it
>>
>> I'm curious about your use of the word "probably" here. Can you explain?
>
> This is probably not what the OP had in mind, but I might mention that
Thanks a lot, Kevin. I didn't realize it was only for top-level objects; now I
see it. It is correct that I should turn off
translatesAutoresizingMaskIntoConstraints when using auto-layout?
Thanks again
Marc
El jul 10, 2012, a las 11:01 a.m., Kevin Cathey escribió:
> The default value of trans
The default value of translatesAutoresizingMaskIntoConstraints for top level
views in IB is YES on both Lion and Mountain Lion. But this can be disabled
using the Attributes Inspector and uncheck "Translates Mask Into Constraints"
Kevin
On Jul 9, 2012, at 12:09 PM, Rick Mann wrote:
>
> On Ju
Hello everyone.
My main window restricts the user to a range of window sizes, using
[myWindow setContentsMaxSize:maxSize]
[myWindow setContentsMinSize:minSize]
The minimum size prevents corruption of some complicated views loaded from
several nib files.
When the user presses "fullscreen" butt
>> In practice, NSOperationQueue probably releases the block when it's done
>> with it
>
> I'm curious about your use of the word "probably" here. Can you explain?
This is probably not what the OP had in mind, but I might mention that I've
seen situations where autoreleases associated with NSOp
>> In practice, NSOperationQueue probably releases the block when it's done
>> with it
>
> I'm curious about your use of the word "probably" here. Can you explain?
This is probably not what the OP had in mind, but I might mention that I've
seen situations where autoreleases associated with NSOp
On 9 Jul 2012, at 6:35 PM, Shane Stanley wrote:
> On 10/07/2012, at 2:03 AM, Fritz Anderson wrote:
>
>> In practice, NSOperationQueue probably releases the block when it's done
>> with it
>
> I'm curious about your use of the word "probably" here. Can you explain?
The documentation for -addOpe
On Jul 10, 2012, at 12:51 AM, Graham Cox wrote:
>
> On 10/07/2012, at 4:37 PM, Robert Monaghan wrote:
>
>> Ok,
>>
>> So in the meantime, I have a bunch of customers filing bugs/feature requests
>> to implement this ability..
>> (Its a popular request, shall we say..)
>>
>> Is this something t
Sorry, this is O.T. a little. Does anyone know what's going on with
Cocoabuilder.com? I haven't been able to get there for more than a month, on
work or on home computers. But Google shows a cached page with a recent date,
which seems weird. Is there any other similar site to browse topics easie
Ugh, never mind. The graphic files hadn't been added to the project. I
would've expected a warning message to the console or a blank button, but
got neither.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or m
I have a screen that can be flipped over to show a map, and from the map
the user can invoke a detail controller for an item on the map. So I
instantiate a navigation controller, make the map controller its root-view
controller, and then invoke it:
- (void)showMap
{
StashMapController* mapContr
31 matches
Mail list logo