바다 앱 개발 실패 노하우 1부

670 views

Published on

<p>
[데브멘토 동영상] 바다 앱 개발자 컨퍼런스</p>
<p>
바다 앱 개발 팁, 왜 실패했는가?</p>
<p>
삼성SW멤버십 소스 다이어트 팀 이승철</p>

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
670
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

바다 앱 개발 실패 노하우 1부

  1. 1. Introduction I + ClassName == Interface stl Collection bada Collection try/catch bada exception mechanism
  2. 2. Contents 1. Control Life-Cycle 2. Collection 3. bada Reviews
  3. 3. Controls Life Cycle
  4. 4. Controls Life Cycle 1. 모든 컨트롤들은 힙에 생성 해야 한다. Button *pButton= new Button(); Button->Construct(Rectangle(10, 100, 460, 60)); pButton->SetText(L”Devmento”); pButton->SetActionId(10); pButton->AddActionEventListener(*this);
  5. 5. Controls Life Cycle 2. 컨트롤들은 프로그램이 종료 될 때 자동적으로 해체 된다. Button *pButton= new Button(); pButton->Construct(Rectangle(10, 100, 460, 60)); pButton->SetText(L”Devmento”); pButton->SetActionId(10); pButton->AddActionEventListener(*this); AddControl(*pButton); delete pButton; 명시적으로 해체 NO!
  6. 6. Controls Life Cycle 3.명시적으로 메모리 해체 해야 하는 컨트롤 MessageBox ContextMenu OptionMenu Popup
  7. 7. Controls Life Cycle Exampleresult Devmento ::OnInitializing(void) { result Devmento::OnTerminating(void) {result r = E_SUCCESS; result r = E_SUCCESS; delete pPopup;__pPopup = new Popup(); return r;Dimension dim(300, 400); }__pPopup->Construct(true, dim);__pPopup->SetTitleText(L"Popup Test");Button* pBtnClose = new Button();pBtnClose->Construct(Rectangle(10, 10, 250, 60),L"Close");pBtnClose->SetActionId(ID_BUTTON_CLOSE_POPUP);pBtnClose->AddActionEventListener(*this);__pPopup->AddControl(*pBtnClose);}

×