Coder Social home page Coder Social logo

Comments (12)

kennyevo avatar kennyevo commented on September 21, 2024 8

I think this is already in master, so we "just" need a release

from rxwebkit.

kb100824 avatar kb100824 commented on September 21, 2024 2

@eebrian123tw93 like this just do it :

 static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> Void)?)
 static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> Void)?)

from rxwebkit.

eebrian123tw93 avatar eebrian123tw93 commented on September 21, 2024 2

use this line in podfile
pod 'RxWebKit', :git => 'https://github.com/RxSwiftCommunity/RxWebKit.git'

from rxwebkit.

lilong-git avatar lilong-git commented on September 21, 2024 1

we don't found v2.0.1 on cocopods
please release v2.0.1 on cocopods
https://github.com/CocoaPods/Specs/tree/master/Specs/1/a/c/RxWebKit

from rxwebkit.

wekrato avatar wekrato commented on September 21, 2024

I tried the above solution but it does not build on Xcode < 14.
Screenshot 2022-09-28 at 12 51 05
Are there any solutions which build on both versions?

from rxwebkit.

kennyevo avatar kennyevo commented on September 21, 2024

from rxwebkit.

wekrato avatar wekrato commented on September 21, 2024

Thanks, found it.
Here is the solution for all that don't want to search:

#if swift(>=5.7)
    static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationResponse, @escaping(WKNavigationResponsePolicy) -> Void) -> Void)?)
    static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as (WKNavigationDelegate) -> ((WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> Void)?)
#else
    static let decidePolicyNavigationResponse = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as ((WKNavigationDelegate) -> (WKWebView, WKNavigationResponse, @escaping(WKNavigationResponsePolicy) -> Void) -> Void)?)
    static let decidePolicyNavigationAction = #selector(WKNavigationDelegate.webView(_:decidePolicyFor:decisionHandler:) as ((WKNavigationDelegate) -> (WKWebView, WKNavigationAction, @escaping(WKNavigationActionPolicy) -> Void) -> Void)?)
#endif

from rxwebkit.

eebrian123tw93 avatar eebrian123tw93 commented on September 21, 2024

Pretty Good! Waiting RxWebKit 2.0.1 on cocopods
https://github.com/CocoaPods/Specs/tree/master/Specs/1/a/c/RxWebKit

from rxwebkit.

AlexeyPelekh avatar AlexeyPelekh commented on September 21, 2024

please, release this 2.0.1 version, really looking forward to this fix 🙂
thanks in advance

from rxwebkit.

fodderkonoko avatar fodderkonoko commented on September 21, 2024

on which date do you have a plan to release the version 2.0.1 on Cocoapods? we are waiting for the fix

from rxwebkit.

wekrato avatar wekrato commented on September 21, 2024

You mean, 2.0.2 correct?
2.0.1 does not include the fix AFAIK
I am waiting for it, too

from rxwebkit.

mkowszewicz avatar mkowszewicz commented on September 21, 2024

When can we expect a fix release for Xcode 14?

from rxwebkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.