martijnwalraven / meteor-ios

Meteor iOS integrates native iOS apps with the Meteor platform (http://www.meteor.com) through DDP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need a simpler example please..

BranavanSelvasingham opened this issue · comments

Hi could you please help me with a very simple example that i'm trying to get working using Meteor-ios?

I have autopublish turned on. And I have a simple collection with two attributes (both string) ready on the server. I am connected to my site's websocket via Meteor.connect().

but after this step.. it's a blur. I keep getting empty arrays after a .performFetch. I'm not sure if the mistake is in the way I'm using Meteor-iOS or an issue with how I'm using Swift.

My (desperate) request: could you do a simple example where you create a single view controller and just simply print out the fetched response to the console? I think this could be a super useful step to just get that connection setup for a swift/xcode noob like me.