Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ObjC example and add method annotations #78

Merged
merged 5 commits into from
Oct 25, 2023
Merged

Conversation

marandaneto
Copy link
Member

What does this PR do?

Add ObjC example and add method annotations
Otherwise ObjC calls would be super long and repetitive.

Where should the reviewer start?

How should this be manually tested?

Any background context you want to provide?

What are the relevant tickets?

Screenshots or screencasts (if UI/UX change)

Questions:

  • Does the docs need an update?
  • Are there any security concerns?
  • Do we need to update engineering / success?

@marandaneto marandaneto marked this pull request as ready for review October 24, 2023 08:19
PostHog/PostHogSDK.swift Outdated Show resolved Hide resolved
@@ -363,7 +425,7 @@ let maxRetryDelay = 30.0
return mergedGroups ?? [:]
}

@objc public func groupIdentify(type: String, key: String, groupProperties: [String: Any]? = nil) {
private func groupIdentify(type: String, key: String, groupProperties: [String: Any]? = nil) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep it as a group only as the other SDKs.

Copy link
Collaborator

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some change requests now that I've had time to think about the methods properly.

PostHog/PostHogFeatureFlags.swift Show resolved Hide resolved
PostHog/PostHogSDK.swift Outdated Show resolved Hide resolved
PostHog/PostHogSDK.swift Outdated Show resolved Hide resolved
PostHog/PostHogSDK.swift Outdated Show resolved Hide resolved
@marandaneto marandaneto merged commit 3b25ef0 into v3.0.0 Oct 25, 2023
1 of 2 checks passed
@marandaneto marandaneto deleted the chore/objc-example branch October 25, 2023 06:33
@marandaneto marandaneto mentioned this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants