Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
DEVELOPER_DIR: /Applications/Xcode_26.1.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_26.6.app/Contents/Developer

jobs:
carthage:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

env:
DEVELOPER_DIR: /Applications/Xcode_26.1.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_26.6.app/Contents/Developer

jobs:
# Single deploy job since we're just deploying
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ name: Tests
on: [workflow_call]

env:
DEVELOPER_DIR: /Applications/Xcode_26.1.1.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_26.6.app/Contents/Developer

jobs:
xcodebuild:
name: Xcodebuild
runs-on: macos-latest
env:
IOS_DEVICE: iPhone 16 Pro
IOS_DEVICE: iPhone 17 Pro
WATCHOS_DEVICE: Apple Watch Ultra 3 (49mm)
TVOS_DEVICE: Apple TV 4K (3rd generation)
steps:
- uses: actions/checkout@v4
- name: iOS tests
Expand All @@ -35,14 +37,14 @@ jobs:
name: Tests-macOS.xcresult
path: Tests-macOS.xcresult
- name: watchOS tests
run: set -o pipefail && xcodebuild test -scheme ACKategories -resultBundlePath Tests-watchOS.xcresult -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm),OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty
run: set -o pipefail && xcodebuild test -scheme ACKategories -resultBundlePath Tests-watchOS.xcresult -sdk watchsimulator -destination "platform=watchOS Simulator,name=$WATCHOS_DEVICE,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty
- uses: actions/upload-artifact@v4
if: failure()
with:
name: Tests-watchOS.xcresult
path: Tests-watchOS.xcresult
- name: tvOS tests
run: set -o pipefail && xcodebuild test -scheme ACKategories -resultBundlePath Tests-tvOS.xcresult -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty
run: set -o pipefail && xcodebuild test -scheme ACKategories -resultBundlePath Tests-tvOS.xcresult -sdk appletvsimulator -destination "platform=tvOS Simulator,name=$TVOS_DEVICE,OS=latest" ONLY_ACTIVE_ARCH=YES | xcpretty
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down
20 changes: 10 additions & 10 deletions ACKategories.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = ACKategoriesExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -1813,7 +1813,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
INFOPLIST_FILE = ACKategoriesExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -2242,15 +2242,15 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 6.16.0;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
WATCHOS_DEPLOYMENT_TARGET = 5.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Debug;
};
Expand Down Expand Up @@ -2288,15 +2288,15 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 6.16.0;
SDKROOT = auto;
SUPPORTED_PLATFORMS = "appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_VERSION = 5.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
WATCHOS_DEPLOYMENT_TARGET = 5.0;
TVOS_DEPLOYMENT_TARGET = 15.0;
WATCHOS_DEPLOYMENT_TARGET = 9.0;
};
name = Release;
};
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

## Next

- Raise deployment targets to iOS 15, macOS 12, tvOS 15 and watchOS 9, required by Xcode 27 ([#158](https://github.com/AckeeCZ/ACKategories/pull/158), kudos to @Jidoml)
- Xcode 27 refuses to build below these versions; note the watchOS floor is 9.0, not 8.0
- Repair CI after `macos-latest` runner image drift ([#158](https://github.com/AckeeCZ/ACKategories/pull/158), kudos to @Jidoml)
- Bump the pinned Xcode to 26.6 — the image no longer ships the iOS/tvOS/watchOS 26.1 simulator runtimes that 26.1.1 needs
- Refresh simulator destinations to devices that still exist (`iPhone 17 Pro`, `Apple Watch Ultra 3 (49mm)`)
- Rename `Base.ViewController` to `BaseViewController` ([#155](https://github.com/AckeeCZ/ACKategories/pull/155), kudos to @komkovla)
- Add Objective-C name annotation `@objc(ACKBaseViewController)` for better Objective-C interoperability
- Add deprecated typealias `Base.ViewController` for backward compatibility
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import PackageDescription
let package = Package(
name: "ACKategories",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.watchOS(.v5),
.tvOS(.v12),
.iOS(.v15),
.macOS(.v12),
.watchOS(.v9),
.tvOS(.v15),
],
products: [
.library(name: "ACKategories", targets: ["ACKategories"]),
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

A bunch of tools, cocoa subclasses and extensions we created and use at Ackee.

## Requirements

- iOS 15+
- macOS 12+
- tvOS 15+
- watchOS 9+

## Installation

### Carthage
Expand Down Expand Up @@ -52,7 +59,7 @@ button.on(.touchUpInside) { sender in
...
}
```
If running on iOS 9 or later you can use implicit parameter `UIControl.primaryActionTriggered`.
You can also omit the event to use the primary action (`.primaryActionTriggered`): `button.on { sender in ... }`.

### String
- trim strings easily
Expand Down
Loading