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

chore: Migrate some obj-c code to Swift in WireImages - WPB-15697 #2426

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

samwyndham
Copy link
Contributor

@samwyndham samwyndham commented Jan 24, 2025

Issue

This PR is made as part of platform day and includes migrating some obj-c code to Swift in the WireImages project. It also includes making the Tests group into a folder.

Unfortunately I only touched the surface and there is still a bunch more obj-c to migrate away.

Note to reviewers

Please go commit by commit to make your job easier!

Testing

Run unit tests


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

@samwyndham samwyndham requested review from a team, netbe, El-Fitz, johnxnguyen and caldrian and removed request for a team, El-Fitz and johnxnguyen January 24, 2025 16:26
Copy link
Contributor

Test Results

62 tests   62 ✅  12s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 4c5b478.

@datadog-wireapp
Copy link

Datadog Report

Branch report: chore/objc-swift-WPB-15697
Commit report: 5209d9a
Test service: wire-ios-mono

✅ 0 Failed, 62 Passed, 0 Skipped, 12.06s Total Time

Comment on lines +22 to +24
@objc
public class ZMIImageProperties: NSObject {
@objc public let size: CGSize
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@objc
public class ZMIImageProperties: NSObject {
@objc public let size: CGSize
@objc @objcMembers
public class ZMIImageProperties: NSObject {
public let size: CGSize

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