On Wed, Jan 23, 2013, at 11:14 PM, Nick Rogers wrote:
> - (void)updateTrackingAreas
> {
> if (trackingArea) {
> [trackingArea release];
> trackingArea = nil;
> }
I was just working with tracking areas today, and I've come to the
conclusion that this pattern is wrong. There'
Hi,
I have just a tab view on my main window and I switch tabs based on user input.
First tab has three hover buttons and on clicking one of them, it takes to
another tab which two hover buttons.
After clicking one of the two hover buttons, I switch tab and show a table view
and then show and en
On Jan 23, 2013, at 22:38 , Jerry Krinock wrote:
> My theory is that, on these rare occasions, the thread running
> -unlockWithCondition: would run enough to unblock the other thread, and,
> oddly but legally, the system would then pause this thread before this method
> had returned, and run t
On Jan 23, 2013, at 8:17 PM, Matt Neuburg wrote:
> It may be that the height is right despite the narrowed width, but since the
> narrowed width is unexpected, it would be nice to be assured of this. m.
Why is the narrowed width unexpected? You told the text system to use 20pt
margins on each
On 24/01/2013, at 4:48 PM, Nick Rogers wrote:
> The text fields to update are on the main window.
> The code is simple. just updating the text fields on the main window, using
> setStringValue:@"some string".
> Now I am doing this using performSelectorOnMainThread:.
Okaaayyy.
This i
Hi,
Sorry if I caused any confusion.
But I don't know if _updateTrackingAreas would or would not be called by the
system for its own UI display mechanism even if I don't use it in code.
Best,
Nick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
I received a crash report from a user indicating EXC_BAD_ACCESS in
-[NSConditionLock unlockWithCondition:]. Since the 'condition' parameter is an
integer, I think the only explanation is that the receiver must have been
deallocced. That didn't seem possible at the time when -unlockWithConditi
Hi,
Thanks for the replies.
Sorry I didn't provide enough info in the beginning.
Here it is.
On 24-Jan-2013, at 9:55 AM, Graham Cox wrote:
>
> On 24/01/2013, at 1:30 PM, Nick Rogers wrote:
>
>> Hi,
>>
>> I was updating a few textfields from my sheetDidEnd:…. method.
>> Just wondering if tha
On 24/01/2013, at 1:30 PM, Nick Rogers wrote:
> Hi,
>
> I was updating a few textfields from my sheetDidEnd:…. method.
> Just wondering if that was causing the crash (UI related error in main
> thread).
If written correctly, the sheetDidEnd method is free to access stuff still in
the sheet.
I should have been explicit that this is iOS. Sorry.
It may be that the height is right despite the narrowed width, but since the
narrowed width is unexpected, it would be nice to be assured of this. m.
-
Sent from my iPad, but I am not a dork. Really.
On Jan 23, 2013, at 7:18 PM, Keary S
On Jan 23, 2013, at 9:30 PM, Nick Rogers wrote:
> I was updating a few textfields from my sheetDidEnd:…. method.
> Just wondering if that was causing the crash (UI related error in main
> thread).
What happens if you *don't* update the text fields in your sheetDidEnd method?
Does it still crash
On Jan 23, 2013, at 7:29 PM, Matt Neuburg wrote:
> The docs on boundingRectWithSize:options:context: say:
>
> "Typically, the renderer preserves the width constraint and adjusts the
> height constraint as needed."
>
> Yes, that's what I was hoping for. But in fact I'm getting a much narrower
Yes, the hashes do change when I add the model mapping.
I ended up writing an NSEntityMigrationPolicy for a parent object that copies
these child entities.
In addition, I also opened up a DTS incident with Apple. The gentleman from
Apple observed that I had an interesting difference between mod
Hi,
I was updating a few textfields from my sheetDidEnd:…. method.
Just wondering if that was causing the crash (UI related error in main thread).
Thanks,
Nick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
The docs on boundingRectWithSize:options:context: say:
"Typically, the renderer preserves the width constraint and adjusts the
height constraint as needed."
Yes, that's what I was hoping for. But in fact I'm getting a much narrower
width than what I supplied.
I suspect that the problem here
On Jan 23, 2013, at 17:01 , Graham Cox wrote:
> The above works correctly, but below, which I thought should do the same,
> does not, if the layer.transform property is not the identity matrix:
>
>
> CGPoint anch = layer.anchorPoint;
> CGRect br = layer.bounds;
> CGPoint pos
On 23/01/2013, at 5:41 PM, Graham Cox wrote:
> To create a transform that supposedly will transform from the superlayer TO
> the layer, and I then invert it to go back the other way. It works in the
> simple case, but a rotation transform upsets things. I've tried pretty much
> every combinat
On 24/01/2013, at 3:40 AM, Koko wrote:
> The question: Is this sliding view an animated split view or some other form
> of view animation?
It definitely doesn't look like a split view, since it appears on top of the
underlying view, not alongside. It's probably just another view.
--Graham
In the album view if you select and begin to drag a view slides out from the
right with drop destinations. The question: Is this sliding view an animated
split view or some other form of view animation?
-koko
Sent from my iPad
___
Cocoa-dev mailing l
On 1/23/13 10:25 PM, Keary Suska wrote:
This works reasonably well but I wonder how others have fixed this problem.
I feel returning NSMultipleValuesMarker is a hack which works only because
NSComboBox thinks it's a legitimate return value (or doesn't care). The
fact that I can't clear properties
On Jan 23, 2013, at 10:28 AM, Markus Spoettl wrote:
> in my app, I can edit a selection of model objects in a window which that
> consists of NSTextFields and NSComboBoxes to edit model properties, all via
> binding to an NSArrayController's selection proxy.
>
> When I'm editing a multi-select
On 1/23/13 9:51 PM, Quincey Morris wrote:
When I'm editing a multi-selection that has property values are different for
individual model objects in the selection, I get an undesired behavior from
NSComboBox:
When I tab over an NSComboBox which displays the multiple-values placeholder,
upon exiti
On Jan 23, 2013, at 09:28 , Markus Spoettl wrote:
> in my app, I can edit a selection of model objects in a window which that
> consists of NSTextFields and NSComboBoxes to edit model properties, all via
> binding to an NSArrayController's selection proxy.
>
> When I'm editing a multi-selecti
Following up on my own question, NSSavePanel can be made to “work” under
PowerBox with a UTI that has no file extension, but it does get upset with
itself and fail an assertion when it elects to automatically turn on the "hide
extension" checkbox in response to the user changing the file type. T
Hello,
in my app, I can edit a selection of model objects in a window which that
consists of NSTextFields and NSComboBoxes to edit model properties, all via
binding to an NSArrayController's selection proxy.
When I'm editing a multi-selection that has property values are different for
indi
On 23 Jan 2013, at 5:40 AM, Jean Suisse wrote:
>>
>> Hmm. Maybe not. I want to keep the generated variable name legible.
>
>> I think I will have to introduce an intermediate NSTextView that filters and
>> displays the natural language input.
>> The user can then modify the variable name if ne
On Jan 23, 2013, at 8:22 AM, Uli Kusterer wrote:
> @protocol UKCanInitWithManagerProtocol
> -(id) initWithManager: (Foo*)inManager;
> @end
>
> ...
>
> if( [myClass respondsToSelector: @selector(initWithManager:)] )
> myObj = [(id)[myClass alloc]
> initWithManager: self];
> else
> my
On 23 Jan 2013, at 13:07, Uli Kusterer wrote:
> On Jan 23, 2013, at 2:18 AM, jonat...@mugginsoft.com wrote:
>> Hmm. Maybe not. I want to keep the generated variable name legible.
>
> You need to nail down the languages you want to deploy to, and then find out
> what their criteria for identif
On Jan 22, 2013, at 8:28 PM, Andy Lee wrote:
> To be extra fail-safe, you might want to perform a cast to be sure the right
> initWithManager: gets called:
>
> if ([myClass conformsToProtocol:@protocol(MyProtocol)])
> myObj = [(id )[myClass alloc] initWithManager:self];
> else
> myO
On Jan 22, 2013, at 8:12 PM, Jens Alfke wrote:
> @interface SomeFictionalClassName
> - (id) initWithManager: (Foo*)manager;
> @end
That feels a bit "dirty" to me. I'd recommend using a protocol instead. As long
as the compiler has seen the method *somewhere*, it will consider it having
been dec
On Jan 23, 2013, at 2:18 AM, jonat...@mugginsoft.com wrote:
> Hmm. Maybe not. I want to keep the generated variable name legible.
You need to nail down the languages you want to deploy to, and then find out
what their criteria for identifiers are. Then you can decide to either generate
identical
On 23 Jan 2013, at 11:40, Jean Suisse wrote:
> On 23 janv. 2013, at 02:18, "jonat...@mugginsoft.com"
> wrote:
>
My current thinking is, regardless of the language, is to exclude all
characters that are not members of NSCharacterSet + (id)letterCharacterSet.
Is +
On 23 janv. 2013, at 02:18, "jonat...@mugginsoft.com"
wrote:
>>>
>>> My current thinking is, regardless of the language, is to exclude all
>>> characters that are not members of NSCharacterSet + (id)letterCharacterSet.
>>>
>>> Is + (id)letterCharacterSet the best choice here?
>>
>> I don't
On 23 Jan 2013, at 01:32, Keary Suska wrote:
> On Jan 22, 2013, at 6:18 PM, Jens Alfke wrote:
>
>> On Jan 22, 2013, at 3:28 PM, jonat...@mugginsoft.com wrote:
>>
>>> Is + (id)letterCharacterSet the best choice here?
>>
>> The API docs say "Informally, this set is the set of all characters us
34 matches
Mail list logo