Skip to content

Instantly share code, notes, and snippets.

View wsrzx's full-sized avatar
🏠
Working from home

William Rodriguez wsrzx

🏠
Working from home
View GitHub Profile

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:

<?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" >
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyUseSafeAreaPage : ContentPage
{
public MyUseSafeAreaPage()
{
InitializeComponent();
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyLargeTitlePage : ContentPage
{
public MyLargeTitlePage()
{
InitializeComponent();
@wsrzx
wsrzx / MyLargeTitlePage.cs
Last active November 8, 2017 10:50
Novidades do iOS e Xamarin.Forms
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace iOSEleven
{
public partial class MyLargeTitlePage : ContentPage
{
public MyLargeTitlePage()
{
InitializeComponent();
@wsrzx
wsrzx / NavigationBarRenderer.cs
Created September 21, 2017 23:00
iOS 11 Large Titles in Xamarin.Forms
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
{
@wsrzx
wsrzx / TheViewController.cs
Created June 26, 2017 13:16
UIView Tap Command Binding using MvvmCross
// 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();
@wsrzx
wsrzx / TheViewController.cs
Created June 26, 2017 13:16
UIView Tap Command Binding using MvvmCross
// 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();
@wsrzx
wsrzx / TheViewController.cs
Created June 26, 2017 13:16
UIView Tap Command Binding using MvvmCross
// 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();
@wsrzx
wsrzx / Models.cs
Last active January 17, 2017 00:38
Models, construindo um aplicativo com Xamarin.Forms
using System;
namespace MonkeyApp.Models
{
public class BaseModel
{
public string Id { get; private set; } = Guid.NewGuid().ToString();
}
public class Content : BaseModel