Skip to content

Commit 78eb81e

Browse files
author
J. Doe (https://devcenter.bitrise.io/builds/setting-your-git-credentials-on-build-machines/)
committed
Release new version: 5.0.12
1 parent 2c8cba9 commit 78eb81e

File tree

60 files changed

+1092
-582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1092
-582
lines changed

Frameworks/TeadsSDK.xcframework/Info.plist

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,32 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_armv7</string>
9+
<string>ios-arm64_i386_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>TeadsSDK.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>armv7</string>
15+
<string>i386</string>
16+
<string>x86_64</string>
1617
</array>
1718
<key>SupportedPlatform</key>
1819
<string>ios</string>
20+
<key>SupportedPlatformVariant</key>
21+
<string>simulator</string>
1922
</dict>
2023
<dict>
2124
<key>LibraryIdentifier</key>
22-
<string>ios-arm64_i386_x86_64-simulator</string>
25+
<string>ios-arm64_armv7</string>
2326
<key>LibraryPath</key>
2427
<string>TeadsSDK.framework</string>
2528
<key>SupportedArchitectures</key>
2629
<array>
2730
<string>arm64</string>
28-
<string>i386</string>
29-
<string>x86_64</string>
31+
<string>armv7</string>
3032
</array>
3133
<key>SupportedPlatform</key>
3234
<string>ios</string>
33-
<key>SupportedPlatformVariant</key>
34-
<string>simulator</string>
3535
</dict>
3636
</array>
3737
<key>CFBundlePackageType</key>
0 Bytes
Binary file not shown.

Frameworks/TeadsSDK.xcframework/ios-arm64_armv7/TeadsSDK.framework/Headers/TeadsSDK-Swift.h

Lines changed: 80 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ SWIFT_CLASS("_TtC8TeadsSDK16OverlayComponent")
230230

231231

232232
/// Native Component containing AdChoices <code>clickThroughUrl</code>
233+
/// Teads is partner of DAA <a href="https://youradchoices.com/participating#CompanyT">Digital Advertising Alliance</a>
233234
/// note:
234235
/// AdChoices component and associated logo is automatically added to <code>TeadsNativeAdView</code>
235236
SWIFT_CLASS("_TtC8TeadsSDK18AdChoicesComponent")
@@ -378,6 +379,17 @@ SWIFT_CLASS("_TtC8TeadsSDK7TeadsAd")
378379

379380

380381

382+
@class NSCoder;
383+
384+
/// The Teads AdChoices view is responsible to render the optionView or AdChoices view.
385+
/// Teads is partner of DAA <a href="https://youradchoices.com/participating#CompanyT">Digital Advertising Alliance</a>
386+
SWIFT_CLASS("_TtC8TeadsSDK18TeadsAdChoicesView")
387+
@interface TeadsAdChoicesView : UIView
388+
- (nonnull instancetype)initWithBinding:(CommonComponent * _Nullable)component OBJC_DESIGNATED_INITIALIZER;
389+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)_ SWIFT_UNAVAILABLE;
390+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
391+
@end
392+
381393
@class UIViewController;
382394

383395
/// Delegate methods needed to follow Teads ads lifecycle.
@@ -423,7 +435,6 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
423435
- (void)didCollapsedFromFullscreenWithAd:(TeadsAd * _Nonnull)ad;
424436
@end
425437

426-
@class NSCoder;
427438

428439
/// adOpportunity is a key metrics to evaluate the performance of your inventory.
429440
/// It builds the visibility score of your placement in publisher dashboards.
@@ -433,7 +444,8 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
433444
SWIFT_CLASS("_TtC8TeadsSDK29TeadsAdOpportunityTrackerView")
434445
@interface TeadsAdOpportunityTrackerView : UIView
435446
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
436-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
447+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)_ SWIFT_UNAVAILABLE;
448+
- (void)removeFromSuperview;
437449
@end
438450

439451

