title: swift: declare public variable
body: <pre><code>class XYActivity: UIActivity,YouTubeHelperDelegate
  {
      var youTubeHelper:YouTubeHelper
      var uploadURL: String!
      override init() {
          self.youTubeHelper = YouTubeHelper()
      }
      override  func activityType() -&gt; String? {
          return nil
      }
  //
  }
  </code></pre>
  
  <p>I want to make uploadURL public, That is, to be assigned in other class. 
  When I add public infront of <code>var uploadURL:String!</code> it suggest me to make  it as internal. I wanna make it public. Please help</p>