标签:多选 move hdu control child undle space chat elf
dotOne.transform = CGAffineTransform.init(scaleX: 0.01, y: 0.01)
// OptionSet,可以多选,例如[.repeat, .autoreverse]
UIView.animate(withDuration: 0.6, delay: 0.0, options: [.repeat, .autoreverse], animations: {
self.dotOne.transform = CGAffineTransform.identity
}, completion: nil)
enum vcName: String {
case chat = "ChatViewController"
case stories = "StoriesViewController"
case discover = "DiscoverViewController"
}
let chatVC = UIViewController.init(nibName: vcName.chat.rawValue, bundle: nil)
childVC.didMove(toParentViewController: parentViewController)
标签:多选 move hdu control child undle space chat elf
原文地址:http://www.cnblogs.com/dengchaojie/p/7486284.html