Giter Site home page Giter Site logo

softeq / toast-xamarin-ios Goto Github PK

View Code? Open in Web Editor NEW
8.0 14.0 0.0 146 KB

Binding of Toast iOS library for Xamarin / .NET6 / MAUI

Home Page: https://github.com/scalessec/Toast

License: MIT License

C# 23.57% Objective-C 76.43%
xamarin-ios ios toast-notifications toast xamarin-ios-binding xamarin dotnet6 maui

toast-xamarin-ios's Introduction

Toast

ToastBindings is a Xamarin.iOS binding library that adds toast notifications to the UIView object class. It is intended to be simple, lightweight, and easy to use. Most toast notifications can be triggered with a single line of code.

Build Status NuGet Badge

Screenshots

Toast Screenshots

Installation

NuGet:

dotnet add package ToastBindings

Basic Examples

See the demo project for more examples. More example in original repo: https://github.com/scalessec/Toast/tree/master/Example

License

Toast binding library for iOS is released under the MIT license. See LICENSE for details.

toast-xamarin-ios's People

Contributors

vadimpylsky avatar wcoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

toast-xamarin-ios's Issues

Parameters that should be nullable are non-nullable

In the original Objective-C library of this binding several parameters (title, image, style and completion) are nullable as can be seen in this example:

 [self.navigationController.view makeToast:@"This is a piece of toast with a title"
                                         duration:2.0
                                         position:CSToastPositionTop
                                            title:nil
                                            image:nil
                                            style:nil
                                       completion:nil];

However, in the binding calling the following method results in an ArgumentNullException:

myView.MakeToast("Test text", 2.0f, CSToastPosition.Top, null, null, null, null);

It seems these parameters haven't had their [NullAllowed] attributes set.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.