Xcode6-Beta (6A215l): Transforms don't seem to apply to labels in the timeline view in iOS playgrounds
| Originator: | adam | ||
| Number: | rdar://17297763 | Date Originated: | 13-Jun-2014 03:24 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode6-Beta (6A215l) |
| Classification: | Other Bug | Reproducible: | Always |
Summary:
Attempting to show animation tailoring in playgrounds, I applied a scale transform to a UILabel - no change, animated or not
Steps to Reproduce:
See attached code
Expected Results:
A growth in the physical appearance of the label in the timeline view
Actual Results:
No change of the label in the timeline view
Regression:
Demonstrated in sessions as working
Notes:
// Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
var view = UIView(frame: CGRect(x: 0, y: 0, width: 512, height: 512))
var label = UILabel()
// demo - get the font name
label.text = "OFF"
label.font = UIFont(name: "Futura-CondensedExtraBold", size: 38)
label.textColor = UIColor.whiteColor()
label.backgroundColor = UIColor(red: 35/255, green: 185/255, blue: 240/255, alpha: 1.0)
label.shadowColor = UIColor.blackColor()
label.shadowOffset = CGSize(width: -1,height: 1)
label.sizeToFit()
label
label.transform = CGAffineTransformMakeScale(2.0, 2.0)
UIView.performWithoutAnimation {
UIView.animateWithDuration(5.0) {
label.transform = CGAffineTransformMakeScale(2.0, 2.0)
}
}
label
label.frame = view.bounds
view.addSubview(label)
// radar - xcplayground missing ios, transforms not working - dispathc???
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!