end all I needed was a little luck
and it was all due to a simple copy & paste error.
Sigh.
Thanks,
--
Seth Willits
> On May 22, 2016, at 10:48 AM, Seth Willits <sli...@araelium.com> wrote:
>
> I'm thoroughly confused and increasingly desperate. *All* of the threads in
>
> On May 22, 2016, at 12:44 PM, Quincey Morris
> <quinceymor...@rivergatesoftware.com> wrote:
>
> On May 22, 2016, at 10:48 , Seth Willits <sli...@araelium.com> wrote:
>>
>> Can anyone think of what I should look for to figure out *why* they're
>> bl
OS X. It happens in all circumstances.
--
Seth Willits
> On May 22, 2016, at 10:59 AM, Alex Zavatone <z...@mac.com> wrote:
>
> Mac, iOS? If iOS, device or sim? IPad?
>
> Try publishing and not running through Xcode.
>
> Sent from my iPhone
>
>> On May
ooking at the system calls in the Instruments trace timeline just isn't
telling *me* anything.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
the
time on the main thread. Use a time profile in Instruments. That's where you're
going to find the best indication of what's going on.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
lly) get that old Mac behavior of
> staggered windows? I think it was 20 pixels down and right.
Window Cascading:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Tasks/SizingPlacingWindows.html
--
Seth Willits
___
two will be used. Which one is undefined.
>
> Not sure what this means? Anyone have any idea?
Ignore it. It has nothing to do with you doing anything wrong.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On Jan 11, 2016, at 8:04 AM, Dave <d...@looktowindward.com> wrote:
> I’ve noticed there are two forms to specify nullability on properties, is one
> preferred syntax over the other?
Judging by Apple's usage, using the property attributes (nullable and nonnull)
are preferred.
--
NSWindow has beginSheet:completionHandler:
There's also NSViewController's presentViewControllerAsSheet:
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
ence/Conceptual/DictionaryServicesProgGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40006152-CH1-SW1
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to th
> On Aug 30, 2015, at 4:09 PM, Ken Thomases <k...@codeweavers.com> wrote:
>
> Turn off Visible at Launch on the window in the NIB.
D'oh! You're right. I mistakenly left on that and that's what was causing it.
Thanks!
--
Seth Willits
___
, the window is already visible
...
[stackView addView:view inGravity:NSStackViewGravityTop];
...
[self.window layoutIfNeeded];
[self.window center];
NSEnableScreenUpdates();
}
--
Seth Willits
On Aug 17, 2015, at 9:13 PM, Seth Willits sli...@araelium.com wrote:
The goal of this project as is, is simple: using an NSTabViewController, add
multiple tab view items where each of the items has a view with its own
autolayout-determined fixed size (as in, either an intrinsic content
pattern we're supposed to be using.
--
Seth Willits
___
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)lists.apple.com
Help
, or vice
versa, this is a bit irritating.
It's the standard behavior that's been in Mac OS for ages. I suggest not trying
to fight it and introduce non-standard behavior.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
could have
resulted in problems that now would be caught by the compiler.
Although it was tedious to add those annotations and validate them (it only
took half a day or so), I feel better for having done it.
--
Seth Willits
___
Cocoa-dev mailing
either two vertical stacks, or a vertical stack of three horizontal stacks,
either works just fine.
http://www.sethwillits.com/temp/upshot/upshot_taR2gwwa.png
All is good!
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
NSTabViewControllerTabStyleSegmentedControlOnTop
shows the segmented control, but there's no border? Using
NSTabViewControllerTabStyleUnspecified + tabView.tabViewType =
NSTopTabsBezelBorder; is as close as I can get, but then the tab view item's
view placement is wrong?
--
Seth Willits
Really? This list has no opinions? That's hard to imagine :-)
--
Seth Willits
On Aug 8, 2015, at 1:15 PM, Seth Willits sli...@araelium.com wrote:
Let's stipulate that _Nullable and _Nonnull are great to have because they
can catch bugs and express API intent better than before, so we
it to call -initWithParameter:
of the parent class.
--
Seth Willits
___
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
instantiating Child. I'm using
xcode 6.3.2, does your version differ?
I'm using Xcode 7 (beta 5) which has a newer version of clang in it than you
have, so it appears this has changed.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
initializer must be
overridden in the subclass?
If the subclass is going to call super's designated initializer via [super
init] then this subclass override would never get called anyway...
What am I missing?
--
Seth Willits
___
Cocoa-dev
] or
[[YourSubclass alloc] convenienceInitializer].
Which brings me right back to my original question. If neither of those can be
called, then implementations of them in YourSubclass could never be called.
Right? If not, then why does YourSubclass need to provide implementations?
--
Seth Willits
this.
Thanks.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your
.
What's the proper way to have these labels all equal width, when they're in
different NSStackViews?
What I want:
http://www.sethwillits.com/temp/upshot/upshot_7Yna0OGF.png
After dumping into stack views:
http://www.sethwillits.com/temp/upshot/upshot_yX7dV6OL.png
--
Seth Willits
these annotations themselves.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe
finally got fed up, wrote some code, and made a website. So, here's v1.
http://www.osstatus.com/
I hope someone besides me finds it useful. ;-)
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
pull
the data from the other source. But whether that's a better fit is questionable
based on circumstances.
--
Seth Willits
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
On Apr 1, 2015, at 3:00 PM, Jonathan Hull jh...@gbis.com wrote:
Have you tried just setting the textContentInset to make room for your
subview?
The inset by definition affects both the top *and* bottom. I only want the top.
--
Seth Willits
something like this?
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update
Ugh. Mail used the wrong address again and bounced this...
--
Seth Willits
On Feb 15, 2015, at 9:54 PM, Seth Willits s...@freaksw.com wrote:
On Feb 15, 2015, at 6:13 AM, Charles Jenkins cejw...@gmail.com wrote:
Is this possible, do you think, to open a window that always hides directly
);
}
return ms;
}
--
Seth Willits
___
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)lists.apple.com
Help
On Feb 5, 2015, at 3:54 PM, Seth Willits sli...@araelium.com wrote:
How would you think about implementing this? It seems like I run into this
need year after year after year.
NSString * NSObjectDescriptionUsingProperties(id obj)
{
unsigned int propCount;
objc_property_t
is to use $ defaults export domain
Just worth mentioning…
--
Seth Willits
___
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
occurs when the LCD Font Smoothing option is
turned off in System Preferences.
Does anyone know if there's a workaround for this? I tried telling the text
field to draw an opaque white background as well (to deal with subpixelness),
but that didn't change anything.
--
Seth Willits
For me, this is 100% repeatable, and 100% fixable by turning on layer-backing.
I'm on 10.10.1, iMac14,2 NVIDIA 780M. I imagine it's a bug, but one that's
worked around by using layer-backing.
I'll be filing a bug report…
--
Seth Willits
___
Cocoa
aren't visible when under the group row.)
--
Seth Willits
___
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)lists.apple.com
Help
On Nov 6, 2014, at 12:20 PM, Seth Willits sli...@araelium.com wrote:
Some subviews of table view cells underneath a floating group row, in a
vibrant table view have strange drawing:
http://sethwillits.com/temp/upshot/upshot_EnYMpCzT.png
Any thoughts?
(In the case of the pink text field
? AFAIK the tracking area of the split view is
not affected by anything in the way you describe, and looking at the
disassembly shows nothing out of the ordinary. The delegate has the ability to
add to the area, but that's it.
--
Seth Willits
the
queue, causing a deadlock.
…
But given that dispatch queues can't do this, what's the solution to this
design problem, i.e. turning an async call into a sync one?
Simply performing the rest of the task in the callback is one way.
--
Seth Willits
the copy to the GPU. I'm
trying to easily avoid that copy.
It seems my only choice is to create an CAOpenGLLayer, manually create a
texture from CVPixelBuffer using the typical gl*() calls, and then draw in the
layer's drawInCGLContext method.
Is there a simpler option?
--
Seth Willits
that.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https
, looking at the implementation of
those NSWindow methods shows they're identical to each other… which makes
absolutely no sense. So obviously that doesn't do what one would expect.
This is leaving me little choice but to do something very specialized and ugly.
Am I missing something?
--
Seth
On Aug 16, 2014, at 7:53 PM, Seth Willits sli...@araelium.com wrote:
This is leaving me little choice but to do something very specialized and
ugly.
Well… the simplest solution is to just disable the key equivalent myself
instead of using NSWindow's methods. I don't like it, but it does
like that property
when using IB.
That's not fixing it, it's just avoiding the problem. Fast has it enabled.
It's on by default in every text view.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
by
boundingRectForGlyphRange:inTextContainer:, the latter of which has a perfectly
reasonable and small glyph range request.)
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
On Jun 10, 2014, at 8:22 PM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
On 10 Jun 2014, at 21:21, Seth Willits sli...@araelium.com wrote:
- (NSString *)typeForContentsOfURL:(NSURL *)url error:(NSError **)outError;
{
if ([url.pathExtension.lowercaseString isEqual:@sql
challenge(!!) any of you to figure this out. ;-)
Projects (and test file):
http://www.sethwillits.com/temp/TextDocumentTest.zip (700 KB)
Demo: (Note at 23 seconds in, the app has locked up — pinwheels aren't visible
in screen recordings)
http://www.sethwillits.com/temp/SlowTextSystemDemo.mov
--
Seth
On Jun 11, 2014, at 5:02 PM, ChanMaxthon xcvi...@me.com wrote:
I believe this involves Cocoa Bindings.
There are no bindings.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
the text.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your
On Jun 11, 2014, at 5:49 PM, ChanMaxthon xcvi...@me.com wrote:
Is editing involved? If not I would render it into HTML and let WebKit render
it.
This is not helpful at all.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
view is fitted to what's been laid out. When background layout
is enabled, I'm not actually sure how it figure out how big to make the text
view, particularly so quickly.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
believe that's true.
The only real option I see is to not use UTIs at all.
--
Seth Willits
___
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
this and have boiled it down
to the root cause and truth. If I'm wrong, please correct me. (I'd like to be
wrong!)
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
stuff! :)
A 7 year-old ticket is extremely disappointing. I will file another.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
The autosaved document “(null)” could
not be reopened. UserInfo=0x608000470540 {NSLocalizedDescription=The
autosaved document “(null)” could not be reopened. }
-
I'm a bit puzzled. Guidance?
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
of the
intricate discussion about thread safety and how singletons are the spawn of
satan, go search the archives and Google.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
loaded.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your
On Jun 8, 2014, at 12:23 PM, Seth Willits sli...@araelium.com wrote:
Whether a window will appear or not has nothing to do with File's Owner. Your
window is probably marked as Release When Closed in IB. It's shown once the
first time, but after closing it it's deallocated and no longer
On Jun 8, 2014, at 6:50 PM, Todd Heberlein todd_heberl...@mac.com wrote:
http://www.toddheberlein.com/blog/2014/6/8/opengl-and-crawling-ants
Use mipmaps, and if that's still not high enough quality, anisotropic filtering.
--
Seth Willits
On May 19, 2014, at 1:30 PM, Seth Willits sli...@araelium.com wrote:
Any ideas on how to get a Cancel button which is both the default button and
responds to escape? Both require setting the button's key equivalent and
there can only be one.
Desired Behavior:
Delete - First
the designated initializer). You ask
for the wc's window at some point, it realizes it doesn't have one, sees
windowNibName, loads from the nib, and calls windowDidLoad. Baddabing badda
boom.
--
Seth Willits
On Jun 7, 2014, at 12:24 PM, William Squires wsqui...@satx.rr.com wrote:
Okay
Any ideas on how to get a Cancel button which is both the default button and
responds to escape? Both require setting the button's key equivalent and there
can only be one.
--
Seth Willits
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa
really want to just shut it up ASAP.
--
Seth Willits
___
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)lists.apple.com
Help
bad live-issues data? It's been known to happen…
often.
--
Seth Willits
___
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
there too? It seems to me you need a
better theory as to why the change you made worked. But really, we're flying
blind here.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
to be able to change the value.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe
easily listen to either
the tableview or the array controller's selection changing, and set the
property yourself. You're not required or expected to binding everything just
because you can in some manner.
--
Seth Willits
___
Cocoa-dev mailing list
selection.selectedWeapon path)
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your
(accidentally) experienced it picking a nib
automatically on OS X, but it was always picking the wrong nib.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
ofObject:object change:change
context:context];
}
@end
--
Seth Willits
___
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
position
actually did change. Ideally, we wouldn't need to call noteNodePositionsChanged
manually at all.
Hopefully that helps anyone else looking for this in the future.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
it animates nicely.
So simply: Each time layer A's presentation layer moves, I need to redraw layer
B.
Ideas? I'm fumbling my way through one and it feels awkward.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
and can demonstrate the approach you've described I'd be very
grateful. I've been at this for hours.
Still trying…
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
loggings all the time… weird.
Do you have any ideas?
Stick a breakpoint on it.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
returned by the delegate method, if
that view has one. That's it. It's the same as assigning
tableCellView.objectValue in that delegate method yourself.
--
Seth Willits
On Jan 7, 2014, at 4:17 PM, Peter magn...@web.de wrote:
Great! Yes, this helps immensely. Thank you very much!
It didn’t
that helps,
Also: http://www.idevgames.com/forums You'll probably get much more help there
than here.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
recently, but they explicitly said it was actually implemented since 10.6. So
you can safely use it as the docs mention. If you're not using the latest
SDK(s) with the API change in it, then you'll simply need to declare the method
yourself in a category and it'll work fine.
--
Seth Willits
not animating. I have narrowed it down to the delegate being
non-nil, even if the delegate implements none of the delegate methods. If I
don't set it, it works fine. This was working fine for yeeears and now in
10.9 it's behaving differently.
What could possibly be happening?
--
Seth
relationships, I set it as the delegate for a few layers because
of the access it already has to needed info.
It's easy enough to work around this case though.
--
Seth Willits
On Dec 18, 2013, at 11:13 AM, David Duncan david.dun...@apple.com wrote:
What is the identify of your delegate?
On Dec
think that will do
it. If you look in the archive you'll see that there's an extra copy because it
stuck in the installation path (within the archive) which messes everything up.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
hierarchy and what is in there.
Inside of the Products directory, the only thing in the subtree should be your
app (nested within the install path folders).
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Are you *only* trying to do audio, or are you trying to render GL as well?
--
Seth Willits
On Dec 13, 2013, at 1:57 PM, Alex Hall mehg...@gmail.com wrote:
Hello list,
I am attempting to use OpenAL to move a sound source around. To do so
smoothly, though, will require a loop, so I can
the position in small increments many times per second —
What does many mean to you? What level of accuracy do you need? How should
this interact with the main thread, etc?
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Dec 10, 2013, at 2:47 AM, Kevin Meaney k...@yvs.eu.com wrote:
I'm probably teaching my grandmother to suck eggs by suggesting this. Have
you looked at using CGLayers?
They're extremely heavy. You definitely don't want them around if performance
is a consideration.
--
Seth Willits
(with the addition of some helpful
methods of your own). You can also add any arbitrary k/v pairs to a layer,
which gives you convenient property/reference storage. It's certainly not
trivial, but when you get it all setup it's not bad.
--
Seth Willits
’ images? (And this just gets into trying to replicate
layers, really, though, and with or without layers you’d have a memory usage
concern to analyze.)
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
sounds like a good idea to me as well.)
--
Seth Willits
___
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)lists.apple.com
Help
this?
Yes. You can specify the bit rate and profile to use when writing.
--
Seth Willits
___
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
indicate that it simply uses the same .icns resource indicated by
CFBundleIconFile in Info.plist. But I’ve seen other non-Apple apps do it, so
apparently it can be done.
Uhh… setImage: ?
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your Subscription
identifier?
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your
] == YES) {
NSLog(@setString worked);
return YES;
}
return NO;
}
You’re putting it in the dragging pasteboard instead of the general pasteboard.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev
.
--
Seth Willits
___
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)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https
is populated
with data.
This sounds like a violation of file coordination and NSDocument
file-activity rules. You really ought to load your document contents in the
initializer.
*initializer*?
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa
When you use —deep, all signing options you specify [on the app bundle] will
apply, in turn, to such nested content [as embedded frameworks, helpers,
resources, etc]” which is not the correct thing that should happen.
https://devforums.apple.com/thread/203126?start=0tstart=0
--
Seth Willits
, the
registration and unregistration becomes very small loops, and handling in
observeValue… looks for the key path in the array and handles all properties
the same.
(I recall there being something subtle and tricky which makes this alternative
non-trivial for my setValue:forKeyPath: override case.)
--
Seth
On Oct 21, 2013, at 12:28 PM, Ken Thomases wrote:
Seems like a cycle to me. … Have the documents hold weak references to the
database.
Agreed.
What reason is there for the documents to have a strong reference to the
database?
--
Seth Willits
remember that's how it works, but at this point it
ain't broke so I'm not going to tempt fate by fixing it. ;-)
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
not always guaranteed to be
bulletproof because those keys could also be influenced by private methods.
--
Seth Willits
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
1 - 100 of 565 matches
Mail list logo