Xamarin.iOS.EmojiKeyboard 1.0.0

dotnet add package Xamarin.iOS.EmojiKeyboard --version 1.0.0                
NuGet\Install-Package Xamarin.iOS.EmojiKeyboard -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.iOS.EmojiKeyboard" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.iOS.EmojiKeyboard --version 1.0.0                
#r "nuget: Xamarin.iOS.EmojiKeyboard, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.iOS.EmojiKeyboard as a Cake Addin
#addin nuget:?package=Xamarin.iOS.EmojiKeyboard&version=1.0.0

// Install Xamarin.iOS.EmojiKeyboard as a Cake Tool
#tool nuget:?package=Xamarin.iOS.EmojiKeyboard&version=1.0.0                

Xamarin.iOS-EmojKeyboard

Xamarin.iOS Binding of AGEmojiKeyboard library https://github.com/ayushgoel/AGEmojiKeyboard by Giuseppe Novielli

Inizialize EmojiKeyboard

using XamAGEmojiKeyboard;

namespace Example.iOS {

public partial class EmojiKeyboardViewController : UIViewController { ..... AGEmojiKeyboardView _emojiView; .......

 public override void ViewDidLoad()
 {
        base.ViewDidLoad();
        
        ......
        
         var cgRect = new CGRect(0,0, View.Frame.Size.Width, 216);
        
        //Inizialize KeyboardEmoji with DataSource
        _emojiView = new AGEmojiKeyboardView(cgRect, new EmojiKeyDataSource());
        _emojiView.AutoresizingMask = UIViewAutoresizing.FlexibleHeight;
        
        //Inizialize Delegate
        var emojiDelegate = new EmojiKeyDelegate();
        emojiDelegate.OnEmojiSelected += EmojiDelegate_OnEmojiSelected;
        emojiDelegate.OnEmojiDeleted += EmojiDelegate_OnEmojiDeleted;
        
        //Set Delegate
        _emojiView.Delegate = emojiDelegate;
        
        
        .......
        
 }

}

}

DataSource Class

using XamAGEmojiKeyboard;

namespace Example.iOS { public class EmojiKeyDataSource : AGEmojiKeyboardViewDataSource { public EmojiKeyDataSource() { }

    public override UIImage BackSpaceButtonImageForEmojiKeyboardView(AGEmojiKeyboardView emojiKeyboardView)
    {
        //Return UIImage 
    }

    public override UIImage EmojiKeyboardView(AGEmojiKeyboardView emojiKeyboardView, AGEmojiKeyboardViewCategoryImage category)
    {
      //Return UIImage 

    }

    public override UIImage EmojiKeyboardViewNonSelected(AGEmojiKeyboardView emojiKeyboardView, AGEmojiKeyboardViewCategoryImage category)
    {
        //Return UIImage 

    }
}

}

Delegate Class

using XamAGEmojiKeyboard;

namespace Example.iOS { public class EmojiKeyDelegate : AGEmojiKeyboardViewDelegate { public event EventHandler<string> OnEmojiSelected; public event EventHandler OnEmojiDeleted;

    public EmojiKeyDelegate()
    {
    }

    public override void EmojiKeyBoardView(AGEmojiKeyboardView emojiKeyBoardView, string emoji)
    {
        OnEmojiSelected?.Invoke(emojiKeyBoardView, emoji);
    }

    public override void EmojiKeyBoardViewDidPressBackSpace(AGEmojiKeyboardView emojiKeyBoardView)
    {
        OnEmojiDeleted?.Invoke(emojiKeyBoardView, EventArgs.Empty);
    }
}

More Documentation Available https://github.com/ayushgoel/AGEmojiKeyboard

Product Compatible and additional computed target framework versions.
Xamarin.iOS xamarinios is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 917 3/11/2019

First Release