RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

FluffyJack — 38 posts

http://motioninmotion.tv/

Dates are an important part of a lot of applications, and how you display them for their context can make a difference to how quickly users parse the information on screen. In this episode I walk you through getting the MHPrettyDate cocoapod set up in the Tasker application, and show you how to use NSCalendar and NSDateComponents to work with dates properly.

https://motioninmotion.tv/screencasts/20
Both AutoLayout and the creation of custom UITableViewCell subclasses is extremely important when doing iOS development, so once you've finished watching this episode, I'd like you to take away the knowledge of "Why is AutoLayout important?", "Why create custom table view cells?", "How AutoLayout works", and finally "How to use AutoLayout when creating custom cells". You're going to learn these things while we take a look at our example RubyMotion application "Tasker", and there is some new parts to MotionInMotion in this episode where I change up the format a little, with a bit more "Why" than just how, as well as a challenge for you at the end to practice your skills.

https://motioninmotion.tv/screencasts/19
RestKit is an amazing library for communicating efficiently and easily with RESTful services, like a Rails backend for your application. With a bit of setup, it's by far one of the best ways to keep your RubyMotion app in sync with your server. We're going to continue where we left off in Episode 16 with our Tasker application, and have RestKit keep our tasks saved to the server, and keep the server and Core Data store in sync. See the show notes for the Rails app I'm using with Tasker.

https://motioninmotion.tv/screencasts/18
The MotionInMotion RubyMotion pairing sessions are focused on doing one-on-one training with developers who are new to RubyMotion, and recording them so other newcomers can learn from it. In this session we work through an error when working with cocoapods due to Command Line Tools not being setup, and then go through some of the basic concepts of iOS development like views, target-action, table views, and delegates & data sources. If you're not interested in the part at the beginning where we're fixing the error in cocoapods, skip ahead to 22m 20s in.

https://motioninmotion.tv/screencasts/17
It's time to learn how to efficiently manage a Core Data backed UITableView by using NSFetchedResultsController. It's much simpler than you would think, and once it's done it's extremely easy to maintain. Your table views will be faster, your memory usage will go down, it's just a great time to be a table view!

https://motioninmotion.tv/screencasts/16
C macros are used fairly often in Objective-C projects, but RubyMotion doesn't provide a solution for these. Instead we can preprocess our application's files ourselves before they're compiled, using ruby!

http://blog.motioninmotion.tv/rubymotion-preprocessor-code
There is a lot of apps out there that have both an iOS and OS X application, and a good amount of their code could be shared. Learn how to do exactly that with RubyMotion by reading my new blog post, Truly "Universal" RubyMotion Apps.
Grand Central Dispatch is one of the greatest (grandest even?) ways to do multithreaded applications in any language, which if you're doing any kind of processing or network communication, it's likely you will need to make your application use multiple threads too. In this episode we take a look at the main use cases for GCD and the simple code you need to write to run certain tasks in another thread by using queues and blocks.

https://motioninmotion.tv/screencasts/15
There is more to Todd Werth's RubyMotionQuery (RMQ) than you might realise, it's filled with amazing tools to help you clean up your code and possibly do things you didn't know were possible. In this episode I have 5 Advanced RMQ tips to expand your knowledge of RMQ.

https://motioninmotion.tv/screencasts/14
RubyMotion the "Rails" Way Proposal  blog.motioninmotion.tv
This is a current proposal that I’d like your feedback on for how we can clean up how we write RubyMotion applications. It’s purely conceptual at the moment, and there would have to be some framework development to make this work the way described here.

Please submit your feedback, as a joint effort we can clean up our RubyMotion applications and make it easier for Rails developers to expand their skills into RubyMotion development.

RubyMotion the "Rails" Way
Earlier today I posted a link to an article on Twitter from The Frontier Group, which was talking about their experiences with RubyMotion, great article, but when I tweeted the link, it sparked some discussions between me and other people, and other groups of people which those discussions then got brought up with me.

