Swiftpack.co - ebubekirsezer/Enzyme as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ebubekirsezer.
ebubekirsezer/Enzyme 1.0.1
Enzyme is a spm package for the make easier development on iOS
⭐️ 2
🕓 2 years ago
iOS
.package(url: "https://github.com/ebubekirsezer/Enzyme.git", from: "1.0.1")

Enzyme

Enzyme is a spm package for the make easier development on iOS.

Installation

  • For the installation you just need to add the url of the project to your Swift Pakcage manager.

DateExtension

  • Inside the Enzyme package there is a Date extension which help you to check the date for the today and yesterday.
let stringDate = "2022-01-05"
let dateFormatter = DateFormatter()
dateFormatter.dateFormat = "yyyy-MM-dd"
let date = dateFormatter.date(from: stringDate)

print("Is today: \(date?.isToday ?? false)")
print("Is yesterday: \(date?.isYesterday ?? false)")

Social Media Buttons

  • Enzyme package alson consist the social media buttons for the Twitter, Instagram and Facebook. The button width and height size are 40x40.
  • For the use the Social Media button you can use Storyboard, XIB and ViewController.
  • For the storyboard and xib, you need to set the button class SocialMediaButton and in the Attributes Inspector panel, you just need to declare the social media button type.

For now Social Media Button types are; twitter, instagram and facebook

Social Media Butons

GitHub

link
Stars: 2
Last commit: 3 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics