Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Xamarin으로 모바일 앱 개발 빠르게 시작하기

Manjong Han
November 26, 2017

Xamarin으로 모바일 앱 개발 빠르게 시작하기

Manjong Han

November 26, 2017
Tweet

More Decks by Manjong Han

Other Decks in Programming

Transcript

  1. 8IZ9BNBSJO ↟֎੉౭࠳۽ஹ౵ੌغয۠ఋ੐ࢿמ੷ೞ୭ࣗച䱋  9BNBSJO"OESPJE+*5 +VTU*O5JNF ֎੉౭࠳ஹ౵ੌ䱋  9BNBSJOJ04"05 "IFBE0G5JNF ஹ౵ੌਸాೠ֎੉౭࠳"3.

    ߄੉ցܻࢤࢿ䱋 ↟$җ9".-঱যܳࢎਊೞח௼۽झ೒ۖಬѐߊبҳ䱋 ↟.JDSPTPGU/&5'SBNFXPSL .POP ӝ߈੄ѐߊജ҃
  2. 9BNBSJO0WFSWJFX iOS Native API Android Native API Shared App Logic

    iOS UI Logic Android UI Logic Xamarin.iOS Xamarin.Android
  3. 9".-۽6*٣੗ੋೞӝ <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="XamlSamples.GridDemoPage" Title="Grid Demo Page"> <Grid> <Grid.RowDefinitions>

    <RowDefinition Height="Auto" /> <RowDefinition Height="*" /> <RowDefinition Height="100" /> </Grid.RowDefinitions> <Label Text="Autosized cell" Grid.Row="0" Grid.Column="0" TextColor="White" BackgroundColor="Blue" /> </Grid> </ContentPage>
  4. $ਵ۽জ۽૒ҳഅೞӝ using System; using Xamarin.Forms; namespace FormsGallery { class ButtonDemoPage

    : ContentPage { Label label; int clickTotal = 0; public ButtonDemoPage() { Button button = new Button { Text = "ׂ۞઱ࣁਃ!", HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.CenterAndExpand }; button.Clicked += OnButtonClicked;
  5. $ਵ۽জ۽૒ҳഅೞӝ label = new Label { Text = "0ߣ ־࣑ܰणפ׮",

    HorizontalOptions = LayoutOptions.Center, VerticalOptions = LayoutOptions.CenterAndExpand }; this.Content = new StackLayout { Children = { button, label } }; } void OnButtonClicked(object sender, EventArgs e) { label.Text = String.Format("{0}ߣ ־࣑ܰणפ׮”, ++clickTotal); } } }