title: macOS. How to get CPU temperature programmatically
body: <p>I need to get CPU temperature using Swift, but I can't find any information except for <a href="https://stackoverflow.com/questions/8756491/programmatically-read-cpu-temperature-other-sensor-data-on-macosx-macbook-p">this</a>.</p>
  
  <p>I think that I should use IOKit.framework but again there's no much information about it.</p>