title: Delete command for key, Dictionary that contains array of dictionary
body: <p>My Dictionary saves this object</p>
  
  <pre><code>class packet: NSObject {
      var time: Double?
      var msgID: Int?
      var hul : String?
      init(time : Double, msgID : Int, hul : String){
          super.init()
          self. time = time
          self.msgID = msgID
          self.hul = hul
      }
  }
  </code></pre>
  
  <p>this is my dictionary </p>
  
  <pre><code>var ObjectDictionary : NSMutableDictionary = [:]
  </code></pre>
  
  <p>This is Dictionary setValue is like this</p>
  
  <pre><code>let obj = packet(time : Date().timeIntervalSince1970, msgID : msgID, hul: hul)
  ObjectDictionary.setValue(obj, forKey: String(msgID))
  </code></pre>
  
  <p>Now how can I delete all values from the <strong>ObjectDictionary</strong> where <strong>hul == "SomeString"</strong></p>
  
  <p>Hope I am clear in explaining the question.</p>
  
  <p>Thanks</p>