Skip to content

Commit

Permalink
Updated guide DocC
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-archer committed Oct 16, 2024
1 parent 2733125 commit f09d708
Show file tree
Hide file tree
Showing 4,712 changed files with 4,685 additions and 4,609 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion Sources/SKHelper/Core/SKHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class SKHelper: Observable {
self.customConfiguration = customConfiguration

if useCachedEntitlements { SKHelperLog.event(.configurationCacheEntitlementsUsed) }
if let customConfiguration { SKHelperLog.event(.configurationCustomUsed) }
if customConfiguration != nil { SKHelperLog.event(.configurationCustomUsed) }

Task { await requestProducts() }
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/SKHelper/Core/SKHelperConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,5 @@ public struct SKHelperConstants: Sendable {
case .requestRefundUrl: return SKHelperConstants.RequestRefundUrl
case .contactUsUrl: return SKHelperConstants.ContactUsUrl
}

return nil
}
}
2 changes: 1 addition & 1 deletion Sources/SKHelper/Views/SKHelperPurchaseInfoManage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ internal struct SKHelperPurchaseInfoManage: View {
#else

Button(action: {
if let refundUrl = URL(string: SKHelperConstants.requestRefundUrl) {
if let refundUrl = URL(string: SKHelperConstants.RequestRefundUrl) {
NSWorkspace.shared.open(refundUrl)
}
}) {
Expand Down
2 changes: 1 addition & 1 deletion docs/data/documentation/skhelper.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/skhelper/guide.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/skhelper/license.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"primaryContentSections":[{"kind":"content","content":[{"text":"Overview","type":"heading","level":2,"anchor":"overview"},{"inlineContent":[{"type":"text","text":"Permission is hereby granted, free of charge, to any person obtaining a copy"},{"type":"text","text":" "},{"type":"text","text":"of this software and associated documentation files (the “Software”), to deal"},{"text":" ","type":"text"},{"text":"in the Software without restriction, including without limitation the rights","type":"text"},{"type":"text","text":" "},{"text":"to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell","type":"text"},{"text":" ","type":"text"},{"text":"copies of the Software, and to permit persons to whom the Software is","type":"text"},{"type":"text","text":" "},{"text":"furnished to do so, subject to the following conditions:","type":"text"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The above copyright notice and this permission notice shall be included in all"},{"type":"text","text":" "},{"type":"text","text":"copies or substantial portions of the Software."}]},{"inlineContent":[{"text":"THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,"},{"type":"text","text":" "},{"type":"text","text":"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE"},{"type":"text","text":" "},{"text":"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER","type":"text"},{"text":" ","type":"text"},{"text":"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE"},{"text":" ","type":"text"},{"type":"text","text":"SOFTWARE."}],"type":"paragraph"}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SKHelper\/documentation\/SKHelper\/LICENSE"},"kind":"article","metadata":{"title":"License","roleHeading":"Article","modules":[{"name":"SKHelper"}],"role":"article"},"hierarchy":{"paths":[["doc:\/\/SKHelper\/documentation\/SKHelper"]]},"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/skhelper\/license"],"traits":[{"interfaceLanguage":"swift"}]}],"abstract":[{"text":"Copyright (c) 2024 Russell Archer","type":"text"}],"references":{"doc://SKHelper/documentation/SKHelper":{"type":"topic","role":"collection","kind":"symbol","url":"\/documentation\/skhelper","identifier":"doc:\/\/SKHelper\/documentation\/SKHelper","title":"SKHelper","abstract":[{"type":"codeVoice","code":"SKHelper"},{"text":" is a Swift Package Manager (SPM) package that enables developers using ","type":"text"},{"inlineContent":[{"type":"text","text":"Xcode 16"}],"type":"strong"},{"text":" to easily add in-app purchase","type":"text"},{"type":"text","text":" "},{"type":"text","text":"support to "},{"inlineContent":[{"text":"iOS 17+","type":"text"}],"type":"strong"},{"type":"text","text":" and "},{"inlineContent":[{"text":"macOS 14.6+","type":"text"}],"type":"strong"},{"type":"text","text":" SwiftUI apps."}],"images":[{"identifier":"skhelper-logo-small.png","type":"icon"}]},"skhelper-logo-small.png":{"identifier":"skhelper-logo-small.png","alt":null,"type":"image","variants":[{"url":"\/images\/SKHelper\/skhelper-logo-small.png","traits":["1x","light"]}]}}}
{"metadata":{"role":"article","roleHeading":"Article","modules":[{"name":"SKHelper"}],"title":"License"},"identifier":{"url":"doc:\/\/SKHelper\/documentation\/SKHelper\/LICENSE","interfaceLanguage":"swift"},"primaryContentSections":[{"kind":"content","content":[{"level":2,"text":"Overview","type":"heading","anchor":"overview"},{"inlineContent":[{"type":"text","text":"Permission is hereby granted, free of charge, to any person obtaining a copy"},{"type":"text","text":" "},{"text":"of this software and associated documentation files (the “Software”), to deal","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"in the Software without restriction, including without limitation the rights"},{"text":" ","type":"text"},{"type":"text","text":"to use, copy, modify, merge, publish, distribute, sublicense, and\/or sell"},{"type":"text","text":" "},{"type":"text","text":"copies of the Software, and to permit persons to whom the Software is"},{"text":" ","type":"text"},{"text":"furnished to do so, subject to the following conditions:","type":"text"}],"type":"paragraph"},{"type":"paragraph","inlineContent":[{"type":"text","text":"The above copyright notice and this permission notice shall be included in all"},{"type":"text","text":" "},{"type":"text","text":"copies or substantial portions of the Software."}]},{"type":"paragraph","inlineContent":[{"type":"text","text":"THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR"},{"type":"text","text":" "},{"text":"IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,","type":"text"},{"type":"text","text":" "},{"type":"text","text":"FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE"},{"type":"text","text":" "},{"type":"text","text":"AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER"},{"type":"text","text":" "},{"type":"text","text":"LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,"},{"type":"text","text":" "},{"type":"text","text":"OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE"},{"type":"text","text":" "},{"type":"text","text":"SOFTWARE."}]}]}],"hierarchy":{"paths":[["doc:\/\/SKHelper\/documentation\/SKHelper"]]},"abstract":[{"type":"text","text":"Copyright (c) 2024 Russell Archer"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/skhelper\/license"]}],"schemaVersion":{"patch":0,"major":0,"minor":3},"kind":"article","sections":[],"references":{"doc://SKHelper/documentation/SKHelper":{"title":"SKHelper","abstract":[{"code":"SKHelper","type":"codeVoice"},{"type":"text","text":" is a Swift Package Manager (SPM) package that enables developers using "},{"inlineContent":[{"text":"Xcode 16","type":"text"}],"type":"strong"},{"text":" to easily add in-app purchase","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"support to "},{"type":"strong","inlineContent":[{"text":"iOS 17+","type":"text"}]},{"type":"text","text":" and "},{"type":"strong","inlineContent":[{"type":"text","text":"macOS 14.6+"}]},{"text":" SwiftUI apps.","type":"text"}],"identifier":"doc:\/\/SKHelper\/documentation\/SKHelper","type":"topic","images":[{"identifier":"skhelper-logo-small.png","type":"icon"}],"url":"\/documentation\/skhelper","kind":"symbol","role":"collection"},"skhelper-logo-small.png":{"alt":null,"identifier":"skhelper-logo-small.png","type":"image","variants":[{"traits":["1x","light"],"url":"\/images\/SKHelper\/skhelper-logo-small.png"}]}}}
1 change: 1 addition & 0 deletions docs/data/documentation/skhelper/onsubscriptionchange.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"abstract":[{"text":"The ","type":"text"},{"type":"codeVoice","code":"OnSubscriptionChange"},{"type":"text","text":" ViewModifier allows you to be notified of changes to the status of all subscriptions."},{"type":"text","text":" "},{"type":"text","text":"See also the "},{"type":"codeVoice","code":"onSubscriptionChange(onChange:)"},{"type":"text","text":" View extension."}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/skhelper\/onsubscriptionchange"]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange"},"topicSections":[{"generated":true,"identifiers":["doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/init(onChange:)"],"title":"Initializers","anchor":"Initializers"},{"anchor":"Instance-Methods","title":"Instance Methods","generated":true,"identifiers":["doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/body(content:)"]},{"title":"Default Implementations","identifiers":["doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/ViewModifier-Implementations"],"anchor":"Default-Implementations","generated":true}],"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"identifiers":["doc:\/\/SKHelper\/s8SendableP","doc:\/\/SKHelper\/7SwiftUI12ViewModifierP"],"title":"Conforms To","kind":"relationships","type":"conformsTo"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/SKHelper\/documentation\/SKHelper"]]},"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"attribute"},{"text":" ","kind":"text"},{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"OnSubscriptionChange"}],"languages":["swift"],"platforms":["macOS"]}]}],"kind":"symbol","metadata":{"role":"symbol","navigatorTitle":[{"text":"OnSubscriptionChange","kind":"identifier"}],"roleHeading":"Structure","externalID":"s:8SKHelper20OnSubscriptionChangeV","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"OnSubscriptionChange","kind":"identifier"}],"title":"OnSubscriptionChange","symbolKind":"struct","modules":[{"name":"SKHelper"}]},"references":{"doc://SKHelper/documentation/SKHelper/OnSubscriptionChange":{"url":"\/documentation\/skhelper\/onsubscriptionchange","abstract":[{"type":"text","text":"The "},{"type":"codeVoice","code":"OnSubscriptionChange"},{"type":"text","text":" ViewModifier allows you to be notified of changes to the status of all subscriptions."},{"type":"text","text":" "},{"text":"See also the ","type":"text"},{"type":"codeVoice","code":"onSubscriptionChange(onChange:)"},{"type":"text","text":" View extension."}],"identifier":"doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange","navigatorTitle":[{"text":"OnSubscriptionChange","kind":"identifier"}],"role":"symbol","title":"OnSubscriptionChange","type":"topic","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"OnSubscriptionChange","kind":"identifier"}],"kind":"symbol"},"doc://SKHelper/documentation/SKHelper/OnSubscriptionChange/ViewModifier-Implementations":{"url":"\/documentation\/skhelper\/onsubscriptionchange\/viewmodifier-implementations","abstract":[],"identifier":"doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/ViewModifier-Implementations","role":"collectionGroup","title":"ViewModifier Implementations","type":"topic","kind":"article"},"doc://SKHelper/7SwiftUI12ViewModifierP":{"identifier":"doc:\/\/SKHelper\/7SwiftUI12ViewModifierP","type":"unresolvable","title":"SwiftUICore.ViewModifier"},"doc://SKHelper/s8SendableP":{"title":"Swift.Sendable","type":"unresolvable","identifier":"doc:\/\/SKHelper\/s8SendableP"},"doc://SKHelper/documentation/SKHelper":{"title":"SKHelper","abstract":[{"code":"SKHelper","type":"codeVoice"},{"type":"text","text":" is a Swift Package Manager (SPM) package that enables developers using "},{"inlineContent":[{"text":"Xcode 16","type":"text"}],"type":"strong"},{"text":" to easily add in-app purchase","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"support to "},{"type":"strong","inlineContent":[{"text":"iOS 17+","type":"text"}]},{"type":"text","text":" and "},{"type":"strong","inlineContent":[{"type":"text","text":"macOS 14.6+"}]},{"text":" SwiftUI apps.","type":"text"}],"identifier":"doc:\/\/SKHelper\/documentation\/SKHelper","type":"topic","images":[{"identifier":"skhelper-logo-small.png","type":"icon"}],"url":"\/documentation\/skhelper","kind":"symbol","role":"collection"},"doc://SKHelper/documentation/SKHelper/OnSubscriptionChange/init(onChange:)":{"title":"init(onChange:)","abstract":[{"text":"Creates an ","type":"text"},{"code":"OnSubscriptionChange","type":"codeVoice"},{"type":"text","text":" ViewModifier."}],"fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"onChange"},{"kind":"text","text":": "},{"text":"SubscriptionStatusChangeClosure","preciseIdentifier":"s:8SKHelper31SubscriptionStatusChangeClosurea","kind":"typeIdentifier"},{"text":"?)","kind":"text"}],"role":"symbol","type":"topic","kind":"symbol","identifier":"doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/init(onChange:)","url":"\/documentation\/skhelper\/onsubscriptionchange\/init(onchange:)"},"doc://SKHelper/documentation/SKHelper/OnSubscriptionChange/body(content:)":{"url":"\/documentation\/skhelper\/onsubscriptionchange\/body(content:)","kind":"symbol","title":"body(content:)","abstract":[{"type":"text","text":"Builds the body of the "},{"type":"codeVoice","code":"OnSubscriptionChange"},{"text":" view modifier.","type":"text"}],"identifier":"doc:\/\/SKHelper\/documentation\/SKHelper\/OnSubscriptionChange\/body(content:)","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"body","kind":"identifier"},{"text":"(","kind":"text"},{"text":"content","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:8SKHelper20OnSubscriptionChangeV","kind":"typeIdentifier","text":"OnSubscriptionChange"},{"text":".","kind":"text"},{"text":"Content","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier"}]},"skhelper-logo-small.png":{"identifier":"skhelper-logo-small.png","alt":null,"variants":[{"url":"\/images\/SKHelper\/skhelper-logo-small.png","traits":["1x","light"]}],"type":"image"}}}
Loading

0 comments on commit f09d708

Please sign in to comment.