<div dir="ltr"><div>It crashes runtime except when the given string is not an existing font family name, in which case it returns nil (as expected).</div><div><br></div><div>So I&#39;m unable to use it.</div><div><br></div><div>Here&#39;s a REPL session demo of the issue, but it&#39;s the same in Xcode 8 and 8.1 beta 1 (haven&#39;t tried any other versions):</div><div><br></div><div>Welcome to Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38). Type :help for assistance.<br></div><div>  1&gt; import AppKit</div><div>  2&gt; NSFontManager.shared().availableMembers(ofFontFamily: &quot;Blahblah&quot;)</div><div>$R0: [[Any]]? = nil</div><div>  3&gt; NSFontManager.shared().availableMembers(ofFontFamily: &quot;Georgia&quot;)</div><div>Execution interrupted. Enter code to recover and continue.</div><div>Enter LLDB commands to investigate (type :help for assistance.)</div><div>  4&gt; NSFontManager.shared().availableMembers(ofFontFamily: &quot;Times&quot;)</div><div>Execution interrupted. Enter code to recover and continue.</div><div>Enter LLDB commands to investigate (type :help for assistance.)</div><div>  5&gt; NSFontManager.shared().availableMembers(ofFontFamily: &quot;Timeeess&quot;)</div><div>$R1: [[Any]]? = nil</div><div>  6&gt;  </div><div><br></div><div>Any ideas and/or workarounds?</div><div><br></div><div>/Jens</div></div>