{"type":"rich","published":"2021-08-12 20:55:10","version":"1.0","url":"https://giarrium.hatenablog.com/entry/2021/08/12/205510","author_url":"https://blog.hatena.ne.jp/gurrium/","categories":["Swift"],"provider_name":"Hatena Blog","description":"Apple\u3068\u3057\u3066\u306f\u30da\u30fc\u30b9\u30c8\u30dc\u30fc\u30c9\u3068\u547c\u3073\u305f\u3044\u3089\u3057\u3044\uff0e NSPasteboard\u3092\u4f7f\u3046\uff0e\u306a\u306b\u304b\u66f8\u304d\u8fbc\u3080\u524d\u306bclearContents ()\u3092\u547c\u3076\u306e\u304c\u30dd\u30a4\u30f3\u30c8\uff0e\u306a\u305c\u306a\u3089\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u305d\u3046\u66f8\u3044\u3066\u3042\u308b\u304b\u3089\uff0e Clears the existing contents of the pasteboard, preparing it for new contents. This is the first step in providing data on the pasteboard. let pboard = NSPasteboard.general pboard.clearContents() pboar\u2026","image_url":null,"height":"190","author_name":"gurrium","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F08%2F12%2F205510\" title=\"Swift\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308b(AppKit\u306e\u5834\u5408 - \u305c\u306e\u305c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","title":"Swift\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u6587\u5b57\u5217\u3092\u30b3\u30d4\u30fc\u3059\u308b(AppKit\u306e\u5834\u5408","width":"100%","blog_title":"\u305c\u306e\u305c","blog_url":"https://giarrium.hatenablog.com/"}