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
        }
    }
}








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


댓글 없음:

댓글 쓰기

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

걸음걸이가 자연스러운 중국산 로봇 영상

인공지능 분야와 로봇 분야에 중국의 기술력이 상당한 파장을 주고 있습니다. 대단합니다. ㅎㅎ    https://www.youtube.com/watch?v=HvG9RIsWpqI