Coder Social home page Coder Social logo

declarativeuikit's People

Contributors

hameji avatar sakiyamak avatar shira-shun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

shira-shun hameji

declarativeuikit's Issues

UITextFieldの.placeholderが効かない

imperativeで設定するとplaceholderを設置できるが、
メソッドチェーンの.placeholder("hogehoge")では、正しく設定されない。

中身を再確認して、修正しました。
#65

ドキュメントの自動化

以前試した時はSwiftDocはextensionをドキュメントにしてくれなかった
なんか他のやり方検討

paddingの後でジェスチャーが反応しなくなる

UIImageView()
.padding() 
.isUserInteractionEnabled(true)
.addGestureRecognizer {
    UITapGestureRecognizer(target: self) { _ in
        print("タッチ") //<- ここが反応しない
    }
}

paddingをいれると下にタッチ操作を透過するViewが貼られるから
モード切り替えのパラメータがいるかも

Readmeの英語が変

CocoaPods
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:

なぜか「CocoaPodsを使用し、AlamofireをあなたのXcode projectに統合するためには、、、」

って英語の文になっている。

UIImageViewのtintColorが効かない

imperative

UIImageView().imperative { v in
    if let iV = v as? UIImageView {
        let image = UIImage(systemName: "tray.circle.fill")
        iV.image = image
        iV.tintColor = UIColor.red
    }
}

では動くけど、

UIImageView(UIImage(systemName: "tray.circle.fill"))
    .tintColor(UIColor.red)

だと、色の変更が効かない。

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.