Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ParentSDK
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
school
ParentSDK
Commits
16f7edc5
Commit
16f7edc5
authored
Oct 23, 2024
by
DrashtiPatel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initail commit
parent
6e09a350
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
14 deletions
+34
-14
ParentSDKLibrary.swift
Sources/ParentSDKLibrary/ParentSDKLibrary.swift
+0
-2
SDK.swift
Sources/ParentSDKLibrary/SDK.swift
+34
-0
ParentSDKLibraryTests.swift
Tests/ParentSDKLibraryTests/ParentSDKLibraryTests.swift
+0
-12
No files found.
Sources/ParentSDKLibrary/ParentSDKLibrary.swift
deleted
100644 → 0
View file @
6e09a350
// The Swift Programming Language
// https://docs.swift.org/swift-book
Sources/ParentSDKLibrary/SDK.swift
0 → 100644
View file @
16f7edc5
//
// 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
}
}
Tests/ParentSDKLibraryTests/ParentSDKLibraryTests.swift
deleted
100644 → 0
View file @
6e09a350
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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment