Search Results for shape
The project contain an login screen which was developed as test project, and then little bit modified and improved. The Login screen contain few UITextField for input login and password, three button for sign in via facebook/twitter/google plus (further in the text as the 'social btns'). If user tapped any text field, social btns will be hidden. Instead social btns will be showed button 'SIGN IN', for apply inputted data. All changes are animated. If tapped any social btns - will be hidden text fields, and instead showed brief info about selected account (avatar and user name). All changes are also animated. In this project represented only animation, little bit customizing UITextField appearance, and handling user interactions.
A UIImageView subclass that ignores touches on transparent pixels, based on OBShapedButton by Ole Begemann. RMShapedImageView does it magic by overriding pointInside:withEvent:. This method is called to determine if a touch is inside the view. In our case, we only want to return YES if the corresponding pixels are not transparent (alpha > 0).