ã¢ãã¤ã«ãã¡ã¼ã¹ã室ã®ä¸æµ¦ã§ãã ã¿ãªããã¯playground使ã£ã¦ãã¾ããï¼ Swiftã«ã¯playgroundãç¨æããã¦ãã¦æ軽ã«ãã¤ã©ã¤ãã¬ã³ããªã³ã°ã§ã³ã¼ãã£ã³ã°ããããã¨ãã§ãã¾ãã CoreGraphicsã®æç»ãªã©ã確èªããªããã³ã¼ããæ¸ããã¨ãã§ãã¦ã¨ã¦ã便å©ã§ãã æ©éSwiftã§ç°¡åãªã¹ã±ããããã¦ã¿ã¾ãããï¼ Xcodeã§playgoundãã¡ã¤ã«ãæ°è¦ä½æãã¾ãã次ã«UIKitãimportãã¾ãã import UIKit 次ã«è¡¨ç¤ºã®ããã®UIViewãçæãã¾ãã // ãã¥ã¼ã®ãµã¤ãº let size = CGSize(width: 200, height: 200) // UIViewãçæ let view:UIView = UIView(frame: CGRect(origin: CGPointZero, size: size)) view.back
{{#tags}}- {{label}}
{{/tags}}