NSTextViewãSwiftUIã§å©ç¨ããããã«NSViewRepresentable対å¿ããããã¨æã£ããããªãããã£ãã®ã§ã¡ã¢ãæ®ãã¦ããã¾ãã ä¾ãã°ããã©ã³ããµã¤ãºãå¤ããããã«ã¹ã¿ã ãªNSTextViewãå®ç¾©ãã¾ãã import AppKit class MyTextView: NSTextView { func setFontSize(_ fontSize: Double) { self.font = NSFont(name: "HiraKakuProN-W3", size: fontSize) ?? NSFont.systemFont(ofSize: fontSize, weight: .regular) } } import SwiftUI struct WrappedMyTextView: NSViewRepresentable { typealias NSVie
macOS native symposium (https://macos-native.github.io) #08 ç»å£è³æ ããã¹ãæç»ã®ä¸çã¯è¤éã§ãä½æ°ãªãæä½ããã¼ã¿éã大ãããªãã¨ç°¡åã«å¦çã®ããã«ããã¯ã¨åãã¾ããããããä½ããããªã«æéãè¦ããã®ã§ãããããmacOSãiOSå ±ã«ããã¹ãæç»ãå¸ãTextKitã®çãèªã¿æããã¨ã§ãæç´ãªå®è£ ããã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãã®é©ç¨ãé«éåãã¦ããéç¨ãçå±ã追ããªãã解説ãã¾ãã
æµè¡ãã®ãã¼ã¯ã¢ã¼ããããå¤åã®ãµã¼ãã¹ã¡ãã¥ã¼ãAppleScriptã大å馴æãã§ããéç¥ã»ã³ã¿ã¼ãå ±æãã¿ã³â¦ãããã£ãmacOSã®å種æ©è½ã«ç©æ¥µçã«å¯¾å¿ãããã¨ããã¢ããªã®ãMacããããã«ç¹ããã¾ããï¼ã¡ãããããã©ã¦ã¶ãBathyScapheãã§ã®å®è£ ä¾ããç´¹ä»ãã¾ããmacOS nativâ¦
æ¥æ¬èªããã¥ã¡ã³ã æ¥æ¬èªã«ç¿»è¨³ããããããããåãã®ããã¥ã¡ã³ãã§ãã è±èªçã®æ¹ãæ°ããå ´åãããã¾ãã®ã§ãææ°æ å ±ã¯è±èªçãè±èªããã¥ã¡ã³ããã¼ã¸ã確èªãã¦ä¸ããã App Store Connectãã«ã App Store Connectã®ä½¿ãæ¹ã«é¢ãã¦ã®è©³ç´°ãã¹ããããã¨ã®ä½¿ãæ¹ã確èªã§ãã¾ãã
ã¡ãã£ã¨ããã¢ãã¯ãªæ å ±ã§ãããããã¥ã¡ã³ãã®ã©ãã«ãæ¸ããã¦ããªãã¨ã£ã¦ããã®ãã¿ã§ãã Action Extensionãã¾ãã¯Share Extensionãéçºãã¦ãã¦ãUINavigationBarãå©ç¨ãã¦ããã¨ããæ¹ã¯ãã²ã覧ãã ããã ãã®è¨äºã¯ Cocoa Advent Calendar 2016 6æ¥ç®ã®è¨äºã§ããæ¨æ¥ã®è¨äºã¯naochi___ããã®[iOS] Xibã使ã£ã¦èªåã®ãã¤ã¢ãã°ãä½ãã§ããã ãã®è¨äºã§ã¯ãid:kaniza ããã®4æ¥ç®ã®è¨äº 第 70 å Cocoa åå¼·ä¼é¢è¥¿ã«è¡ã£ã¦ãã - kanizaã®ããã° ã§è§¦ãããã¦ããã 第70å Cocoaåå¼·ä¼é¢è¥¿ ã§ç§ãçºè¡¨ããå 容ã«ã¤ãã¦æ¸ãã¾ãã "App Extension ä¸ã§ UINavigationBar.appearance() ã HostApp ã®å½±é¿ãåããåé¡" ã¨ã¯ï¼ ãã®ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}