title: Call ExtensionDelegate to create/refresh data for Complication
body: <p>All my data creation is done in the <code>ExtensionDelegate.swift</code>. </p>
  
  <p>The <strong>problem is <code>ExtensionDelegate.swift</code> doesn't get called before the function <code>getCurrentTimelineEntryForComplication</code> in my <code>ComplicationController.swift</code></strong>.</p>
  
  <p>Any ideas?  <em>Here is my code and details:</em></p>
  
  <p>So my array <code>extEvnts</code> is empty in my <code>ComplicationController.swift</code>:</p>
  
  <pre><code>    func getCurrentTimelineEntryForComplication(complication: CLKComplication, withHandler handler: ((CLKComplicationTimelineEntry?) -&gt; Void)) {
  
          let extEvnts = ExtensionDelegate.evnts
  }
  </code></pre>
  
  <p>Because my <code>ExtensionDelegate.swift</code> hasn't gotten called yet, which is what creates the data for the array:</p>
  
  <pre><code>class ExtensionDelegate: NSObject, WKExtensionDelegate, WCSessionDelegate {
  
      private let session = WCSession.defaultSession()
      var receivedData = Array&lt;Dictionary&lt;String, String&gt;&gt;()
      static var evnts = [Evnt]()
  
      func session(session: WCSession, didReceiveUserInfo userInfo: [String : AnyObject]) {
  
          if let tColorValue = userInfo["TeamColor"] as? String, let matchValue = userInfo["Matchup"] as? String {
  
              receivedData.append(["TeamColor" : tColorValue , "Matchup" : matchValue])
              ExtensionDelegate.evnts.append(Evnt(dataDictionary: ["TeamColor" : tColorValue , "Matchup" : matchValue]))
  
          } else {
              print("tColorValue and matchValue are not same as dictionary value")
          }
  
      }
  
      func applicationDidFinishLaunching() {
          // Perform any final initialization of your application.
          if WCSession.isSupported() {
              session.delegate = self
              session.activateSession()
          }
      }
  }
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Per Apple, it looks like this has something to do with it, but for some reason I have no idea how to actually implement it because I'm not able to call <code>mydelegate.evnts</code>:</p>
  
  <pre><code>// Get the complication data from the extension delegate.
  let myDelegate = WKExtension.sharedExtension().delegate as! ExtensionDelegate
  var data : Dictionary = myDelegate.myComplicationData[ComplicationCurrentEntry]!
  </code></pre>
  
  <p>So I've tried something like this, and still can't get it working because I'm still getting no data: </p>
  
  <pre><code>func someMethod() {
      let myDelegate = WKExtension.sharedExtension().delegate as! ExtensionDelegate
      let dict = ExtensionDelegate.evnts
      print("ExtensionDel.evnts: \(dict.count)")
  </code></pre>
  
  <p>}</p>