SWWebView
An experiment in adding Service Worker APIs to an iOS WKWebView
파일 탐색기
최종 버전 다운로드 (.zip)- indexeddbshim.js
- package-lock.json
- package.json
- Migration.swift
- ConstructableEvent.swift
- Event.swift
- EventListenerProtocol.swift
- EventTarget.swift
- ExtendableEvent.swift
- FetchEvent.swift
- JSEventListener.swift
- SwiftEventListener.swift
- ConsoleMirror.swift
- EvaluateScriptCall.swift
- ServiceWorkerExecutionEnvironment.swift
- TimeoutManager.swift
- FetchResponseProtocol.swift
- FetchResponseProxy.swift
- ResponseType.swift
- FetchCORSRestrictions.swift
- FetchHeaders.swift
- FetchRequest.swift
- FetchResponse.swift
- FetchSession.swift
- FetchTask.swift
- HttpStatusCodes.swift
- GlobalEventLog.swift
- Client.swift
- Clients.swift
- WindowClient.swift
- JSURL.swift
- LocationBase.swift
- URLSearchParams.swift
- WorkerLocation.swift
- ServiceWorkerGlobalScope.swift
- ServiceWorkerGlobalScopeDelegate.swift
- Cache.swift
- CacheMatchOptions.swift
- CacheStorage.swift
- CacheStorageProviderDelegate.swift
- ClientMatchAllOptions.swift
- ClientProtocol.swift
- ClientType.swift
- ServiceWorkerClientsDelegate.swift
- WindowClientProtocol.swift
- WindowClientVisibilityState.swift
- ServiceWorkerRegistrationProtocol.swift
- ServiceWorkerDelegate.swift
- GlobalVariableProvider.swift
- JSArrayBuffer.swift
- JSArrayBufferStream.swift
- JSContextPromise.swift
- PromiseToJSPromise.swift
- package.json
- yarn.lock
- ExtendableMessageEvent.swift
- MessageChannel.swift
- MessagePort.swift
- MessagePortTarget.swift
- Transferable.swift
- SQLiteBlobReadStream.swift
- SQLiteBlobStreamPointer.swift
- SQLiteBlobWriteStream.swift
- SQLiteConnection.swift
- SQLiteDataType.swift
- SQLiteResultSet.swift
- InputStreamImplementation.swift
- OutputStreamImplementation.swift
- PassthroughStream.swift
- StreamPipe.swift
- ErrorMessage.swift
- PromiseFulfillExtensions.swift
- SharedLogInterface.swift
- WebSQLDatabase.swift
- WebSQLResultRows.swift
- WebSQLResultSet.swift
- WebSQLTransaction.swift
- Info.plist
- ServiceWorker.h
- ServiceWorker.swift
- ServiceWorkerInstallState.swift
- contents.xcworkspacedata
- project.pbxproj
- CacheTests.swift
- ClientsTests.swift
- Migrate.swift
- EventTargetTests.swift
- ExtendableEventTests.swift
- FetchEventTests.swift
- ConstructableFetchResponseTests.swift
- FetchHeadersTests.swift
- FetchOperation.swift
- FetchOperationCORS.swift
- FetchPerformance.swift
- FetchRequestTests.swift
- FetchResponse.swift
- ConsoleMirrorTests.swift
- ExecutionTests.swift
- GlobalScopeTests.swift
- ImportScriptsTests.swift
- TimeoutTests.swift
- URLTests.swift
- IndexedDBTests.swift
- JSPromise.swift
- MessageChannelTests.swift
- MessagePortTests.swift
- PassthroughStream.swift
- StreamPipeTests.swift
- WebSQLConnection.swift
- Bootstrap.swift
- Info.plist
- PerformanceTests.swift
- ServiceWorkerTests.swift
- SQLiteTests.swift
- ZZZZ_TestEndChecks.swift
- .swiftlint.yml
- SQLiteCache.swift
- SQLiteCacheStorage.swift
- 1_initial_cache_table.sql
- 2_cache_entries_table.sql
- 1_worker_tables.sql
- 2_imported_scripts.sql
- 3_add_content_hashes.sql
- WorkerInstallationError.swift
- WorkerFactory.swift
- WorkerRegistrationFactory.swift
- ServiceWorkerStorageProvider.swift
- RegistrationWorkerSlots.swift
- ServiceWorkerRegistration.swift
- ServiceWorkerRegistrationOptions.swift
- CoreDatabase.swift
- DatabaseType.swift
- DBConnectionPool.swift
- SharedResources.swift
- Info.plist
- ServiceWorkerContainer.h
- ServiceWorkerContainer.swift
- contents.xcworkspacedata
- project.pbxproj
- contents.xcworkspacedata
- ImportScriptsTests.swift
- Bootstrap.swift
- Info.plist
- ServiceWorkerContainerTests.swift
- ServiceWorkerRegistrationTests.swift
- .swiftlint.yml
- mocha.css
- mocha.js
- settings.json
- service-worker-container.ts
- service-worker-registration.ts
- service-worker.ts
- eventsource.d.ts
- eventtarget.d.ts
- swwebview-settings.d.ts
- enums.ts
- messageport-manager.ts
- transferrable-converter.ts
- api-responses.ts
- api-request.ts
- console-interceptor.js
- streaming-xhr.ts
- boot.ts
- event-stream.ts
- fetch-graft.ts
- fetch-grafts.ts
- http-hooks.ts
- blank.html
- blank.html
- cache-file.txt
- cache-file2.txt
- exec-worker.js
- script-to-import.js
- script-to-import2.js
- test-message-reply-worker.js
- test-register-worker.js
- test-response-worker.js
- test-take-control-worker.js
- test-worker-that-fails.js
- cache-storage.ts
- cache.ts
- console-interceptor.ts
- service-worker-container.ts
- service-worker.ts
- exec-in-worker.ts
- sw-lifecycle.ts
- unregister-everything.ts
- with-iframe.ts
- test-bootstrap.ts
- tests.d.ts
- tests.html
- gobblefile.js
- package-lock.json
- package.json
- rollup.config.js
- rollup.test.config.js
- tsconfig.json
- SWWebViewBridge.swift
- MessagePortAction.swift
- MessagePortWrapper.swift
- EventStream.swift
- MessagePortHandler.swift
- ServiceWorkerCommands.swift
- ServiceWorkerContainerCommands.swift
- ServiceWorkerRegistrationCommands.swift
- SWURLSchemeTaskOutputPipe.swift
- SWWebViewContainerDelegate.swift
- SWWebViewCoordinator.swift
- runtime.js
- runtime.js.map
- SWNavigationAction.swift
- SWNavigationResponse.swift
- SWURLSchemeTask.swift
- ServiceWorker.swift
- ServiceWorkerContainer.swift
- ServiceWorkerRegistration.swift
- ToJSON.swift
- WorkerInstallationError.swift
- Info.plist
- SWWebView.h
- SWWebView.swift
- SWWebViewNavigationDelegate.swift
- Contents.json
- LaunchScreen.storyboard
- tests.js
- AppDelegate.swift
- Info.plist
- ViewController.swift
- contents.xcworkspacedata
- project.pbxproj
- contents.xcworkspacedata
- tests.js
- .swiftlint.yml
- Default-568h@2x.png
- GlobalContextMessingAround.swift
- PromiseAssert.swift
- ServiceWorkerContainerExtensions.swift
- ServiceWorkerExtensions.swift
- TestWeb.swift
- .gitignore
- Cartfile
- Cartfile.resolved
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/gdnmobilelab/SWWebView
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd SWWebView
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd SWWebView/js-src
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
// repository documentation
Was this content helpful?
(0 ratings)
