Xamarin Storyboards and Custom Cells

In the previous posting in this series we navigated to a details page, but the display of the details left a lot to be desired.  Custom Book CellWe had a single string of information and not enough room to display it in the UITableViewCell in the BookListTableView.

Today, we’ll take a look at customizing the UITableViewCell.  We return to the same code, but we’ll add a new class, BookCell that will derive from UITableViewCell.  This cell will be used to describe how we want each cell in the table to display its data.

Continued here

Posted in Xamarin | Comments Off on Xamarin Storyboards and Custom Cells

Xamarin Storyboards: Navigation

In the previous installment in this series, I left off with Directionsbinding data. Today we take a look at page navigation and passing that data around.
Navigation with Storyboards is accomplished with Segues.  This process is so easy it is almost frightening.  Passing data is almost as easy.

Segues

To get started, return to the application we left off previously, and reopen MainStoryboard.storyboard.  Drag a Navigation controller onto the design surface and notice that it brings a second controller with it.  It may be necessary to use the zoom feature to make enough room to see all three controllers.  Delete the second controller yu just dragged onto the design surface, so that you end up with the Navigation controller and the original View Controller.

 

Continued here

Posted in Xamarin | Comments Off on Xamarin Storyboards: Navigation

Xamarin iOS Storyboards: Getting Started

The first three posts in this series were all about Xamarin Forms.  That is because Forms are terrific, convenient and new.  But they are not the only game in town.  ninja

It is possible to write iOS applications using native controls and reap the benefit of a visual designer.  Let’s take a look at working with the Xamarin Storyboard.

This post is continued here.

Posted in Xamarin | Comments Off on Xamarin iOS Storyboards: Getting Started

Xamarin Forms and Data

Xamarin happily supports two-way binding, and the mechanism will be intensely Book Borrower Main Pagefamiliar to XAML programmers. 

The more I work with Xamarin, the more I think this is where Silverlight went to heaven.

[ This is the third in a series that starts here.]

To illustrate this, let’s create a simple Forms application that provides two way binding of information about books.

Continued here

Posted in Xamarin | Comments Off on Xamarin Forms and Data

Learning Xamarin: Forms and XAML

In my previous posting (the first in this series) I showed how to create a Monkeysimple cross-platform mobile application using the new Xamarin forms.  In this posting, I will recreate that same application, but using XAML.

The XAML that is used in Xamarin is very (very!)  close to the XAML that was used in Silverlight and is used in WPF, Windows Phones and Windows 8.x.  So close, that Xamarin Forms are a natural and happy path for XAML programmers into mobile application development.

Once again, fire up Xamarin Studio (or Visual Studio). We’re going to reuse the Monkey class and the MonkeyVewModel that we used in the previous posting. 

When using XAML the data binding will be explicit and the use of a ViewModel will be even more important.  Continued…

Posted in Xamarin | 1 Comment

Album of the Week: Living Proof by Buddy Guy

Every once in a while I come across new music that I have to share.  image This week it is Living Proof by Buddy Guy. This incredible album won the Album of the Year from the prestigious Blues Music Awards (formerly the W.C. Handy Awards). 

My favorite cut is Thank Me Someday – it is everything a Blues song should be.

I found this album as follows:  I was listening to one of my favorite albums, Louis Armstrong Plays W. C. Handy, which lead me to look at more by Armstrong and more by Handy. I then discovered the Handy Awards, and from there found this album.  What a find!

Posted in Opinion | Tagged | 1 Comment

Learning Xamarin–Part 1 Forms

Today I officially launch my new blog series on learning cross-platform mobile development with Xamarin. 

Xamarin should be perfect for me because

  • I really want to learn iOS and Android programming but don’t want to code in Java or (God help me) Objective-C
  • I have 14 years experience with C# and really like it
  • Xamarin 3 looks amazing
  • Forms! Forms! Forms!
  • My computer is a MacBook Pro running Parallels
  • I have a subscription to Xamarin University, which will ease the way considerably [1]

Forms are particularly appealing as an entry point because they use XAML and C#, which allows me to dig into my muscle memory from days gone by when I coded for Silverlight, WPF and Windows Phone.  So that is where I’ll start.  Continued…

Posted in Xamarin | 2 Comments

KendoNg–Part 2–Data

This is the second in my new series on Kendo UI and AngularJS, which I’m guarantee affectionately calling KendoNg.  Part 1 is here.

Binding With ng-model and Moustaches

Before we turn our attention to binding data in Kendo UI with AngularJS, let’s return briefly to the program we left off with, and create Welcome3.html and Welcome3.js in order to demonstrate that using ng-model and simple data binding with AngularJS is no more complex than it is with jQuery.

Continued….

Posted in AngularJS, Kendo | Comments Off on KendoNg–Part 2–Data

Xamarin Redux. Watch This Space…

Xamarin Podcaster

You may remember that I started down the path of writing about learning Xamarin for Android.  I then became “distracted” by such trivial items as work, deadlines, family, etc. but as of June 16 I return to Xamarin, both Android and iOS. 

And delaying was wicked smart, as Xamarin has now released a number of incredible enhancements, including Xamarin Forms, which will make my life much easier.

Stay tuned…

 

If this guy works out, I may jettison John Papa and Jon Galloway as co-hosts and have my little buddy here do the show.

Posted in Xamarin | Tagged | 9 Comments

Pro Windows 8.1 Development w/XAML and C#

I’m pleased and proud to say my latest (and last!) book has beenapressBook published: Pro Windows 8.1 Development with XAML and C#

Here’s the hype: Understanding Windows 8.1 and how it ties in to the proven C# language and the XAML standard is the subject of this book. We explain how you can get the most from Windows 8.1 by focusing on the features that you need for your project and bringing your existing C# coding knowledge to bear.

We begin with a nuts-and-bolts examination of how the technologies fit together and show you everything you need to get up and running with the new platform. Once you have a good understanding of the basics, you progress to more advanced topics; steadily increasing your understanding as a whole.

Each topic is covered clearly and concisely and is packed with the details you need to code effectively. The most important features are given a no-nonsense, in-depth treatment and chapters contain examples that demonstrate both the power and the subtlety of Windows 8.1.

Posted in Books, Windows 8.1 | Tagged | Comments Off on Pro Windows 8.1 Development w/XAML and C#

AngularJS and Kendo UI–Part 1–Getting Started

Today I launch a new series of postings, bringing together two themes I’ve been developing for the past Kendo Angular few months: AngularJS and Kendo UI.  These technologies go together like peanut butter and chocolate, and both share two characteristics that are critical to this series:

  • The technology is hot, desirable and useful
  • The reference documentation is very good, but good tutorials are in short supply

I’m writing a course for Pluralsight called Kendo UI and AngularJS From Scratch, and I’ll be exploring some of the issues raised in that course here, in a series of postings. For background, please see my earlier articles and/or my Pluralsight courses on Kendo and Angular.

This article continues here

Posted in AngularJS, Kendo | 2 Comments

Dependent Methods in Kendo: A Practical Example

On May 10, Noel Rice of Falafel wrote a wonderful blog piece entitled Books with AuthorsDependent Methods (calculated fields) – a hidden goody in Kendo UI. 

It wasn’t two weeks later that I had occasion to put this to use for a client.

This blog post will walk through this real-world example.  I’ve changed it only enough to disguise the client. 

Continued here

Posted in Kendo UI | 1 Comment