title: Parse.com querying User class (swift)
body: <p>I encounter some strange problem when I try to query all users from the "User" class It dos not find any Users</p>
  
  <pre><code>var query:PFQuery=PFQuery(className: "User");
      query.findObjectsInBackgroundWithBlock {
          (objects: [AnyObject]!, error: NSError!) -&gt; Void in
          if !(error != nil) {
              for(var i=0;i&lt;objects.count;i++){
                  var object=objects[i] as PFObject;
                  var name = object.objectForKey("username") as String;
                  println(name);
  
              }
          }
      }
  </code></pre>
  
  <p>I tried replacing </p>
  
  <pre><code> var query:PFQuery=PFQuery(className: "User");
  </code></pre>
  
  <p>with </p>
  
  <pre><code>var query:PFQuery=PFQuery(className: "AnotherClass");
  </code></pre>
  
  <p>and everything worked like i should. I think it must be something special about the "User" class</p>