From 981fd385c3363fd985a459409bac2497a0c0e09b Mon Sep 17 00:00:00 2001 From: Natan Rolnik Date: Wed, 26 Feb 2014 17:24:40 +0200 Subject: [PATCH] Updates readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fe9c7a6..95fa382 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ ##Basic, block based, text transitions -NRTextTransitions is a category in UIView that makes easier handling animated text transitions for UILabel, UITextView and UITextField. As the standard +[UIView animateWithDuration:animations:] is not able to animate non-animatable properties, and text, font and textColor properties of UILabel, UITextView and UITextField, are non-animatable, you need to use CATransition to do so with animation. +NRTextTransitions is a category in UIView that makes easier handling animated text transitions for UILabel, UITextView and UITextField. As the standard `+[UIView animateWithDuration:animations:]` is not able to animate non-animatable properties, and text, font and textColor properties of UILabel, UITextView and UITextField, are non-animatable, you need to use CATransition to do so with animation. -NRTextTransitions uses a similar API to the standard UIView class methods, encapsulating the changes passed in the `animations` parameter block. In order to apply the transitions to the objects mentioned in this block, you **MUST** create an array, add the objects to this array, and pass it in the 'textObjects' parameter. +NRTextTransitions uses a similar API to the standard UIView class methods, encapsulating the changes passed in the animations parameter block. In order to apply the transitions to the objects mentioned in this block, you **must** create an array, add the objects to this array, and pass it in the 'textObjects' parameter. ##Example @@ -23,5 +23,5 @@ NRTextTransitions uses a similar API to the standard UIView class methods, encap You have two options: -* Use CocoaPods - Search for NRTextInstallation in CocoaPods -* Copy the files "UIView+NRTextTransitions.h/m" and "NRTextTransitionCompletionManager.h/m" \ No newline at end of file +* Use CocoaPods - Search for `NRTextInstallation` in CocoaPods +* Copy the files `UIView+NRTextTransitions.h/m` and `NRTextTransitionCompletionManager.h/m` \ No newline at end of file