-
Notifications
You must be signed in to change notification settings - Fork 5
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: update dependencies #38
Conversation
andrewjl-mux
commented
Sep 30, 2024
•
edited
Loading
edited
- Update Mux Data AVPlayer and Core SDK dependencies
- Replace Specta unit tests with XCTest
- Clean-up
* switch to plain text in LICENSE * move run-tests script to scripts * remove unnecessary example files * stop tracking Podfile.lock changes * stop tracking Pods directory content changes * remove old comment about travis CI, it is no longer used
0a2c7dc
to
2a38f7a
Compare
refactor: use init instead of new
cb1e115
to
2159870
Compare
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.
LGTM!
Had a non-blocking question about whether we should remove Podfile.lock
85df9d5
to
44a173e
Compare
44a173e
to
ba17f6d
Compare
[_playerBinding dispatchAdEvent: playbackEvent]; | ||
} else { | ||
_sendAdplayOnStarted = YES; | ||
} | ||
playbackEvent = [MUXSDKAdPlayingEvent new]; | ||
playbackEvent = [[MUXSDKAdPlayingEvent alloc] init]; |
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.
Calling alloc
and init
is equivalent to new
. new
doesn't support custom initializers (initializers other than init
, typically these take an argument). Modern Objective-C recommends use of custom initializers or factory methods (+ (instancetype)factoryMethodA
) for more explicitness. See here..
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.
Everything here is compiled with Automatic Reference Counting enabled, which disallows explicit management of reference counts except in limited circumstances. Bridging calls to older APIs. Not used in this SDK.
This reverts commit 82e8644.
Release branch PR: #40 |
|