One way is to animate the UiTextField upwards in the didBeginEditing delegation
method and down again in the shouldReturn.
Verstuurd vanaf mijn iPhone
Op 29 jun. 2013 om 00:44 heeft Julius Oklamcak het
volgende geschreven:
>> I'm looking for "something" OR some method that knows how to change
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 so
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;
}
> 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 a
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 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
Help/Unsubscribe/Update
Hi Chuck,
On Jun 26, 2013, at 8:30 PM, Chuck Soper 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 above the other.
-