본문 바로가기

전체 글144

GitHub 활용법 현재 Dreamfora는 GitHub을 기획, 디자인, 개발 팀 모두가 함께 사용하고 있습니다. 우리가 사용하고 있는 방법을 서술합니다. 1.7 버전 업데이트 작업을 진행하면서 겪었던 문제들을 해결하고자 도입하였습니다. 자세한 내용은 링크 타고 들어가시면 보실 수 있습니다. (https://dvlv.tistory.com/130 ) GitHub 기본적인 사용은 https://github.com/nathankim0/DreamforaV2/discussions/2 에서 확인하실 수 있습니다. Repository 현재 2개의 Repo를 사용하고 있습니다. Dreamfora/DreamforaV2 (upsream) nathankim0/DreamforaV2 (origin) Dreamfora/DreamforaV2 가 메.. 2021. 9. 27.
상반기 회고 본 문서는 21년 3월 말부터 9월초까지 했던 1.7 버전 개발에 대한 회고입니다. 서론 올해 3월 말, 앱의 사용성과 리텐션 개선 그리고 향후 방향성에 대해 회의를 가졌습니다. 당시 Dreamfora 앱은, 사용자의 데이터를 20초마다 서버에 업데이트 하는 방식으로 되어있었고, local database 와의 연동이 안되어 앱을 중간에 종료하면 작성하던 데이터가 증발하는 버그가 있었습니다. 그리고 생산성 도구 앱 치고는 뎁스가 꽤 깊고, 홈 화면의 비중이 높아서 (모든 기능이 홈을 거쳐가야 했음), 디자인의 변화도 필요한 상황이었습니다. 우리 팀은, 크게 두 가지의 개선안을 내놓았고 방향성을 잡았습니다. 데이터가 날아가는 일은 반드시 없어야한다. 기존의 서버 중심의 앱에서, 로컬DB 기반의 앱으로 가되.. 2021. 9. 23.
[Xamarin] Custom sliver top area (gradually disappearing view while scrolling) https://api.flutter.dev/flutter/material/SliverAppBar-class.html (flutter의 sliver app bar와 유사, airbnb 뷰와 유사) 스크롤 하면서 상단 영역(터치 가능)이 점점 사라지는 커스텀 뷰를 만들어보자. Let's create a view where the top area (touchable) gradually disappears while scrolling. xaml 코드를 살펴보자. (전체 코드를 삽입한 것이 아님.) ... ... ... ... 바깥쪽 최 상위 영역에 스크롤뷰로 감싸준다. 이후에 상단 박스의 opacity를 변경해주기 위해, 이 스크롤뷰의 스크롤 위치를 가져올 예정이다. 그리고 안쪽에 Grid를 배치한다. 안쪽영역.. 2021. 9. 13.
[백준] [c++] 1027번 고층 건물 // // main.cpp // acm // // Created by Nathan on 2020/09/21. // #include #include using namespace std; int main(int argc, const char * argv[]) { vector vec; int n; cin>>n; vector num; for(int i = 0; i >t; vec.push_back(t); num.push_back(0); } for(int i = 0; i < n; i++) { long double comp = -9999999999.0; for (int j = i + 1; j < n; j++) { long double t = (double)((double)(v.. 2021. 7. 10.
[Xamarin] set alpha at hex 100% — FF 95% — F2 90% — E6 85% — D9 80% — CC 75% — BF 70% — B3 65% — A6 60% — 99 55% — 8C 50% — 80 45% — 73 40% — 66 35% — 59 30% — 4D 25% — 40 20% — 33 15% — 26 10% — 1A 5% — 0D 0% — 00 ex) Black 10% => "1A000000" 2021. 6. 16.
[C#, Xamarin] Call by value, deep copy if (!(BindingContext is DFDream dream)) return; MessagingCenter.Send(this, MessagingCenterMessages.AddWizardDream, dream)); 이렇게 하고 dream을 수정하니까 추가된 dream들이 다 같이 수정되어버림. DFDream에 Clone() 메소드를 추가. public object Clone() { return new DFDream { Id = this.Id, ProfileImage = this.ProfileImage, ... }; } (DFDream)dream.Clone()으로 넘김. private async void OnStartDreamButtonTapped(object sender, EventArgs e) .. 2021. 6. 16.
[Xamarin] Draw dashed(dotted) arc with SkiaSharp (not using AddArc()) var dottedArcSize = Math.Min(info.Width, info.Height); var dottdArcRect = new SKRect( StrokeWidth, StrokeWidth, dottedArcSize - StrokeWidth, dottedArcSize - StrokeWidth); var dottedArcLinePaint = new SKPaint { Color = Color.FromHex("#FF521F").ToSKColor(), StrokeWidth = 4.5f, }; var dotYRatio = 0.22; var dotLength = 0.03; var dotEmptyArcAngle = 60; for (var degrees = 0; degrees < 360; degrees += .. 2021. 6. 14.
[Xamarin] Draw Arc with SkiaSharp https://docs.microsoft.com/ko-kr/xamarin/xamarin-forms/user-interface/graphics/skiasharp/curves/arcs 원호를 그리는 3가지 방법 - Xamarin 이 문서에서는 SkiaSharp를 사용 하 여 세 가지 방법으로 원호를 정의 하는 방법을 설명 하 고 샘플 코드를 사용 하 여이를 보여 줍니다. docs.microsoft.com Start Angle : X축 0도 기준 시작각도 Sweep Angle : 그리고자 하는 호의 각도 (StartAngle를 시작으로 SweepAngle 만큼 호를 그림) 코드 식으로 나타내면, var _emptyArcAngle = 60; StartAngle = 90 + _emptyArcAngle / 2; S.. 2021. 6. 14.
[Xamarin] custom keyboard attachable view https://dvlv.tistory.com/121 기술스택 이제 xaml 코드 짜는 속도가 거의 공장 찍어내는 급이 되었다. 근데, 애니메이션, 플랫폼 스페시픽 한 코드를 짜다보니 현타가 자주온다. 복잡하고 긴 줄 수도 덤. 키보드 위에 붙는 스티키한 뷰 dvlv.tistory.com --> 전에 포스팅했던.. 키보드 위에 붙는 뷰를 개발했던 거를 팝업으로 바꿨음. https://pub.dev/packages/keyboard_attachable keyboard_attachable | Flutter Package A Flutter package to build widgets that can be attached to the soft keyboard. pub.dev (flutter의 keyboard_att.. 2021. 6. 9.