Updated code for Xcode 6.0 beta 5.
- Arrays types are now written with brackets around the element type.
- adding override to init()
Updated code for Xcode 6.0 beta 5.
- bridgeToObjectiveC() is no longer available, now just cast to the desired type with the 'as' keyword.
- UITextAttributeTextColor is gone, now use NSForegroundColorAttributeName