Giter Club home page Giter Club logo

cali_bu_01's People

Contributors

dorodong96 avatar

Watchers

 avatar

cali_bu_01's Issues

main thread에서의 value publish

Warning 문구

Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.

image

RandomListView에서 처음으로 선택된 단어가 항상 0번 index를 참조함

// 여기서 selectedIndex를 하면 왜 0번 index가 나올까? (print는 정상적으로 작동)
// Text("현재 선택된 문자는 \(wordArray[selectedIndex]) 입니다")
            Text("현재 선택된 단어는 \(wordLoader.content.wordArray[selectedIndex]) 입니다")
                .padding()

Simulator Screen Recording - iPhone 13 - 2022-06-23 at 15 38 26

Navigation을 통해 해당 단어 리스트 뷰로 넘어온 후에 최초로 단어를 수정하려고 해당 단어를 누르면, 수정 대상이 선택한 단어가 아닌 첫번째 인덱스(0번 인덱스)의 단어가 선택됩니다. 이후에 선택한 단어는 정상적으로 수정이 가능한데, 그 원인이 무엇인지 궁금합니다!

image

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.