SlideShare a Scribd company logo
Mobile Design PatternsMobile Design Patterns
By Dan Hermes
dan@lexiconsystemsinc.com
www.lexiconsystemsinc.com
Boston Code Camp 21
Design PatternsDesign Patterns
Gang Of Four
MVC
MVVM
Adaptable, reusable code structures
Mobile Concepts and PatternsMobile Concepts and Patterns
UI
◦ Visual Design Patterns
Data Access
◦ Local
◦ Web Services
◦ Data Binding
◦ Data Synchronization
State Management
Threading
MVC vs. MVVM
Visual Design PatternsVisual Design Patterns
Data Presentation
Navigation
Search/Sort
Dialog
Data Editing
Data Presentation Patterns
List
Layout
Grid
Subview
Master/Detail
Gallery
Android List DemoAndroid List Demo
Array Adapter
Bind to a Model
iOS List ExampleiOS List Example
Instantiate UITableView and add it to a
view in the ViewDidLoad() method of the
ViewController.
public override void ViewDidLoad()
{
base.ViewDidLoad();
UITableView table = new UITableView(View.Bounds);
Add (table);
}
iOS List Example –iOS List Example –
SubclassSubclass UITableViewSourceUITableViewSource
public class ListSource : UITableViewSource
{
  protected string[] listItems;
protected string CellId= "TableCell";
  public ListSource (string[] items)
{ listItems = items; }
  public override int RowsInSection (UITableView tableview, int section)
{ return listItems.Length; }
public override UITableViewCell GetCell (UITableView tableView,
MonoTouch.Foundation.NSIndexPath indexPath)
{ UITableViewCell cell = tableView.DequeueReusableCell (CellId);
if (cell == null) cell = new UITableViewCell (UITableViewCellStyle.Default, CellId);
cell.TextLabel.Text = listItems[indexPath.Row];
return cell;
}
}
iOS List ExampleiOS List Example
public override void ViewDidLoad()
{
base.ViewDidLoad();
UITableView table = new UITableView(View.Bounds);
var tableItems = new string[]
{"First","Second","Third","Fourth","Fifth"};
table.Source = new ListSource(tableItems);
Add (table);
}
Navigation
Images courtesy of Mobile Design Pattern Gallery by Theresa Neil
More Navigation
Images courtesy of Mobile Design Pattern Gallery by Theresa Neil
Forms
Images courtesy of Mobile Design Pattern Gallery by Theresa Neil
Style and DesignStyle and Design
Why Does It Matter?
Style and DesignStyle and Design
Form follows function
◦ What is your apps message?
To the Point
Consistency
" If it looks the same, it should act the same." - Android Style Guide
Style and DesignStyle and Design
Direct Manipulation
Feedback
Personal Service
Encouragement
MobilismsMobilisms
Standard icons
Standard screen layouts
Standard multi-screen flows
Use labels sparingly
Standard multi-screen approaches
Avoid PCisms
Images courtesy of Mobile Design Pattern Gallery by Theresa Neil
Idiot Box
Oceans of Buttons
Anti-Pattern Advice:
AVOID CREATIVITY
until you know mobile UI standards
Mobile Interaction ChartMobile Interaction Chart
Mobile Action PC
Tap I want this click
Submit Do it submit
Swipe Next! Move, or Delete next
Press Do Something Double-click
Pinch Zoom out Roller/slider
Spread Zoom in Roller/slider
Rotate um, Rotate. Roller/slider
http://www.lexiconsystemsinc.com/
ViewsViews
Xamarin.Forms
Android Views
iOS UIKit
Xamarin.Forms List DemoXamarin.Forms List Demo
Android: ActivitiesAndroid: Activities
An Activity is like a…
Code-Behind
iOS: ViewControllersiOS: ViewControllers
A ViewController is like a…
Code-Behind
UI - iOSUI - iOS
ViewController
Xcode or Xamarin iOS Designer
You need a Mac
◦ Mac Mini
◦ macincloud.com
Xamarin iOS DesignerXamarin iOS Designer
MVCMVC
iOS ViewControllers
 Android Activities
Are they MVC?
Some CodeSome Code
MVCMVC
Model
◦ Can use them
Views
◦ Must use them
Controllers
◦ Android Activities
◦ iOS ViewControllers
I WANT MY MVC!!!I WANT MY MVC!!!
The OptionsThe Options
MVVM
◦ MVVMcross
◦ MVVM Lite
◦ ReactiveUI
Roll Your Own MVC
◦ Separate out your controller logic from your
Activities, ViewControllers, and Pages
Mobile Design PatternsMobile Design Patterns
Dan Hermes
Mobile Consultant
Lexicon Systems
Website: www.lexiconsystemsinc.com
Email: dan@lexiconsystemsinc.com
Phone: 781-526-0738
Twitter: @lexiconsystems
Blog: www.itshopkeeping.com

More Related Content

PDF
Uxpin mobile UI Design Patterns 2014
PDF
Web Design Trends e-Book
PDF
Bank Chris - Web UI Design Patterns - 2014
PDF
Mobile UI Design Patterns 2014
PDF
Web Design Trends 2017
PDF
Web UI Design Patterns 2014
PDF
UI Design Patterns for the Web, Part 2
PPTX
UX/UI Design : Methodology . Artifacts . Acumen
Uxpin mobile UI Design Patterns 2014
Web Design Trends e-Book
Bank Chris - Web UI Design Patterns - 2014
Mobile UI Design Patterns 2014
Web Design Trends 2017
Web UI Design Patterns 2014
UI Design Patterns for the Web, Part 2
UX/UI Design : Methodology . Artifacts . Acumen

What's hot (18)

PDF
Uxpin mastering the_power_of_nothing
PDF
Flat Design. Microsoft Story
PPTX
UI Design - Lessons Learned, Principles, and Best Practices
PDF
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
 
PDF
UX & UI Design behind SDL’s Customer Experience Cloud
PDF
UX Lesson 6: Visual Hierarchy
PDF
3 common ux mistakes killing good design
PDF
UX Trends 2016
PDF
Principles of User Interface Design
PDF
UX UI - Principles and Best Practices 2014-2015
PDF
UI Design Patterns for the Web, Part 1
PDF
LaSoft | Unique UI/UX design based on your ideas and user’s preferences
PDF
Some Dos and Don’ts in UI/UX Design of Mobile Applications
PDF
UX Design + UI Design: Injecting a brand persona!
PPTX
Basic Visual Design Principles and UI Design Best Practices
PPTX
UX Humor | Jokes and Funny Quotes
PPTX
Academy PRO: UI\UX. Introduction.
PDF
IxD & UX Design - Personifying Digital Interactions
Uxpin mastering the_power_of_nothing
Flat Design. Microsoft Story
UI Design - Lessons Learned, Principles, and Best Practices
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
 
UX & UI Design behind SDL’s Customer Experience Cloud
UX Lesson 6: Visual Hierarchy
3 common ux mistakes killing good design
UX Trends 2016
Principles of User Interface Design
UX UI - Principles and Best Practices 2014-2015
UI Design Patterns for the Web, Part 1
LaSoft | Unique UI/UX design based on your ideas and user’s preferences
Some Dos and Don’ts in UI/UX Design of Mobile Applications
UX Design + UI Design: Injecting a brand persona!
Basic Visual Design Principles and UI Design Best Practices
UX Humor | Jokes and Funny Quotes
Academy PRO: UI\UX. Introduction.
IxD & UX Design - Personifying Digital Interactions
Ad

Similar to Mobile UI Design Patterns (20)

