CALayer shadow and animation

2008-12-17 Thread Fabrizio Guglielmino
Hi all, I'm working with iPhone SDK 2.1, trying to make some simple effects on layers I can't found the properties for the shadow (shadowOffset, shadowColor), are they not avaiable on iPhone? Is there some alternative to make a layer shadow (excluding making it by hand)? There is also an other

Disabling hittest

2008-12-17 Thread Fabrizio Guglielmino
Hi all, I'd like to known if is there a method to disable hittest on a layer (escluding it to be returned). I have 3 layers, my application permits to take one layer and drag around the window (it's an iPhone application), I need to known if there is a layer under the dragged one. Using hitTest met

Strange behaviour UITableView

2009-01-21 Thread Fabrizio Guglielmino
Hi all, I have a UITableView where, sublcassing UITableViewCell, I made a custom cell. This custom cell is made of a UIImageView and some UILabel. This UITableView it's made with IB in a specific .xib with a custom UITableViewController as File's owner. I also need to make cell height custom so I'

Infinite scrolling with CALayer

2008-10-22 Thread Fabrizio Guglielmino
Hi all, I'm trying to simulate an endless vertical scrolling using CALayer. In my first test I made a simple texture (it's a street asphalt) and I create a CALayer with this texture as content. I made also a socond layer with same content attached on top to the main layer, simply incrementing the p

Re: Cora Animation transormation

2008-11-12 Thread Fabrizio Guglielmino
odeForwards]; > Here is a related blog > post: > http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/ > -Matt > > On Nov 12, 2008, at 7:57 AM, Fabrizio Guglielmino wrote: > > Hi all, > in a simple project I need to rotate

Cora Animation transormation

2008-11-12 Thread Fabrizio Guglielmino
Hi all, in a simple project I need to rotate about the Z vector a little image. I've used CAKeyframeAnimation with CATransform3DMakeRotation and it was really simple. My problem is about persistence of rotation, when animation end the image return in original position and this isn't what I want. I

CALayer and View controls

2008-11-14 Thread Fabrizio Guglielmino
Hi all, in some previous posts I was looking for information about CALayer rotation and now I can rotate layer using core animation. This mail it's about a strange behaviour, in my simple test I have a single View and a little image loaded as content of main layer. in the bottom of View there is a

CALayer and View

2008-11-14 Thread Fabrizio Guglielmino
Hi all, in some previous posts I was looking for information about CALayer rotation and now I can rotate layer using core animation. This mail it's about a strange behaviour, in my simple test I have a single View and a little image loaded as content of main layer. in the bottom of View there is a

Re: CALayer and View controls

2008-11-14 Thread Fabrizio Guglielmino
2008/11/14 David Duncan <[EMAIL PROTECTED]>: > On Nov 14, 2008, at 8:10 AM, Fabrizio Guglielmino wrote: > >> in some previous posts I was looking for information about CALayer >> rotation and now I can rotate layer using core animation. >> This mail it's abou