Skip to content

getmcss/MCSS-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OVERVIEW

MCSS (Mobile Cascade Style Sheet) is a new technology library based to speed up the development of native mobile apps. MCSS describes how the views and the different components are to be displayed on the mobile devices. MCSS saves a lot of work and time, it can control the layout of multiple views all at once.

MCSS is not a hybrid technology, applications developed using MCSS continue being native, you can use your favorite IDE, XCode, Android Studio, Eclipse, etc. Just connecting this powerful library to your project (how to install MCSS on your application project) and doing a short implementation, your app will take the design described in the .mcss files.

Once you create a .mcss file, residing either on an external URL or stored locally in your project, the library will apply the instructions of your .mcss file to the different views and components. Just like CSS works on an HTML website. (Read about the properties and components supported by MCSS).

WHY MCSS?

  • Reduce native mobile app development by more than 40%.

  • Can create complex designs and replicate them an infinite amount of times by just one line of code.

  • No need to be an expert mobile developer to create a great looking app.

  • Easy to maintain and update the app across the codebase and app store on iOS and Android.

  • Helps provide the same design and aesthetics for iOS and Android version.

Just like CSS is to HTML, MCSS is to Swift for iOS and Java for Android.

  • MCSS Provide developers with a way to connect the components in each view of a mobile app with a set of stylesheets where they can write rules to control the design of the whole application.

  • As the MCSS File (Stylesheet) can be connected via URL, the developers can update the design of applications in production skiping the process of submiting new versions to the app stores.

HOW TO INSTALL

Swift Package Manager:

  1. In Xcode, go to File > Add Packages…

  2. Copy the Github URL: https://github.com/getmcss/MCSS-Swift.git  into the "Search or enter Package URL" field

    https://github.com/getmcss/mcss-swift  
    
  3. In dependency rules choose "up to next major" and a minor version of 1.0.4

    1. Click "Add Package" and Follow the prompts

Manual installation:

  1. Download the MCSSLib.xcframework library and the UIView+MCSS.swift file class from https://github.com/getmcss/mcss-swift or use the command:

    git clone https://github.com/getmcss/mcss-swift  
    

    Both files can be located in the sources directory.

  2. Drag and drop MCSSLib.xcframework and UIView+MCSS.swift to your project, mark the option copy items if needed.

  3. Go to embedded content and mark mcss as embed and sign.

COPYRIGHT & LICENSE

© 2023 MCSS | getmcss.com | Do Genius On. All rights reserved | Patent pending

MCSS License.