In your touchesBegan:withEvent: method you can check the UITouch object for its 'view' property. From the docs: "The value of the property is the view object in which the touch originally occurred.
In your touchesBegan:withEvent: method you can check the UITouch object for its 'view' property. From the docs: "The value of the property is the view object in which the touch originally occurred".
Pastie. Org/527140 prints "Touched at x:0" always, no matter what. – Shoaibi Jun 28 '09 at 14:34 okay, got it.. it should have been %f – Shoaibi Jun 28 '09 at 14:35 Use -Wformat to avoid this error.
There's also an Xcode setting for this. – Nikolai Ruhe Jun 28 '09 at 14:50 Any ideas at : pastie. Org/527611 – Shoaibi Jun 28 '09 at 2:28.
I thought to be clever and just put an transparent UIButton over an UIImageView with the exact frame size, so that I can wire it up easily with any event I like, for example TouchUpInside, and make it call a action method of an view controller when the user touches it. Well, it works until alpha is below 0.1f. If I do 0.01f, it will not work.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.