iPhone

St. Louis ALT.NET Meetup: The Rise of Xamarin

We had a great meetup last night and the room was packed! Thanks to everyone that came out and asked such great questions.

I really enjoyed meeting so many new people from in and around the St. Louis .NET community.

And a big thanks also to Xamarin for providing the big box of goodies. They were gone in a blink. Who knew “adults” would be so ravenous for stuffed animal toys?!


There are more links in the presentation, but here are some highlights:

Xamarin Evolve: http://xamarin.com/evolve

Xamarin Blog: http://blog.xamarin.com/

Xamarin Github: https://github.com/xamarin

Xamarin Seminars: http://www.youtube.com/XamarinHQ

Miguel’s Blog: http://tirania.org/blog

Mobile Development in C#: Mobile Development in C#

MonkeySpace
: http://monkeyspace.org

My GitHub: https://github.com/davidortinau


Categories: iPhoneXamarinPermalink

Automated UI Testing: Xamarin Test Cloud & Calabash

At our monthly Interactive Developers of St. Louis meeting last night I presented this overview of the newly announced Xamarin Test Cloud. We then went deeper into Calabash exploring the various pieces making up a test, as well as how to inspect an application’s UI interactively via console. Big thanks to all that came out!

Xamarin Evolve Videos

Intro to Calabash: http://xamarin.com/evolve/2013#session-xcjpj20d6s
TestCloud: http://xamarin.com/evolve/2013#keynote-80:44

Calabash

http://calaba.sh/
iOS: https://github.com/calabash/calabash-ios
Android: https://github.com/calabash/calabash-android

https://github.com/aduggin/calabash-ios-tutorial

Xamarin Field Service Example with Calabash Tests

https://github.com/calabash/field-service-example

Cucumber

http://cukes.info/
http://pragprog.com/book/hwcuc/the-cucumber-book

Frank

http://www.testingwithfrank.com/


Categories: iPhoneXamarinPermalink

MonoTouch: How to Tell If The User Is Selecting Text or Tapping

Goal

Show and hide a toolbar at the bottom of the view when the user taps.

Why

Several apps, particularly those focus on reading the content in the view, offer a UIToolbar (or a custom component with buttons) at the bottom of the view that shows or hides according to the user’s taps.

What we want to detect is a single tap. Not a swipe. Not drag. Not if the user is selecting text.

How

Using a UITapGestureRecognizer we can handle taps on the UIWebView.

I setup a delegate for it and assign a Selector to handle the event.

From there we need to determine if the user is selecting text or just tapping, and show/hide the toolbar.

The Code

 


Categories: iPhoneMonoTouchXamarinPermalink
blog comments powered by Disqus