Read about my thoughts.
In this week's episode, we take a look at creating custom URL schemes for your application, so that other applications can open it, and how to open another application from your app. We are going to work with two applications, one for asking for authentication, and one to act as an authenticator, similar to how "Connect with Facebook" used to work before it was integrated into iOS.

https://motioninmotion.tv/screencasts/12
A problem that many RubyMotion/iOS developers have had to face is when their navigation bars overlap their views. There has been one fix that developers have been using for a while, but in my opinion, it's a bit of a "hack". Instead there is an alternative way of fixing the problem by using a UIScrollView!
Whenever possible, I’ll be doing email (and maybe some video) interviews of people in the RubyMotion community who’ve put something out there in the iOS or OS X App Stores.

Today’s RubyMotion master is Odin Dutton, who created the brilliant Service Status app for iOS.

http://blog.motioninmotion.tv/spotlight-service-status-by-odin-dutton
RMQ is a great gem for giving us a jQuery like tool for doing RubyMotion development. Learn all about it in Episode 11 of MotionInMotion.
I have just released the final part of the four part series about creating OS X applications using RubyMotion! A great starting point for you to step into iOS and OS X programming with Ruby. I'm so happy to say I've had heaps of people say they've found a huge interest in RubyMotion since reading these posts!

http://blog.motioninmotion.tv/os-x-apps-with-ruby-part-4
Whenever possible, I’ll be doing email (and maybe some video) interviews of people in the RubyMotion community who’ve put something out there in the iOS or OS X App Stores.

Today’s RubyMotion master is Andrew Gertig, who created the brilliant Mutual app for iOS.

http://blog.motioninmotion.tv/spotlight-mutual-by-andrew-gertig
Build an OS X app in Ruby: Part 3  blog.motioninmotion.tv
In parts one and two we got our application up to the point where the UI was sending us information through the terminal, but now in part 3 we're going to setup our model and get the controller to keep the UI in sync!

Read it now, doing all 3 parts will take less than 30 minutes!
In the past few episodes we’ve been taking a look at some of the gems available to make your development faster, your code cleaner and more ruby like, as well as generally make you a happier developer. The series continues with this episode where I’m going to show you how to convert an existing view to use Teacup instead. I wanted to show you something a bit more complicated than the Zaggstar app we’ve been looking at in the previous two episodes, so we’re going to be taking a look at Blapp again, the application from the CDQ episode. We’ll be converting the detail view for a post to use Teacup’s DSL instead, and to finish off, we’re going to improve things by using Teacup’s constraint helpers to setup AutoLayout.

https://motioninmotion.tv/screencasts/10
Many of you have probably been considering getting into building iOS and OS X apps, but now I'm going to make it really easy for you. Pre-orders are now open for my new book RubyMotion for Rails Developers, and you can choose what you pay!
I've just put out a new episode of MotionInMotion, where I continue on from the last episode to show you how to do add, edit, and delete interactions in a RubyMotion application. If you haven't already, watch episode 8 first, then continue on in episode 9 about integrating ProMotion and Formotion.
OS X Apps with Ruby: Part 2  blog.motioninmotion.tv
The next post in the series about developing OS X apps with RubyMotion! If you don't have a RubyMotion license, go get one, it comes with a 30 day money back guarantee anyway, then come back and read this and start your learning! OS X Apps with Ruby: Part 2
Sometimes you need to build something really quick, just to get an idea across. RubyMotion is fantastic for building iOS and OS X apps quickly, but with the help of gems like ProMotion, you can work twice as fast! That's why we're going to take a look at ProMotion. This will be the first in a series of episodes about the gems you have at your disposal and how you can use them all together to write beautiful code, quicker than usual.

Watch the episode now!
New series I'll be releasing through my blog on building OS X apps with RubyMotion. For anyone that was reading the MVC/Cocoa intro posts, I'll still be doing those too! Here is part 1 for building OS X apps using Ruby.

It will seriously take you 15 minutes to do this part, just give it a go, and start learning how to do OS X development with Ruby.

