2017년 1월 20일 금요일

맥(mac)에서 자마린 스튜디오로 만든 간단한 헬로우월드 앱입니다.

작년에 발표된 xamarin.forms로 만든 간단한 앱입니다.
언어는 C#이고 iOS 에뮬레이터로 실행한 결과입니다.

using Xamarin.Forms;

namespace Hello30
{
    public partial class App : Application
    {
        public App()
        {
            InitializeComponent();

            MainPage = new Hello30Page
            {
                Content = new StackLayout
                {
                    VerticalOptions = LayoutOptions.Center,
                    Children = {
                        new Label {
                            HorizontalTextAlignment = TextAlignment.Center,
                            Text = "자마린에 오신 것을 환영"
                        }
                    }
                }
            };
        }

        protected override void OnStart()
        {
            // Handle when your app starts
        }

        protected override void OnSleep()
        {
            // Handle when your app sleeps
        }

        protected override void OnResume()
        {
            // Handle when your app resumes
        }
    }
}








테스트 클라우드나 에저 환경과 연계해서 서버 사이드를 쉽게 만들 수 있다는 것도 강점입니다. 아무래도 과정 하나 만들어야 할 듯... 


댓글 없음:

댓글 쓰기

참고: 블로그의 회원만 댓글을 작성할 수 있습니다.

마이크로소프트 빌드 2026 키노트 영상입니다.

  내용이 많아서 영상을 보면서 클로드 코드로 정리해 보았습니다. 치열한 AI싸움에서 누가 승기를 잡을 것인가? 마소, 구글, 앤트로픽....  Microsoft Build 2026 핵심 정리 📅 2026년 6월 2~3일 | 샌프란시스코 발표자: ...