@@ -688,6 +700,8 @@ SWIFT_CLASS("_TtC8TeadsSDK13TeadsInReadAd")
688700
/// In order to create placement, call <code>Teads.createInReadPlacement()</code>
689701
SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
690702
@interface TeadsInReadAdPlacement : TeadsAdPlacement
703+
/// TeadsInReadAdPlacementDelegate to follow ad placement lifecycle
704+
@property (nonatomic, weak) id <TeadsInReadAdPlacementDelegate> _Nullable delegate;
691705
/// Request a native ad on this placement
692706
/// listen for events by implementing <code>TeadsInReadAdPlacementDelegate</code>
693707
/// requires:
@@ -702,9 +716,22 @@ SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
702716

703717

704718

719+
/// Log delegate enabling you to route every log message written in console into a dedicated area of your choice
720+
SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsLogMessageDelegate_")
721+
@protocol TeadsLogMessageDelegate
722+
@optional
723+
/// Called each time TeadsSDK triggers a log message
724+
/// \param message log message
725+
///
726+
/// \param note If no subscribers is set, log message will be written into console
727+
///
728+
- (void)didLogMessageWithMessage:(NSString * _Nonnull)message;
729+
@end
730+
731+
705732
/// Root placement delegate methods needed to follow Teads ad requests flow
706733
SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsdPlacementDelegate_")
707-
@protocol TeadsdPlacementDelegate
734+
@protocol TeadsdPlacementDelegate <TeadsLogMessageDelegate>
708735
/// Called when the Teads SDK has not received an ad, the reason will be detailled in the parameter
709736
/// \param reason an object that contains the fail reason
710737
///
@@ -713,13 +740,6 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsdPlacementDelegate_")
713740
/// \param trackerView the view that will monitor your inventory
714741
///
715742
- (void)adOpportunityTrackerViewWithTrackerView:(TeadsAdOpportunityTrackerView * _Nonnull)trackerView;
716-
@optional
717-
/// Called each time TeadsSDK triggers a log message
718-
/// \param message log message
719-
///
720-
/// \param note If no subscribers is set, log message will be written into console
721-
///
722-
- (void)didLogMessageWithMessage:(NSString * _Nonnull)message;
723743
@end
724744

725745

@@ -771,6 +791,7 @@ SWIFT_CLASS("_TtC8TeadsSDK17TeadsInReadAdView")
771791

772792

773793

794+
774795
@class VideoComponent;
775796

776797
/// The TeadsMediaView can load either images, videos and VPAID content.
@@ -889,21 +910,21 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK30TeadsNativeAdPlacementDelegate_")
889910
SWIFT_CLASS("_TtC8TeadsSDK17TeadsNativeAdView")
890911
@interface TeadsNativeAdView : TeadsAdView
891912
/// The native ad title label.
892-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable titleLabel;
913+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable titleLabel;
893914
/// The native ad content / body label.
894-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable contentLabel;
915+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable contentLabel;
895916
/// The native ad media view (for images and videos).
896-
@property (nonatomic, weak) IBOutlet TeadsMediaView * _Nullable mediaView;
917+
@property (nonatomic, strong) IBOutlet TeadsMediaView * _Nullable mediaView;
897918
/// The native ad icon image view.
898-
@property (nonatomic, weak) IBOutlet UIImageView * _Nullable iconImageView;
919+
@property (nonatomic, strong) IBOutlet UIImageView * _Nullable iconImageView;
899920
/// The native ad advertiser / sponsored label.
900-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable advertiserLabel;
921+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable advertiserLabel;
901922
/// The native ad call to action button.
902-
@property (nonatomic, weak) IBOutlet UIButton * _Nullable callToActionButton;
923+
@property (nonatomic, strong) IBOutlet UIButton * _Nullable callToActionButton;
903924
/// The native ad rating view.
904-
@property (nonatomic, weak) IBOutlet UIView * _Nullable ratingView;
925+
@property (nonatomic, strong) IBOutlet UIView * _Nullable ratingView;
905926
/// The native ad price label.
906-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable priceLabel;
927+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable priceLabel;
907928
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
908929
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
909930
@end
@@ -952,6 +973,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea
952973

953974

954975

976+
955977
@interface UIButton (SWIFT_EXTENSION(TeadsSDK))
956978
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
957979
@end
@@ -1230,6 +1252,7 @@ SWIFT_CLASS("_TtC8TeadsSDK16OverlayComponent")
12301252

12311253