Make sure you subscribe to my RSS which you can click on just above the author bio at the bottom of the page, so you can follow along with the series easier.
It's been about 3 weeks since the RubyMotion community project group started, and I wanted to do a bit of a write up about how things are going, and why anyone interested in RubyMotion should join us.

I've also written a small part about discrimination and the importance of embracing differences.
Episode 7 of MotionInMotion just came out, where you're shown how to make an app called KeyHook, that lets you use the camera on your iPhone to remember where you left your keys, all in Ruby! It's a simple episode, and easy to follow along. Create a RubyMotion app and show it off to your friends.
I've posted part 3 in the ongoing series trying to educate Rails, Sinatra, and other kinds of web developers, about the world of iOS and OSX development with RubyMotion.

This part is called "Your Views Have Come To Life" and talks about how your dreams come true when working with RubyMotion.

Your views are objects of their own right, and have an entire life and mind of their own that you, as their creator, can control!
Yesterday I put out an article explaining Apple's MVC pattern in a way Rails developers could understand, and it got a crazy amount of traffic, well for my standards 600 views in 24 hours seemed impressive for a fairly new blog.

Today I've written the second article in the ongoing series of explaining RubyMotion to Rails developers called "ERB vs UIView - Requesting Data", where I'll explain how similar views and html/erb really are, and the fact the only main difference is how the content gets in there.

Help others understand by sharing the article on twitter, and subscribe to the RSS feed (just above the author bio) to be updated when new articles in the series come out.

Also if you're interested in RubyMotion, I run the weekly screencast for RubyMotion called MotionInMotion. It's only $9/month and you'll get a new episode every week.
Episode 6 has just been released for MotionInMotion.

If CoreData is overkill for your application, you might be able to just write data out to the disk, or store it in NSUserDefaults. I'm going to show you how to do this in RubyMotion, and teach you how to encode and decode data which will help with storing any kind of data, not just your models.
An explanation of Apple's MVC pattern, and namely where controllers sit in the larger scheme of things. I compare an iOS button tap and a Rails request side by side and show you how similar they actually are. http://blog.motioninmotion.tv/a-different-kind-of-mvc
As one of my subscribers pointed out, the shock for a rails developer trying to learn the RubyMotion (well iOS/OS X) MVC design patterns is, for some, immense. There is a lot of content starting to help though, and I've decided to share mine too. I made Episode 2 of MotionInMotion a free episode. It's about Delegates and Data Sources, and shows you how different things can be, in a simple way that makes the transition easier. Go check it out, it's free now, no risk, go learn: https://motioninmotion.tv/screencasts/2
The Amazing Power of NSCoding  blog.motioninmotion.tv
If you're into RubyMotion, read this, learn the secret ways and amazing powers of the NSCoding protocol! http://blog.motioninmotion.tv/the-amazing-power-of-nscoding
If you're using RubyMotion (or even if you're thinking of using it), read these 5 tips to improve how you organise your app's code. http://blog.motioninmotion.tv/5-ways-to-improve-your-rubymotion-apps-organisation
Episode 5 of MotionInMotion is out, and it's all about how easy working with CoreData is when you use RubyMotion, CDQ, and ruby-xcdm.
I'm trying to organise an initiative where a bunch of members from the RubyMotion community get together and build some iOS and OSX apps as a group. I've written a blog post to detail what I'm talking about: Building Apps as a Community
RubyMotion Community Members  blog.motioninmotion.tv
I wrote a quick blog post to mention some of the big names in the RubyMotion community! If you're into RubyMotion, you need to be following these guys on Twitter. http://blog.motioninmotion.tv/community-members
I just launched MotionInMotion a few days ago. RubyMotion screencasts so you can write awesome iOS and OSX apps with Ruby! Use the coupon LAUNCH20 before 06/01/2014 to get 20% off your subscription forever!
RubyMotion Testing Tools  blog.motioninmotion.tv
Wrote up a quick blog post about the tools RubyMotion developers have available for testing.

RubyMotion Testing Tools