rubymotion-community / BubbleWrap

Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k stars 208 forks source link

BW::Location.get_once seems not working #317

Closed nichthinkof30 closed 10 years ago

nichthinkof30 commented 10 years ago

Hi,

I tried the get_once function, it seems still return few longitude and latitude.

I check the implementation of get, there don't have the condition where options[:once] exist and it should do something...Is it something missed out??

Thanks...

clayallsopp commented 10 years ago

Look here? https://github.com/rubymotion/BubbleWrap/blob/master/motion/location/location.rb#L113

markrickert commented 10 years ago

@nichthinkof30, Watch this video - http://www.youtube.com/watch?v=EtQe7iyrGTQ I cover BubbleWrap's core location DSL fairly in-depth.

rromanchuk commented 10 years ago

@nichthinkof30 the return for get_once is not the same as get

clayallsopp commented 10 years ago

I've added documentation for those discrepancies (60134f264e05261e093f836799b09a5a9814094f), closing this issue unless it's a problem for someone else