codeandtheory / ysnackbar-ios

An easy-to-use UI component to display brief, transient messages to the user.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve Appearance object

mpospese opened this issue · comments

Intro

Currently SnackView.Appearance lives under the SnackView namespace and is a struct. Because we allow users to subclass the Snack object and create their own views for it, it would make sense for the appearance object to reside under the Snack namespace and to be an open class that can be subclassed instead of a struct.

Task

  1. Relocate from SnackView.Appearance to Snack.Appearance.
  2. Convert Snack.Appearance from public struct to open class.

Discussion

This is going to be a breaking change, but one that has been requested by the PWC project team.