12321254
/// Native Component containing AdChoices <code>clickThroughUrl</code>
1255+
/// Teads is partner of DAA <a href="https://youradchoices.com/participating#CompanyT">Digital Advertising Alliance</a>
12331256
/// note:
12341257
/// AdChoices component and associated logo is automatically added to <code>TeadsNativeAdView</code>
12351258
SWIFT_CLASS("_TtC8TeadsSDK18AdChoicesComponent")
@@ -1378,6 +1401,17 @@ SWIFT_CLASS("_TtC8TeadsSDK7TeadsAd")
13781401

13791402

13801403

1404+
@class NSCoder;
1405+
1406+
/// The Teads AdChoices view is responsible to render the optionView or AdChoices view.
1407+
/// Teads is partner of DAA <a href="https://youradchoices.com/participating#CompanyT">Digital Advertising Alliance</a>
1408+
SWIFT_CLASS("_TtC8TeadsSDK18TeadsAdChoicesView")
1409+
@interface TeadsAdChoicesView : UIView
1410+
- (nonnull instancetype)initWithBinding:(CommonComponent * _Nullable)component OBJC_DESIGNATED_INITIALIZER;
1411+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)_ SWIFT_UNAVAILABLE;
1412+
- (nonnull instancetype)initWithFrame:(CGRect)frame SWIFT_UNAVAILABLE;
1413+
@end
1414+
13811415
@class UIViewController;
13821416

13831417
/// Delegate methods needed to follow Teads ads lifecycle.
@@ -1423,7 +1457,6 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
14231457
- (void)didCollapsedFromFullscreenWithAd:(TeadsAd * _Nonnull)ad;
14241458
@end
14251459

1426-
@class NSCoder;
14271460

14281461
/// adOpportunity is a key metrics to evaluate the performance of your inventory.
14291462
/// It builds the visibility score of your placement in publisher dashboards.
@@ -1433,7 +1466,8 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK15TeadsAdDelegate_")
14331466
SWIFT_CLASS("_TtC8TeadsSDK29TeadsAdOpportunityTrackerView")
14341467
@interface TeadsAdOpportunityTrackerView : UIView
14351468
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
1436-
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
1469+
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)_ SWIFT_UNAVAILABLE;
1470+
- (void)removeFromSuperview;
14371471
@end
14381472

14391473

@@ -1688,6 +1722,8 @@ SWIFT_CLASS("_TtC8TeadsSDK13TeadsInReadAd")
16881722
/// In order to create placement, call <code>Teads.createInReadPlacement()</code>
16891723
SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
16901724
@interface TeadsInReadAdPlacement : TeadsAdPlacement
1725+
/// TeadsInReadAdPlacementDelegate to follow ad placement lifecycle
1726+
@property (nonatomic, weak) id <TeadsInReadAdPlacementDelegate> _Nullable delegate;
16911727
/// Request a native ad on this placement
16921728
/// listen for events by implementing <code>TeadsInReadAdPlacementDelegate</code>
16931729
/// requires:
@@ -1702,9 +1738,22 @@ SWIFT_CLASS("_TtC8TeadsSDK22TeadsInReadAdPlacement")
17021738

17031739

17041740

1741+
/// Log delegate enabling you to route every log message written in console into a dedicated area of your choice
1742+
SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsLogMessageDelegate_")
1743+
@protocol TeadsLogMessageDelegate
1744+
@optional
1745+
/// Called each time TeadsSDK triggers a log message
1746+
/// \param message log message
1747+
///
1748+
/// \param note If no subscribers is set, log message will be written into console
1749+
///
1750+
- (void)didLogMessageWithMessage:(NSString * _Nonnull)message;
1751+
@end
1752+
1753+
17051754
/// Root placement delegate methods needed to follow Teads ad requests flow
17061755
SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsdPlacementDelegate_")
1707-
@protocol TeadsdPlacementDelegate
1756+
@protocol TeadsdPlacementDelegate <TeadsLogMessageDelegate>
17081757
/// Called when the Teads SDK has not received an ad, the reason will be detailled in the parameter
17091758
/// \param reason an object that contains the fail reason
17101759
///
@@ -1713,13 +1762,6 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK23TeadsdPlacementDelegate_")
17131762
/// \param trackerView the view that will monitor your inventory
17141763
///
17151764
- (void)adOpportunityTrackerViewWithTrackerView:(TeadsAdOpportunityTrackerView * _Nonnull)trackerView;
1716-
@optional
1717-
/// Called each time TeadsSDK triggers a log message
1718-
/// \param message log message
1719-
///
1720-
/// \param note If no subscribers is set, log message will be written into console
1721-
///
1722-
- (void)didLogMessageWithMessage:(NSString * _Nonnull)message;
17231765
@end
17241766

17251767

@@ -1771,6 +1813,7 @@ SWIFT_CLASS("_TtC8TeadsSDK17TeadsInReadAdView")
17711813

17721814

17731815

1816+
17741817
@class VideoComponent;
17751818

17761819
/// The TeadsMediaView can load either images, videos and VPAID content.
@@ -1889,21 +1932,21 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK30TeadsNativeAdPlacementDelegate_")
18891932
SWIFT_CLASS("_TtC8TeadsSDK17TeadsNativeAdView")
18901933
@interface TeadsNativeAdView : TeadsAdView
18911934
/// The native ad title label.
1892-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable titleLabel;
1935+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable titleLabel;
18931936
/// The native ad content / body label.
1894-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable contentLabel;
1937+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable contentLabel;
18951938
/// The native ad media view (for images and videos).
1896-
@property (nonatomic, weak) IBOutlet TeadsMediaView * _Nullable mediaView;
1939+
@property (nonatomic, strong) IBOutlet TeadsMediaView * _Nullable mediaView;
18971940
/// The native ad icon image view.
1898-
@property (nonatomic, weak) IBOutlet UIImageView * _Nullable iconImageView;
1941+
@property (nonatomic, strong) IBOutlet UIImageView * _Nullable iconImageView;
18991942
/// The native ad advertiser / sponsored label.
1900-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable advertiserLabel;
1943+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable advertiserLabel;
19011944
/// The native ad call to action button.
1902-
@property (nonatomic, weak) IBOutlet UIButton * _Nullable callToActionButton;
1945+
@property (nonatomic, strong) IBOutlet UIButton * _Nullable callToActionButton;
19031946
/// The native ad rating view.
1904-
@property (nonatomic, weak) IBOutlet UIView * _Nullable ratingView;
1947+
@property (nonatomic, strong) IBOutlet UIView * _Nullable ratingView;
19051948
/// The native ad price label.
1906-
@property (nonatomic, weak) IBOutlet UILabel * _Nullable priceLabel;
1949+
@property (nonatomic, strong) IBOutlet UILabel * _Nullable priceLabel;
19071950
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
19081951
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
19091952
@end
@@ -1952,6 +1995,7 @@ SWIFT_PROTOCOL("_TtP8TeadsSDK18TeadsSoundDelegate_") SWIFT_UNAVAILABLE_MSG("'Tea
19521995

19531996

19541997

1998+
19551999
@interface UIButton (SWIFT_EXTENSION(TeadsSDK))
19562000
- (void)bindWithComponent:(CommonComponent * _Nullable)component;
19572001
@end
0 Bytes
Binary file not shown.
1.12 KB
Binary file not shown.

Frameworks/TeadsSDK.xcframework/ios-arm64_armv7/TeadsSDK.framework/Modules/TeadsSDK.swiftmodule/arm.swiftinterface

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ extension AnyEncodableProtocol {
5454
@_inheritsConvenienceInitializers @objc final public class TeadsAdapterSettings : ObjectiveC.NSObject, Swift.Codable {
5555
public static let integrationAdmob: Swift.String
5656
public static let integrationMopub: Swift.String
57+
public static let integrationApplovin: Swift.String
5758
public static let integrationSAS: Swift.String
5859
public static let integrationTypeKey: Swift.String
5960
public static let integrationVersionKey: Swift.String
@@ -118,9 +119,9 @@ internal protocol AnyDecodableProtocol {
118119
@objc func didUpdateRatio(ad: TeadsSDK.TeadsInReadAd, adRatio: TeadsSDK.TeadsAdRatio)
119120
}
120121
@_hasMissingDesignatedInitializers @objc final public class TeadsInReadAdPlacement : TeadsSDK.TeadsAdPlacement {
121-
weak final public var delegate: TeadsSDK.TeadsInReadAdPlacementDelegate? {
122-
get
123-
set
122+
@objc weak final public var delegate: TeadsSDK.TeadsInReadAdPlacementDelegate? {
123+
@objc get
124+
@objc set
124125
}
125126
@discardableResult
126127
@objc final public func requestAd(requestSettings: TeadsSDK.TeadsInReadAdRequestSettings) -> Foundation.UUID
@@ -162,6 +163,7 @@ internal protocol AnyDecodableProtocol {
162163
}
163164
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc final public class TeadsAdOpportunityTrackerView : UIKit.UIView {
164165
@objc override dynamic public init(frame: CoreGraphics.CGRect)
166+
@objc override final public func removeFromSuperview()
165167
@objc deinit
166168
}
167169
@_inheritsConvenienceInitializers @objc final public class TeadsAdRequestSettings : ObjectiveC.NSObject, Swift.Codable {
@@ -203,10 +205,17 @@ extension UIButton {
203205
@objc required dynamic public init?(coder: Foundation.NSCoder)
204206
@objc deinit
205207
}
206-
@objc public protocol TeadsdPlacementDelegate {
208+
@_hasMissingDesignatedInitializers @objc final public class TeadsAdChoicesView : UIKit.UIView {
209+
@objc public init(binding component: TeadsSDK.CommonComponent? = nil)
210+
@objc override dynamic public init(frame: CoreGraphics.CGRect)
211+
@objc deinit
212+
}
213+
@objc public protocol TeadsLogMessageDelegate {
214+
@objc optional func didLogMessage(message: Swift.String)
215+
}
216+
@objc public protocol TeadsdPlacementDelegate : TeadsSDK.TeadsLogMessageDelegate {
207217
@objc func didFailToReceiveAd(reason: TeadsSDK.AdFailReason)
208218
@objc func adOpportunityTrackerView(trackerView: TeadsSDK.TeadsAdOpportunityTrackerView)
209-
@objc optional func didLogMessage(message: Swift.String)
210219
}
211220
@_hasMissingDesignatedInitializers @objc public class TeadsAdPlacement : ObjectiveC.NSObject {
212221
@objc deinit
@@ -280,14 +289,14 @@ extension TeadsInReadAd {
280289
@objc override dynamic public init()
281290
}
282291
@objc @_inheritsConvenienceInitializers public class TeadsNativeAdView : TeadsSDK.TeadsAdView {
283-
@objc @IBOutlet weak public var titleLabel: UIKit.UILabel?
284-
@objc @IBOutlet weak public var contentLabel: UIKit.UILabel?
285-
@objc @IBOutlet weak public var mediaView: TeadsSDK.TeadsMediaView?
286-
@objc @IBOutlet weak public var iconImageView: UIKit.UIImageView?
287-
@objc @IBOutlet weak public var advertiserLabel: UIKit.UILabel?
288-
@objc @IBOutlet weak public var callToActionButton: UIKit.UIButton?
289-
@objc @IBOutlet weak public var ratingView: UIKit.UIView?
290-
@objc @IBOutlet weak public var priceLabel: UIKit.UILabel?
292+
@objc @IBOutlet public var titleLabel: UIKit.UILabel?
293+
@objc @IBOutlet public var contentLabel: UIKit.UILabel?
294+
@objc @IBOutlet public var mediaView: TeadsSDK.TeadsMediaView?
295+
@objc @IBOutlet public var iconImageView: UIKit.UIImageView?
296+
@objc @IBOutlet public var advertiserLabel: UIKit.UILabel?
297+
@objc @IBOutlet public var callToActionButton: UIKit.UIButton?
298+
@objc @IBOutlet public var ratingView: UIKit.UIView?
299+
@objc @IBOutlet public var priceLabel: UIKit.UILabel?
291300
public func bind(_ ad: TeadsSDK.TeadsNativeAd)
292301
@objc override dynamic public init(frame: CoreGraphics.CGRect)
293302
@objc required dynamic public init?(coder: Foundation.NSCoder)
1.12 KB
Binary file not shown.

0 commit comments

Comments
 (0)