PPTX
MVVM ( Model View ViewModel )
PDF
Ux Example
PPT
MVC(Model View Controller),Web,Enterprise,Mobile
PDF
OpenDolphin with GroovyFX Workshop at GreachConf, Madrid
PPTX
Building web applications using kendo ui and the mvvm pattern
PPTX
MVVM Design Pattern NDC2009
PPTX
Building xamarin.forms apps with prism and mvvm
PDF
MVP Mix 2015 Leveraging MVVM on all Platforms
PDF
SPCA2013 - Building Windows Client Applications for SharePoint 2013
PDF
Universal programming recipes​ - Ekaterina Trofimenko - Women In Technology
PDF
"Universal programming recipes", Kateryna Trofimenko
PDF
Tips & tricks for sharing C# code on iOS, Android and Windows Phone by Jaime ...
PDF
PPT
android layouts
PPT
Model-Driven Engineering of User Interfaces: Promises, Successes, Failures, a...
PDF
Swift
PDF
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
PDF
DotVVM Fundamentals
PDF
Build a Responsive WordPress Theme with Zurbs Foundation Framework
PPTX
Responsive ui
MVVM ( Model View ViewModel )
Ux Example
MVC(Model View Controller),Web,Enterprise,Mobile
OpenDolphin with GroovyFX Workshop at GreachConf, Madrid
Building web applications using kendo ui and the mvvm pattern
MVVM Design Pattern NDC2009
Building xamarin.forms apps with prism and mvvm
MVP Mix 2015 Leveraging MVVM on all Platforms
SPCA2013 - Building Windows Client Applications for SharePoint 2013
Universal programming recipes​ - Ekaterina Trofimenko - Women In Technology
"Universal programming recipes", Kateryna Trofimenko
Tips & tricks for sharing C# code on iOS, Android and Windows Phone by Jaime ...
android layouts
Model-Driven Engineering of User Interfaces: Promises, Successes, Failures, a...
Swift
Choosing the Right HTML5 Framework to Build your Mobile Web Application White...
DotVVM Fundamentals
Build a Responsive WordPress Theme with Zurbs Foundation Framework
Responsive ui
Ad

More from danhermes (10)

PPTX
Azure Mobile Apps with Xamarin
PPT
Developing Cross-platform Native Apps with Xamarin
PPTX
Xamarin Navigation Patterns
PPTX
Xamarin Navigation Patterns
PPT
Building Mobile Apps for Business
PPT
How App Usability, Functionality, and Analysis are Changing with Mobile
PPTX
Cross platform mobile development in c#
PPT
What can mobile do for me
PPTX
Agile Development in .NET
PPTX
Mastering human communication patterns
Azure Mobile Apps with Xamarin
Developing Cross-platform Native Apps with Xamarin
Xamarin Navigation Patterns
Xamarin Navigation Patterns
Building Mobile Apps for Business
How App Usability, Functionality, and Analysis are Changing with Mobile
Cross platform mobile development in c#
What can mobile do for me
Agile Development in .NET
Mastering human communication patterns

Recently uploaded (9)

PPTX
Social Media People PowerPoint Templates.pptx
PDF
Date Right Stuff - Invite only, conservative dating app
PDF
2025 Guide to Buy Verified Cash App Accounts You Can Trust.pdf
PDF
Kids, Screens & Emotional Development by Meenakshi Khakat
DOC
NIU毕业证学历认证,阿比林基督大学毕业证留学生学历
PDF
Best 4 Sites for Buy Verified Cash App Accounts – BTC Only.pdf
DOC
EIU毕业证学历认证,贝尔维尤学院毕业证国外毕业证
DOC
SIUE毕业证学历认证,阿祖萨太平洋大学毕业证学位证书复制
PPTX
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx
Social Media People PowerPoint Templates.pptx
Date Right Stuff - Invite only, conservative dating app
2025 Guide to Buy Verified Cash App Accounts You Can Trust.pdf
Kids, Screens & Emotional Development by Meenakshi Khakat
NIU毕业证学历认证,阿比林基督大学毕业证留学生学历
Best 4 Sites for Buy Verified Cash App Accounts – BTC Only.pdf
EIU毕业证学历认证,贝尔维尤学院毕业证国外毕业证
SIUE毕业证学历认证,阿祖萨太平洋大学毕业证学位证书复制
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx

Mobile UI Design Patterns