Hi Chuck,
On Jun 26, 2013, at 8:30 PM, Chuck Soper chu...@veladg.com wrote:
2. How should I animate the showing or hiding of the 'debug area' view?
I do by sending setFrame: to the two subviews' animator proxies instead of to
the view itself.
// Assumes the split view has two subviews, one
I will be out of the office Fri. June 28.
___
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
I'm looking for something OR some method that knows how to change (I think)
the position (I think) of the view containing a UITextField so the TextField is
visible after a keyboard comes up and covers it. Then the view goes back to
normal position once the keyboard is dismissed.
Is there an
I'm looking for something OR some method that knows how to change (I
think) the position (I think) of the view containing a UITextField so the
TextField is visible after a keyboard comes up and covers it. Then the view
goes back to normal position once the keyboard is dismissed.
Is there an
In this sort of well-known code pattern for making a singleton with GCD:
+ (MyClass *) sharedInstance {
static MyClass *sharedInstance = nil;
static dispatch_once_t onceToken = 0;
dispatch_once (onceToken, ^{
sharedInstance = [MyClass new];
});
return sharedInstance;
}
On Fri, Jun 28, 2013, at 05:17 PM, Matt Neuburg wrote:
Why is the block permitted to assign to the variable sharedInstance
outside the block? Evidently it is because static has an effect like
__block, in that it makes the variable outside the block assignable.
But how, exactly? Is it some kind