Hello All,
I am using NSMutableSet quite extensively in my app mostly just adding
items to it and reading them (almost never removing). However sometimes it
crashes under very interesting conditions. I can't reliable recreate the issue
but sometimes I get a 'attempted to insert nil'
must be ensured.
Thanks for your response,
Alejandro RodrÃguez
On Mar 16, 2010, at 1:46 PM, Clark Cox wrote:
On Tue, Mar 16, 2010 at 10:28 AM, Alejandro Rodriguez
l.mephi...@gmail.com wrote:
Hello All,
I am using NSMutableSet quite extensively in my app mostly just
adding items
Thats a very interesting take on the problem. I'm going to look into that. Make
sure that isEqual: returns the same both ways. Thanks and I'll let you know
how it goes. I can't really reproduce the issue so I won't know if it's fixe
but at least I'll test the commutativity of the comparison.
You were right, my equality is not transitive.
id ob = [[objectClass alloc] initWithId:@hello];
[ob isEqual:@hello]; //returns YES
[@hello isEqual:ob]; //returns NO
That may very well be the problem... now... I have no idea on how I will make
the second test return YES.
doesn't that depend
]
Thank you very much for Clark, Thomas and Jens.
Regards to all,
Alejandro RodrÃguez
On Mar 16, 2010, at 5:42 PM, Clark Cox wrote:
On Tue, Mar 16, 2010 at 2:18 PM, Alejandro Rodriguez
l.mephi...@gmail.com wrote:
You were right, my equality is not transitive.
id ob = [[objectClass alloc
effective
method swizzling into Apple classes. Despite being replete with
warnings about Don't use it in production code, it IS doable, and
very, very cool, IMHO.
-Dan
On Mar 16, 2010, at 2:18 PM, Alejandro Rodriguez wrote:
You were right, my equality is not transitive.
id ob
Hello all,
I'm having a very odd problem. I'm trying to add a keychain item
using SecKeychainItemCreateFromContent from the security framework. Of
course before trying to add a new item I check if it exists with:
SecKeychainSearchCreateFromAttributes.That's when the odd part comes
in, I
Hello all,
I'm working with a NSCollectionView that has a set of views inside it.
I want the NSCollectionView to handle selections so I need to let it
handle mouse events and yet my own views need to handle both mouseDown
and mouseUp events. The problems arises because if the
Hello all,
I have an issue that is giving me some serious trouble. I have a
NSPopupButton in a NSToolbar, this button has a menu which has the
windowController as its delegate. everything works fine until I try to
edit the toolbar, when I do that the items encode with an NSArchiver
and
Hello all,
I'm trying to measure lots of small text rects which vary in length so
I'm reusing a single NSTextview to save memory and calling
glyphRangeForTextContainer + usedRectForTextContainer to get the used
Rect. Even though it works I find it a little slow because I'm
measuring a
Hello all,
I'm making a custom controller that should behave like a mix of
NSTableView and NSCollectionView but I'm having trouble with makings
bindings for it. I want to be able to make bindings like the ones used
in NSCollectionView (binded to the arrangedObjects keypath of a
Hi,
I have a NSView which hosts a list of NSViews (like an NSTableView
with views instead of cells). It works perfectly except when the list
starts to grow. When I get too many items resizing become sluggish,
and after checking I think it is because it is drawing all the views
all the
Hello,
I hope you all are doing fine. After searching far and wide I didn't
find an answer to my problem and I was hoping someone could guide me
on the right path. I have a layer-backed content view which parents,
among other things, a NSTextView. If I understand correctly when a
NSView
Hello,
I have a NSView that is layer-backed (setWantsLayer:YES) and when I
add it to another subview it works fine. But if I use a CAConstraint
to chage it's location then controls inside the view stop responding
to events. Any clues anyone?
Thanks and regards,
Alejandro
Hello,
Is it possible to programmatically/dynamically find the binding
keypath for a NSTableviewColumn that is binded to a NSArrayController.
I've been looking and thinking for while but so far I don't have much.
Thanks.
___
Cocoa-dev mailing
15 matches
Mail list logo