Commit 16f7edc5 authored by DrashtiPatel's avatar DrashtiPatel

initail commit

parent 6e09a350
// The Swift Programming Language
// https://docs.swift.org/swift-book
//
// File.swift
//
//
// Created by uffizio on 23/10/24.
//
import Foundation
import UIKit
import WebKit
public class MediumWebView: WKWebView {
public init() {
let webConfiguration = WKWebViewConfiguration()
webConfiguration.preferences.javaScriptEnabled = true
super.init(frame: .zero, configuration: webConfiguration)
self.scrollView.isScrollEnabled = false
self.isMultipleTouchEnabled = false
}
required init?(coder: NSCoder) {
super.init(coder: coder)
}
@discardableResult
public func load() -> WKNavigation? {
if let url = URL(string:"http://example.com") {
let req = URLRequest(url: url)
return super.load(req)
}
return nil
}
}
import XCTest
@testable import ParentSDKLibrary
final class ParentSDKLibraryTests: XCTestCase {
func testExample() throws {
// XCTest Documentation
// https://developer.apple.com/documentation/xctest
// Defining Test Cases and Test Methods
// https://developer.apple.com/documentation/xctest/defining_test_cases_and_test_methods
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment