Swiftpack.co - sparrowcode/SettingsIconGenerator as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by sparrowcode.
sparrowcode/SettingsIconGenerator 1.0.2
Generator of settings icon by SF Symbols. Customisable background color and ready-use in table cell.
⭐️ 155
🕓 1 year ago
iOS macOS tvOS
.package(url: "https://github.com/sparrowcode/SettingsIconGenerator.git", from: "1.0.2")

SettingsIconGenerator

Generate settings icons by Apple's SF Symbols.

iOS Dev Community

Navigate

Installation

Ready for use on iOS 13+.

Swift Package Manager

In Xcode go to Project -> Your Project Name -> Package Dependencies -> Tap Plus. Insert url:

https://github.com/sparrowcode/SettingsIconGenerator

or adding it to the dependencies of your Package.swift:

dependencies: [
    .package(url: "https://github.com/sparrowcode/SettingsIconGenerator", .upToNextMajor(from: "1.0.0"))
]

CocoaPods:

This is an outdated way of doing things. I advise you to use SPM. However, I will continue to support Cocoapods for some time.

Cocoapods Instalation

CocoaPods is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your Podfile:

pod 'SettingsIconGenerator'

Manually

If you prefer not to use any of dependency managers, you can integrate manually. Put Sources/SettingsIconGenerator folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.

Usage

UIKit

let image = UIImage.generateSettingsIcon("bell.fill", backgroundColor: .systemBlue)

SwiftUI

SettingsIcon("bell.fill", backgroundColor: .systemBlue)

or if need generate image:

Image.generateSettingsIcon("bell.fill", backgroundColor: .systemBlue)

Apps Using

If you use a SettingsIconGenerator, add your application via Pull Request.

GitHub

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

Release Notes

Updated readme and assets.
1 year ago

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