/Navigation-Drawer

Drawer Navigation porting demo

Primary LanguageSwiftMIT LicenseMIT

Automated Source Code Transformation service
Re-cycle / Re-use / Re-purpose

Platform - Android | iOS Follow @reflectcode


Drawer Navigation Demo

This project demonstrates the conversion of DrawerLayout widget.

This repository contains the Android source code which was used as input and generated iOS source code project.

Class Package
DrawerLayout android.support.v4.widget.DrawerLayout
GravityCompat android.support.v4.view.GravityCompat
NavigationView android.support.design.widget.NavigationView
MenuItem android.view.MenuItem

Statement Estimation

Check out project report - https://github.com/ReflectCode/Navigation-Drawer/blob/master/DrawerDemo_RC-Report.pdf

Dev Notes

  • DrawerLayout - For porting the DrawerLayout the custom control is developed 'RC_DrawerController.swift'. This control is Swift port of android DrawerLayout and provides all methods and events such as Open, Close, StareChange and Drag

Credits for Android project - http://www.androidauthority.com/how-to-build-an-image-gallery-app-718976/

Screen shots

DrawerLayout Video


DrawerLayout Screenshot Portrait


DrawerLayout Screenshot Landscape


License

This project is made available under the MIT license. See the LICENSE file for more details.