GithubHelp home page GithubHelp logo

bindingwithcell's People

Stargazers

 avatar

Watchers

 avatar  avatar

bindingwithcell's Issues

UISwitch Animation Hitches

탭 이벤트로 UISwitch 애니메이션 동작이 시작되는 동작과 tableView.reloadData()로 셀이 다시 그려지며 UISwitch의 값을 지정하는 동작이 UISwitch의 애니메이션 상태에 대한 Race Condition을 만들어 발생하는 문제.

Combine 바인딩 이벤트가 루프에 빠지는 버그 수정

놀랍게도 RxSwift의 .distinctUntilChanged()는 첫 이벤트는 비교할 대상이 없으므로 이벤트를 발생시키지 않지만 Combine의 .removeDuplicates()는 비교할 대상이 없으면 이벤트를 통과시킨다. 아마도 nil 이라고 생각하는게 아닐까?
따라서 할당과 동시에 self?.tableView.reloadData() 가 돌게되며 바인딩 이벤트가 루프에 빠지게된다.

기본 뷰 작성하기

RxSwift와 Combine을 사용한 UIKit 기반의 뷰를 만들고, Combine + SwiftUI 뷰를 만든다.
재바인딩 문제가 있도록 만든다.

뷰 수정

바인딩이 증식하는 문제를 수정한다

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.