File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44# Xcode
55build /
6+ .build /
7+ .swiftpm /
68* .pbxuser
79! default.pbxuser
810* .mode1v3
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.0
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " TelegramStickersImport " ,
8+ platforms: [
9+ . iOS( . v9)
10+ ] ,
11+ products: [
12+ // Products define the executables and libraries a package produces, and make them visible to other packages.
13+ . library(
14+ name: " TelegramStickersImport " ,
15+ targets: [ " TelegramStickersImport " ] ) ,
16+ ] ,
17+ dependencies: [
18+ // Dependencies declare other packages that this package depends on.
19+ // .package(url: /* package url */, from: "1.0.0"),
20+ ] ,
21+ targets: [
22+ // Targets are the basic building blocks of a package. A target can define a module or a test suite.
23+ // Targets can depend on other targets in this package, and on products in packages this package depends on.
24+ . target(
25+ name: " TelegramStickersImport " ,
26+ dependencies: [ ] ,
27+ path: " Source " ) ,
28+ ]
29+ )
Original file line number Diff line number Diff line change 11import Foundation
2+ import UIKit
23
34public extension Sticker . StickerData {
45 init ? ( image: UIImage ) {
Original file line number Diff line number Diff line change 11import Foundation
2+ import UIKit
23
34/// A sticker set
45public class StickerSet {
You can’t perform that action at this time.
0 commit comments