If you missed the last issue, you can find it here: issue #40.
Happy coding, Todd Werth (@twerth)
Articles, News, New Gems, and Blog Posts
Note, this is fixed in RMQ edge
RubyMotion App of the Week
From the Archives
Because it’s easier to copy and paste than to write
Dates inherit NSDate, strings inherit NSMutableString (which inherits NSString), and arrays inherit NSMutableArray (which inherits NSArray).
This is useful because you get all the normal Ruby string stuff, but you also get the NSMutableString and NSString stuff. There are some cool things in there, check out the docs (and use Dash for your docs)
Here is a cool example, NSArray has the pathsMatchingExtensions method:
(main)> [ '/foo/bar/hello.txt', 'report.pdf', '/user/me/resume.doc' ].pathsMatchingExtensions([ 'txt', 'doc' ]) => ["/foo/bar/hello.txt", "/user/me/resume.doc"] (main)>
My company InfiniteRed sponsors this newsletter by allowing me the time to work on it every week and hosting everything.
Contact us if you ever need help working on a project, mentoring, or other development services . We specialize in RubyMotion and have an awesome team.
If you have any tips, blog posts, or comments, please send emails to firstname.lastname@example.org