title: IOS Swift defining own app-settings in own class
body: <p>im new in Swift and X-Code. Im searching for a way import a own defined class (best case in an own document). I want store all needed settings (text-snippets and app-settings) in this file. For example:</p>
  
  <pre><code>class snippetsAndSettings {
      // e.g translations
      let t_welcome: String   = "Welcome to my App"
      let t_share: String     = "Social Share Buttons"
      let t_rate: String      = "Rate"
  
      // e.g settings 
      let s_weburl: String    = "http://www.mypage.com/webservice.php"
      let s_slider: Bool      = false
      let s_bgColor: String   = "#ff9900"
      let s_tColor: String    = "#222222"
      let t_shadow: String? // Bool or colorString!
  }
  </code></pre>
  
  <p>I want to use this class on every app-page. But i can not import the for for example in ViewController.swift</p>
  
  <p>My questions:</p>
  
  <ol>
  <li>In which format do i have to save the file (snippetsAndSettings)? Cocoa Class</li>
  <li>How can i import the file in my ViewController.Swift</li>
  <li>Is this a common way to store own app-settings in Swift?</li>
  </ol>