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

Conversation

@crazytonyli
Copy link
Contributor

Description

What says in the title 😄

Testing Details

This PR should be low risk, as it only changed type declaration.

  • Please check here if your pull request includes additional test coverage.
  • I have considered updating the version in the .podspec file.

@crazytonyli crazytonyli requested review from a team and jkmassel December 11, 2022 20:17
@crazytonyli crazytonyli self-assigned this Dec 11, 2022
@@ -0,0 +1,25 @@
import Foundation

@objcMembers public class RemoteComment: NSObject {
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL @objcMembers!

public var postID: NSNumber?
public var likeCount: NSNumber?
public var commentCount: NSNumber?
public var taxonomies: NSArray?
Copy link
Contributor

Choose a reason for hiding this comment

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

Does Swift know about the underlying type here? If so, can we use a Swift collection?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed in d2d1125

Copy link
Contributor

@mokagio mokagio left a comment

Choose a reason for hiding this comment

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

Approving to unblock as @jkmassel 's concern about NSArray have been addressed.

@mokagio mokagio requested a review from jkmassel December 15, 2022 15:36
@crazytonyli crazytonyli changed the base branch from trunk to translate-objc-to-swift December 15, 2022 21:00
@crazytonyli
Copy link
Contributor Author

I've changed the base branch to the dedicated Swift migration branch, see #562 for more context.

@crazytonyli crazytonyli merged commit d262bf0 into translate-objc-to-swift Dec 16, 2022
@crazytonyli crazytonyli deleted the swift-translation-random-ones branch December 16, 2022 02:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants