Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RubyMotion and MonoTouch

RubyMotion and MonoTouch

Brief introduction to RubyMotion and its comparison with MonoTouch. A short presentation given at Sydney ALT.NET user group on 29th May

Avatar for Sean Ho

Sean Ho

May 29, 2012
Tweet

More Decks by Sean Ho

Other Decks in Programming

Transcript

  1. NSArray *items = [NSArray arrayWithObjects:@"A", @"B", @"C"]; [items enumerateObjectsUsingBlock:^(id obj,

    NSUInteger idx, BOOL *stop) { NSLog(@"%@, %i", obj, idx); }]; items = ["A", "B", "C"] items.each_with_index {|item, index| puts "#{item}, #{index}" }
  2. NSArray *items = [NSArray arrayWithObjects:@"A", @"B", @"C"]; [items enumerateObjectsUsingBlock:^(id obj,

    NSUInteger idx, BOOL *stop) { NSLog(@"%@, %i", obj, idx); }]; items = ["A", "B", "C"] items.each_with_index {|item, index| puts "#{item}, #{index}" } var items = new List<string>() { "A", "B", "C" }; int index = 0; foreach (var item in items) { Console.WriteLine("{0}, {1}", item, index); index++; }