Welcome to the CSDN-markdown Editor, csdn-markdown

Source: Internet
Author: User

Welcome to the CSDN-markdown Editor, csdn-markdown

At the beginning, I refused to develop ios because I was a little annoyed when I saw the oc syntax. I really didn't want to hide it. Maybe Apple realized this problem, so I launched swift, after studying it, I felt like a programming language. At least it was more user-friendly, but Xcode code was too weak to complete. It may be because idea is used to it, and xcode is really not used to it, I felt weak when I installed the plug-in. After a long wait, I put it on hold.

RecentlyReactjsIt is thought-provoking, componentized, and extremely simple. It only requires html + js to be easily mastered and has no complicated concept. react native is based on react, it is designed to use react to develop local apps (currently only ios is supported, android is estimated to be supported by March). web developers can easily develop ios without learning object-c, swift,

So I usedReact nativeThe homepage of A Meituan Client

Trainer, as long as it is a layout, there are a lot of code for your reference, such as using a third-party open-source library to achieve some results, custom headers, icons, sliding switching effects, lists, flex Layout

Used components:

  • NavigatorIOS
  • React-native-swiper
  • React-native-icons
  • React-native-navbar
  • ListView
  • WebView
Procedure
1. npm install 2. Use Xcode to open meituan. xcodeproj 3. Commmand + R

The interface imitates the applications on the official website.

The following figure shows the effect.

The code is uploaded to github. Click react-native-meituan to view the code.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.