Skip to content

Commit 377d71a

Browse files
authored
Merge pull request #50 from koher/dev-0.7.0
Rename EasyImage to SwiftImage
2 parents 9ff1ee2 + 1828e53 commit 377d71a

File tree

71 files changed

+277
-425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+277
-425
lines changed

.travis.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@ matrix:
55
osx_image: xcode10.2
66
script:
77
- set -o pipefail
8-
- xcodebuild test -scheme EasyImagy-macOS -configuration Debug | xcpretty -c
9-
- xcodebuild test -scheme EasyImagy-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
10-
- xcodebuild test -scheme EasyImagy-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
11-
- xcodebuild build -scheme EasyImagy-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
12-
- xcodebuild test -scheme EasyImagy-macOS -configuration Release | xcpretty -c
13-
- xcodebuild test -scheme EasyImagy-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
14-
- xcodebuild test -scheme EasyImagy-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
15-
- xcodebuild build -scheme EasyImagy-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
8+
- xcodebuild test -scheme SwiftImage-macOS -configuration Debug | xcpretty -c
9+
- xcodebuild test -scheme SwiftImage-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
10+
- xcodebuild test -scheme SwiftImage-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
11+
- xcodebuild build -scheme SwiftImage-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
12+
- xcodebuild test -scheme SwiftImage-macOS -configuration Release | xcpretty -c
13+
- xcodebuild test -scheme SwiftImage-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone XS" | xcpretty -c
14+
- xcodebuild test -scheme SwiftImage-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
15+
- xcodebuild build -scheme SwiftImage-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 4 - 44mm" | xcpretty -c
1616
- os: osx
1717
language: objective-c
1818
osx_image: xcode11
1919
script:
2020
- set -o pipefail
21-
- xcodebuild test -scheme EasyImagy-macOS -configuration Debug | xcpretty -c
22-
- xcodebuild test -scheme EasyImagy-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
23-
- xcodebuild test -scheme EasyImagy-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
24-
- xcodebuild build -scheme EasyImagy-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
25-
- xcodebuild test -scheme EasyImagy-macOS -configuration Release | xcpretty -c
26-
- xcodebuild test -scheme EasyImagy-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
27-
- xcodebuild test -scheme EasyImagy-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
28-
- xcodebuild build -scheme EasyImagy-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
21+
- xcodebuild test -scheme SwiftImage-macOS -configuration Debug | xcpretty -c
22+
- xcodebuild test -scheme SwiftImage-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
23+
- xcodebuild test -scheme SwiftImage-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
24+
- xcodebuild build -scheme SwiftImage-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
25+
- xcodebuild test -scheme SwiftImage-macOS -configuration Release | xcpretty -c
26+
- xcodebuild test -scheme SwiftImage-iOS -configuration Release -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 11 Pro" | xcpretty -c
27+
- xcodebuild test -scheme SwiftImage-tvOS -configuration Release -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
28+
- xcodebuild build -scheme SwiftImage-watchOS -configuration Release -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 5 - 44mm" | xcpretty -c
2929
- os: osx
3030
language: generic
3131
osx_image: xcode10.2

EasyImagy.xcodeproj/xcshareddata/xcschemes/EasyImagy-iOS.xcscheme

Lines changed: 0 additions & 99 deletions
This file was deleted.

Package.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
// swift-tools-version:4.2
1+
// swift-tools-version:5.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
7-
name: "EasyImagy",
7+
name: "SwiftImage",
88
products: [
99
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1010
.library(
11-
name: "EasyImagy",
12-
targets: ["EasyImagy"]),
11+
name: "SwiftImage",
12+
targets: ["SwiftImage"]),
1313
],
1414
dependencies: [
1515
// Dependencies declare other packages that this package depends on.
@@ -19,10 +19,10 @@ let package = Package(
1919
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2020
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2121
.target(
22-
name: "EasyImagy",
22+
name: "SwiftImage",
2323
dependencies: []),
2424
.testTarget(
25-
name: "EasyImagyTests",
26-
dependencies: ["EasyImagy"]),
25+
name: "SwiftImageTests",
26+
dependencies: ["SwiftImage"]),
2727
]
2828
)

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# EasyImagy (-> SwiftImage)
1+
# SwiftImage
22

33
[![Build Status](https://travis-ci.org/koher/swift-image.svg?branch=master)](https://travis-ci.org/koher/swift-image)
44

5-
**(_EasyImagy_ will be renamed to _SwiftImage_ when 0.7.0 is released.)**
6-
7-
_EasyImagy_ is a Swift library for image processing.
5+
_SwiftImage_ is a Swift library for image processing.
86

97
```swift
108
var image = Image<RGBA<UInt8>>(named: "ImageName")!
@@ -28,9 +26,9 @@ imageView.image = image.uiImage
2826

2927
## Introduction
3028

31-
Image processing by _CoreGraphics_ is complicated: various formats, old C APIs and painful memory management. _EasyImagy_ provides easy and Swifty APIs for image processing.
29+
Image processing by _CoreGraphics_ is complicated: various formats, old C APIs and painful memory management. _SwiftImage_ provides easy and Swifty APIs for image processing.
3230

33-
With _EasyImagy_, images are handled as instances of the `Image` type. `Image` is a type similar to `Array`.
31+
With _SwiftImage_, images are handled as instances of the `Image` type. `Image` is a type similar to `Array`.
3432

3533
```swift
3634
var image: Image<UInt8> = Image(width: 640, height: 480, pixels: [255, 248, /* ... */])
@@ -63,7 +61,7 @@ let grayscale: Image<UInt8> = image.map { $0.gray }
6361

6462
```
6563

66-
Another notable feature of _EasyImagy_ is that `Image` is a structure, i.e. a value type, with copy-on-write. It means
64+
Another notable feature of _SwiftImage_ is that `Image` is a structure, i.e. a value type, with copy-on-write. It means
6765

6866
- `Image` instances never be shared
6967
- defensive copying is unnecessary
@@ -80,7 +78,7 @@ another[x, y] = RGBA(0xff0000ff) // Copied here lazily
8078
### Import
8179

8280
```swift
83-
import EasyImagy
81+
import SwiftImage
8482
```
8583

8684
### Initialization
@@ -316,9 +314,9 @@ github "koher/swift-image" ~> 0.7.0
316314

317315
### Manually
318316

319-
1. Put [EasyImagy.xcodeproj](EasyImagy.xcodeproj) into your project/workspace in Xcode.
317+
1. Put [SwiftImage.xcodeproj](SwiftImage.xcodeproj) into your project/workspace in Xcode.
320318
2. Click your project icon and select the application target and the "General" tab.
321-
3. Add `EasyImagy.framework` to "Embedded Binaries".
319+
3. Add `SwiftImage.framework` to "Embedded Binaries".
322320

323321
## License
324322

Sources/EasyImagy/EasyImagy.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)