schmidyy / meals-swift

Find what you can cook with your emojis ๐Ÿ‘จโ€๐Ÿณ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmojiMeals

Find what you can cook with your emojis

Emoji recipes fetched from https://raw.githubusercontent.com/EmojiMeals/recipes/master/recipes.json

Install using SwiftPM

.package(
	url: "https://github.com/schmidyy/meals-swift",
	.branch("master")
)

Usage

let meals = EmojiMeals()
meals.mealify("๐Ÿž", "๐Ÿ…", "๐Ÿง€") // "๐Ÿ•"

// Provide ingredients in any order

meals.mealify("๐Ÿง€", "๐Ÿž", "๐Ÿ…") // "๐Ÿ•"

// Provide other recipes manually

meals.recipes.append(Recipe(ingredients: ["๐Ÿฐ", "๐ŸŒš"], meal: "๐Ÿฅฎ"))
meals.mealify("๐Ÿฐ", "๐ŸŒš") // "๐Ÿฅฎ"

About

Find what you can cook with your emojis ๐Ÿ‘จโ€๐Ÿณ


Languages

Language:Swift 100.0%