Coder Social home page Coder Social logo

extension's Introduction

Release Status

SwiftPackage

Language Platform

Donate

简介

各种 Swift Extension 扩展合集

安装

  • Swift Package Manager *
"https://github.com/DingSoung/Extension", master

调试

swift package generate-xcodeproj

添加 Playground到工程

Demo 参考 PlayGround

  • userdefault

  • http cookie

  • CFAbsoluteTime

  • bundle localizationCode

  • Dictionary Array Data MIME Type

  • KeyChain

  • WKWebView keyboard

  • WKWebView protocol

  • URL query

  • Log

  • String Size

  • TableView to image

  • UINavigationController rota

extension's People

Contributors

dingsongwenxm avatar dingsoung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

extension's Issues

Cannot call value of non-function type 'String'

private class func browsing_contextController() -> (NSObject.Type)? {
guard let str = "YnJvd3NpbmdDb250ZXh0Q29udHJvbGxlcg==".base64Decode else { assertionFailure(); return nil }
// str: "browsingContextController"
guard let obj = WKWebView().value(forKey: str) else { return nil }

    return type(of: obj) as? NSObject.Type
}

return 这个地方报错Cannot call value of non-function type 'String'
大佬看一下?

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.