-
Notifications
You must be signed in to change notification settings - Fork 16
Re-implement a few model types in Swift #560
Re-implement a few model types in Swift #560
Conversation
| @@ -0,0 +1,25 @@ | |||
| import Foundation | |||
|
|
|||
| @objcMembers public class RemoteComment: NSObject { | |||
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in d2d1125
mokagio
left a comment
There was a problem hiding this 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.
|
I've changed the base branch to the dedicated Swift migration branch, see #562 for more context. |
Description
What says in the title 😄
Testing Details
This PR should be low risk, as it only changed type declaration.
versionin the.podspecfile.