mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-01-12 17:22:28 +08:00
Fix private method definition inconsistency and add a few missing imports
Summary: All of the other public "configureWithNetworker" methods have an override for NS_SWIFT_NAME that renames the Swift method to use "networker" instead of "withNetworker". This "fixes" the definition of what the private method should be in Swift. Also adding a few missing imports that will have to be eventually added when the FBAEMKit.h file is removed. Reviewed By: samodom Differential Revision: D40191595 fbshipit-source-id: 033c316c42ec976702bb40aba7e074703200df68
This commit is contained in:
committed by
Facebook GitHub Bot
parent
64ffc737f2
commit
b3ec797cda
@@ -8,6 +8,8 @@
|
||||
|
||||
#if !os(tvOS)
|
||||
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
Internal Type exposed to facilitate transition to Swift.
|
||||
API Subject to change or removal without warning. Do not use.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#if !os(tvOS)
|
||||
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
Internal Type exposed to facilitate transition to Swift.
|
||||
API Subject to change or removal without warning. Do not use.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#if !os(tvOS)
|
||||
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
Internal Type exposed to facilitate transition to Swift.
|
||||
API Subject to change or removal without warning. Do not use.
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#if !os(tvOS)
|
||||
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
Internal Type exposed to facilitate transition to Swift.
|
||||
API Subject to change or removal without warning. Do not use.
|
||||
|
||||
@@ -73,7 +73,7 @@ final class AEMReporterTests: XCTestCase {
|
||||
AEMReporter.reset()
|
||||
removeReportFile()
|
||||
AEMReporter.configure(
|
||||
withNetworker: networker,
|
||||
networker: networker,
|
||||
appID: "123",
|
||||
reporter: reporter,
|
||||
analyticsAppID: analyticsAppID,
|
||||
|
||||
@@ -38,7 +38,8 @@ typedef void (^FBAEMReporterBlock)(NSError *_Nullable);
|
||||
appID:(nullable NSString *)appID
|
||||
reporter:(nullable id<FBSKAdNetworkReporting>)reporter
|
||||
analyticsAppID:(nullable NSString *)analyticsAppID
|
||||
store:(nullable id<FBSDKDataPersisting>)store;
|
||||
store:(nullable id<FBSDKDataPersisting>)store
|
||||
NS_SWIFT_NAME(configure(networker:appID:reporter:analyticsAppID:store:));
|
||||
|
||||
+ (void)enable;
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
@testable import FBAEMKit
|
||||
@testable import FBSDKCoreKit
|
||||
|
||||
import XCTest
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import FBAEMKit
|
||||
import Foundation
|
||||
|
||||
public final class TestAEMNetworker: NSObject, AEMNetworking {
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
import FBAEMKit
|
||||
import Foundation
|
||||
|
||||
public final class TestSKAdNetworkReporter: NSObject, SKAdNetworkReporting {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user