On 23 Jan 2013, at 01:32, Keary Suska cocoa-...@esoteritech.com 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
On 23 janv. 2013, at 02:18, jonat...@mugginsoft.com 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
On 23 Jan 2013, at 11:40, Jean Suisse jean.li...@gmail.com wrote:
On 23 janv. 2013, at 02:18, jonat...@mugginsoft.com
jonat...@mugginsoft.com wrote:
My current thinking is, regardless of the language, is to exclude all
characters that are not members of NSCharacterSet +
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 Jan 22, 2013, at 8:12 PM, Jens Alfke j...@mooseyard.com 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
On Jan 22, 2013, at 8:28 PM, Andy Lee ag...@mac.com 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 MyProtocol)[myClass alloc] initWithManager:self];
On 23 Jan 2013, at 13:07, Uli Kusterer witness.of.teacht...@gmx.net 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
On Jan 23, 2013, at 8:22 AM, Uli Kusterer witness.of.teacht...@gmx.net wrote:
@protocol UKCanInitWithManagerProtocol
-(id) initWithManager: (Foo*)inManager;
@end
...
if( [myClass respondsToSelector: @selector(initWithManager:)] )
myObj = [(idUKCanInitWithManagerProtocol)[myClass
On 23 Jan 2013, at 5:40 AM, Jean Suisse jean.li...@gmail.com 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
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
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.
On Jan 23, 2013, at 09:28 , Markus Spoettl ms_li...@shiftoption.com 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
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
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-selection
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
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
On 24/01/2013, at 3:40 AM, Koko k...@highrolls.net 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
On 23/01/2013, at 5:41 PM, Graham Cox graham@bigpond.com 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
On Jan 23, 2013, at 17:01 , Graham Cox graham@bigpond.com 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;
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
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
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
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
width
On Jan 23, 2013, at 9:30 PM, Nick Rogers roger...@mac.com 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
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
On 24/01/2013, at 1:30 PM, Nick Rogers roger...@mac.com 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
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 graham@bigpond.com wrote:
On 24/01/2013, at 1:30 PM, Nick Rogers roger...@mac.com wrote:
Hi,
I was updating a few textfields from my sheetDidEnd:….
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
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
On 24/01/2013, at 4:48 PM, Nick Rogers roger...@mac.com 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:.
On Jan 23, 2013, at 8:17 PM, Matt Neuburg m...@tidbits.com 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
On Jan 23, 2013, at 22:38 , Jerry Krinock je...@ieee.org 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
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
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's no
34 matches
Mail list logo