For a Swift project I’m working on, I need access to the CommonCrypto library so I can access HMAC functions. Apple has provided ready access to many system libraries within Swift, but CommonCrypto isn’t yet one of them. Thankfully, accessing these libraries requires only a small amount of extra work. Getting Library Access Before we can use the libraries, we need to inform the Swift compiler abou
![Getting Started Using C Libraries from Swift](https://cdn-ak-scissors.b.st-hatena.com/image/square/0eed141d2bb60e2bec0fe491477417fa13528638/height=288;version=1;width=512/https%3A%2F%2Fspin.atomicobject.com%2Fwp-content%2Fuploads%2FScreen-Shot-2015-02-09-at-7.59.13-PM.png)