- Premier League
- Bundes Liaga
- Ligue 1
- La Liga
- Serie A
ghis22130 / footballget Goto Github PK
View Code? Open in Web Editor NEW사용자 지정한 클럽팀의 다음일정을 알려주는 위젯 앱
사용자 지정한 클럽팀의 다음일정을 알려주는 위젯 앱
문제: 리버풀 -> 왓포드 -> 리버풀 하면 계속 빈 화면만 출력
이유: sink보다 send가 먼저 발생해서 계속 send를 기다리는 상황
Asia/Seoul
로 static 하게 고정되있는 timezone값을 dynamic 하게 고쳐보기
클럽 순위는 다른 요청을 해야한다.
기존 nextmatchup 요청과 같이 작업할 수 있는 오퍼레이터 찾아보기
공식: Widget은 Async한 뷰를 지원하지 않는다. Apple Developer
현재 하고 있는 방식
View에서 Sync하게 이미지를 요청하고 다운이 완료되면 뷰에 출력된다.
단점: 느리다.. 느려.. 위젯은 반응이 느려도 된다 생각하지만 그래도 효율을 늘리고 싶다.
또 팀을 바꿔 볼 수도 있는거니까.. 여하튼 빨라져야한다..
애플이 내놓은 해결책
Timeline Provider에서 이미지 해결한 뒤에 Entry 넘기세요 ^^
말은 쉬운데 이렇게 하면 Provider와 Entry는 UI Framework를 가져야 한다...
그러면 image를 넘기지 말고 data를 넘기자
어쨋든 Provider에서 처리해주면 조금 더 빨라지지 않을까? ( 조금 일 것 같기도 하다 )
현재는 selectedTeamLogo의 다운이 완료되면 그제서야 oppositeTeamLogo의 다운이 시작 되고 이게 완료되야
뷰가 출력되는 형식이니 아무래도 동시 다운 이면 기대하는 바로는 2배 빨라 질것..?
위젯 동작 방식을 알려주는 메인뷰를 작성
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.