Ho开发者_JAVA百科w to make a CALayer and all the things inside it semi-transparent? That includes all the things drawn with CoreGraphics and CoreText.Set layer.opacity = 0.5 or whatever you want it to
I wrote the code of a card game .. but now it\'s time todo the graphic and Interface What\'s the best approach to represent a card ??
How can I add a sublay开发者_Python百科er to a CALayer without animation? Usually when you add one it \"fades in\" and when you remove one it \"fades out\".
I know that there are better ways of sharing objects such as distributed objects but my situation is quite difficult. I\'m working on two iPhone apps which are running parallely and need to share an o
I\'m trying to hide a CALayer after a few microseconds and I开发者_如何学JAVA\'m using CABasicAnimation to animate the hide.
This one has been driving me nuts... Considering \"plane\" is a CALayer, I rotate it in the X axis: plane.transform = CATransform3DMakeRotation(180 * M_PI / 180.0f, 1.0f, 0.0f, 0.0f);
I\'m developing an iphone app and when I turn on my NSZombieEnabled I have regularly a crash on error :
I noticed today, when adding 1 CALayer and 2 subviews to my view, when I run the following code in my UIVi开发者_开发百科ew instance:
I\'m trying to present a viewcontroller modally: - (IBAction)addReference { ReferenceAddViewController *referenceAddViewController = [[ReferenceAddViewController alloc] initWithNibName:@\"ReferenceA
I am doing some drawing on a CALayer and want to be able to have the user single tap different parts of the drawing and trigger a response.I tried looking into gesture recognizers, an开发者_开发技巧d