Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

William S Rodriguez willbuildapps

🏠
Working from home
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am willbuildapps on github.
  • I am willbuildapps (https://keybase.io/willbuildapps) on keybase.
  • I have a public key ASCjgMA37ED9jL3LMSzM41mLVnNpMAFvnGvdDYmkSG4EYAo

To claim this, I am signing this object:

View MyUseSafeAreaPage.xaml
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
ios:Page.UseSafeArea="true" >
View MyUseSafeAreaPage.cs
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyUseSafeAreaPage : ContentPage
{
public MyUseSafeAreaPage()
{
InitializeComponent();
View MyLargeTitlePage.cs
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyLargeTitlePage : ContentPage
{
public MyLargeTitlePage()
{
InitializeComponent();
@willbuildapps
willbuildapps / MyLargeTitlePage.cs
Last active Nov 8, 2017
Novidades do iOS e Xamarin.Forms
View MyLargeTitlePage.cs
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyLargeTitlePage : ContentPage
{
public MyLargeTitlePage()
{
InitializeComponent();
@willbuildapps
willbuildapps / NavigationBarRenderer.cs
Created Sep 21, 2017
iOS 11 Large Titles in Xamarin.Forms
View NavigationBarRenderer.cs
using System;
using MyApp.iOS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(NavigationPage), typeof(NavigationBarRenderer))]
namespace MyApp.iOS
{
public class NavigationBarRenderer : NavigationRenderer
{
@willbuildapps
willbuildapps / TheViewController.cs
Created Jun 26, 2017
UIView Tap Command Binding using MvvmCross
View TheViewController.cs
// add using MvvmCross.Binding.iOS.Views.Gestures;
var set = this.CreateBindingSet<TheViewController, TheViewModel>();
set.Bind (TheControl.Tap()).For(t => t.Command).To(vm => vm.TheCommand);
set.Apply();
@willbuildapps
willbuildapps / TheViewController.cs
Created Jun 26, 2017
UIView Tap Command Binding using MvvmCross
View TheViewController.cs
// add using MvvmCross.Binding.iOS.Views.Gestures;
var set = this.CreateBindingSet<TheViewController, TheViewModel>();
set.Bind (TheControl.Tap()).For(t => t.Command).To(vm => vm.TheCommand);
set.Apply();
@willbuildapps
willbuildapps / TheViewController.cs
Created Jun 26, 2017
UIView Tap Command Binding using MvvmCross
View TheViewController.cs
// add using MvvmCross.Binding.iOS.Views.Gestures;
var set = this.CreateBindingSet<TheViewController, TheViewModel>();
set.Bind (TheControl.Tap()).For(t => t.Command).To(vm => vm.TheCommand);
set.Apply();
@willbuildapps
willbuildapps / Models.cs
Last active Jan 17, 2017
Models, construindo um aplicativo com Xamarin.Forms
View Models.cs
using System;
namespace MonkeyApp.Models
{
public class BaseModel
{
public string Id { get; private set; } = Guid.NewGuid().ToString();
}
public class Content : BaseModel