Skip to content

Commit

Permalink
Clean files.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jun 10, 2022
1 parent 77e6095 commit 8a34aa7
Show file tree
Hide file tree
Showing 499 changed files with 73 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github: [ivanvorobei, sparrowcode]
github: [sparrowcode]
10 changes: 1 addition & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,5 @@ name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ivanvorobei
assignees: ivanvorobei, svyatoynick
---

**Details**
- iOS Version [e.g. 15.2]
- Framework Version [e.g. 1.0.2]
- Installed via [e.g. SPM, Cocoapods, Manually]

**Describe the Bug**
A clear and concise description of what the bug is.
6 changes: 1 addition & 5 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ivanvorobei

assignees: ivanvorobei, svyatoynick
---

**Feature Description**
Describe what functionality you want to see.
11 changes: 0 additions & 11 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
## Goal
<!--- Provide details about reason changes. -->

## Checklist
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
- [] Testing in compability platforms
- [] Installed correct via `Swift Package Manager` and `Cocoapods`
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
# osX files
# macOS Files
.DS_Store
.Trashes

# Swift Package Manager
.swiftpm

# User Interface
*UserInterfaceState.xcuserstate

# Generator Script
/Generator
5 changes: 1 addition & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Contributing

Here provided more info about project, contribution process and recomended changes.
Please, read it before pull request or create issue.
Here provided info about contribution process and recommendations.

## Codestyle

Expand All @@ -28,5 +27,3 @@ Here you find all which using in project:
- // MARK: - Internal
- // MARK: - Models
- // MARK: - Ovveride

If you can't find valid, add new to codestyle agreements please. Other can be use if class is large and need struct it even without adding to codestyle agreements.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Ivan Vorobei
Copyright (c) 2022 Sparrow Code

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
24 changes: 13 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
// swift-tools-version: 5.4
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "SPSafeSymbols",
defaultLocalization: "en",
name: "SafeSFSymbols",
platforms: [
.iOS(.v13),
.watchOS(.v6),
.tvOS(.v13),
.macOS(.v11)
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(
name: "SPSafeSymbols",
targets: ["SPSafeSymbols"]
name: "SafeSFSymbols",
targets: ["SafeSFSymbols"]
)
],
dependencies: [],
targets: [
.target(
name: "SPSafeSymbols"
name: "SafeSFSymbols",
swiftSettings: [
.define("SAFESFSYMBOLS_SPM")
]
)
]
],
swiftLanguageVersions: [.v5]
)
48 changes: 38 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# SPSafeSymbols

Wrapper of `SF Symbols`. You choose the icon and what style to draw it in. You can specify the font with which to draw the icon. If the symbol is not available for your version of `iOS/macOS/tvOS`, the compiler will show a warning. Processed all symbols by script.
# SafeSFSymbols

Easy usage SFSymbols with static types. If symbol not available, compiler will show warning.

<p float="left">
<a href="https://discord.gg/ZAqUguHYGw">
<img src="https://cdn.sparrowcode.io/github/badges/discord.png?version=2" height="52">
</a>
<a href="#apps-using">
<img src="https://cdn.sparrowcode.io/github/badges/download-on-the-appstore.png?version=2" height="52">
</a>
<a href="https://github.com/sponsors/sparrowcode">
<img src="https://cdn.sparrowcode.io/github/badges/github-sponsor.png?version=3" height="52">
</a>
</p>

- [Installation](#installation)
- [Swift Package Manager](#swift-package-manager)
Expand All @@ -13,31 +25,35 @@ Wrapper of `SF Symbols`. You choose the icon and what style to draw it in. You c

## Installation

Ready for use on iOS 13+.
Ready to use on iOS 13+, tvOS 13+ & watchOS 6+

### Swift Package Manager

The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
In Xcode go to `File` -> `Packages` -> `Update to Latest Package Versions` and insert url:

```
https://github.com/sparrowcode/SafeSFSymbols
```

Once you have your Swift package set up, adding as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
or adding it to the `dependencies` value of your `Package.swift`:

```swift
dependencies: [
.package(url: "https://github.com/sparrowcode/SPSafeSymbols", .upToNextMajor(from: "1.0.4"))
.package(url: "https://github.com/sparrowcode/SafeSFSymbols", .upToNextMajor(from: "1.0.6"))
]
```

### CocoaPods:

[CocoaPods](https://cocoapods.org) is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your `Podfile`:
Specify it in your `Podfile`:

```ruby
pod 'SPSafeSymbols'
pod 'SafeSFSymbols'
```

### Manually

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

## Usage

Expand Down Expand Up @@ -83,3 +99,15 @@ If need with specific font, use this:
```swift
let image = NSImage(.plus, font: UIFont.preferredFont(forTextStyle: .body))
```

## Apps Using

<p float="left">
<a href="https://apps.apple.com/app/id1624477055"><img src="https://cdn.sparrowcode.io/github/apps-using/seqvoia.png?version=2" height="65"></a>
<a href="https://apps.apple.com/app/id875280793"><img src="https://cdn.sparrowcode.io/github/apps-using/salat.png?version=2" height="65"></a>
<a href="https://apps.apple.com/app/id743843090"><img src="https://cdn.sparrowcode.io/github/apps-using/athan.png?version=2" height="65"></a>
<a href="https://apps.apple.com/app/id537070378"><img src="https://cdn.sparrowcode.io/github/apps-using/quran.png?version=2" height="65"></a>
<a href="https://apps.apple.com/app/id1570676244"><img src="https://cdn.sparrowcode.io/github/apps-using/debts.png?version=2" height="65"></a>
<a href="https://apps.apple.com/app/id1617055933"><img src="https://cdn.sparrowcode.io/github/apps-using/arabesque-kitchen.png?version=2" height="65"></a>
</p>

16 changes: 0 additions & 16 deletions SPSafeSymbols.podspec

This file was deleted.

16 changes: 16 additions & 0 deletions SafeSFSymbols.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|

s.name = 'SafeSFSymbols'
s.version = '1.0.6'
s.summary = 'Easy usage SFSymbols with static types. If symbol not available, compiler will show warning.'
s.homepage = 'https://github.com/sparrowcode/SafeSFSymbols'
s.source = { :git => 'https://github.com/sparrowcode/SafeSFSymbols.git', :tag => s.version }
s.license = { :type => 'MIT', :file => "LICENSE" }
s.author = { 'Ivan Vorobei' => '[email protected]' }

s.swift_version = '5.1'
s.ios.deployment_target = '13.0'

s.source_files = 'Sources/SafeSFSymbols/**/*.swift'

end
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8a34aa7

Please sign in to comment.