title: Xcode connect to the MS SQL database
body: <p>I have an existing database up and running on the remote <code>MS SQL server</code>, and I want to be able to communicate and interact with that database from <code>Xcode</code>. I am writing an application for <code>OS X</code> in <code>Swift</code>, and the data that the application should use, is stored in that remote database. </p>
  
  <p>The problem is, I can't seem to find any <code>Swift</code> library that could connect to the <code>MS SQL server</code> based database. So far, I have only found this open-source library: <a href="https://objcsharp.wordpress.com/2013/10/15/an-open-source-sql-server-library-for-ios/" rel="noreferrer">SQLClient in Objective-C</a>, but it's quite difficult to have it set, especially as I am not familiar with the <code>Objective-C</code>.</p>
  
  <p>Also, I keep seeing this <code>Core-Data</code> library being mentioned anytime there is some communication with the database, but as far as I understand <code>Core-Data</code> doesn't know how to connect to the <code>MS SQL</code> database.</p>
  
  <p>Does anyone have any experience in connecting the <code>Xcode Swift app</code> to the remote <code>MS SQL</code> database? How should one do this? Any kind of advice is more than welcome, because right now I am kind of stuck with this problem.</p>