Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 24f3a21

Browse files
Merge pull request #129 from wordpress-mobile/issue/128-wpkit-remove-objc-annotation
Remove objc annotation from Plans service method with incompatible Obj-C types
2 parents d770842 + 41f4aa7 commit 24f3a21

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WordPressKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressKit"
3-
s.version = "3.2.0-beta.2"
3+
s.version = "3.2.0-beta.3"
44
s.summary = "WordPressKit offers a clean and simple WordPress.com and WordPress.org API."
55

66
s.description = <<-DESC

WordPressKit/PlanServiceRemote_ApiVersion1_3.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import CocoaLumberjack
66

77
public typealias SitePlans = (activePlan: RemotePlan_ApiVersion1_3, availablePlans: [RemotePlan_ApiVersion1_3])
88

9-
@objc public func getPlansForSite(_ siteID: Int,
10-
success: @escaping (SitePlans) -> Void,
11-
failure: @escaping (Error) -> Void) {
9+
public func getPlansForSite(_ siteID: Int,
10+
success: @escaping (SitePlans) -> Void,
11+
failure: @escaping (Error) -> Void) {
1212
let endpoint = "sites/\(siteID)/plans"
1313
let path = self.path(forEndpoint: endpoint, withVersion: ._1_3)
1414

0 commit comments

Comments
 (0)