<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: MobileUI</title>
    <description>The latest articles on Forem by MobileUI (@mobileui).</description>
    <link>https://forem.com/mobileui</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F2334%2F0137506d-26db-444a-b31c-ea13eeddb7b7.png</url>
      <title>Forem: MobileUI</title>
      <link>https://forem.com/mobileui</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mobileui"/>
    <language>en</language>
    <item>
      <title>Introducing MobileUI</title>
      <dc:creator>Henrik Wirth</dc:creator>
      <pubDate>Wed, 27 May 2020 16:58:06 +0000</pubDate>
      <link>https://forem.com/mobileui/introducing-mobileui-3je4</link>
      <guid>https://forem.com/mobileui/introducing-mobileui-3je4</guid>
      <description>&lt;p&gt;After almost 10 years of research and 1.5 years of development, our team is proud to announce our &lt;strong&gt;first public release of MobileUI&lt;/strong&gt; (0.4.1), a new &lt;strong&gt;software framework for cross-platform app development&lt;/strong&gt;. 🍾🍾🍾&lt;/p&gt;

&lt;p&gt;At NeverNull, we have more than 20 years experience as app developers, software engineers, consultants, software lecturers and trainers. During this time, we have learned a lot about the good and the bad parts of cross-platform app development with a huge variety of frameworks and programming languages.&lt;/p&gt;

&lt;p&gt;We think, the time has come to take these findings and build a product that combines the good parts leaving out the bad ones. &lt;strong&gt;Our vision for MobileUI&lt;/strong&gt; is to become the number one solution for &lt;strong&gt;cross-platform app development with Java and/or Kotlin&lt;/strong&gt;. One codebase, a unique developer experience, a great toolchain and the full native app experience.&lt;/p&gt;

&lt;p&gt;We are very excited about the outcome - and hope you are too! The following article gives you some details about the product. Get your own copy here: &lt;a href="https://mobileui.dev" rel="noopener noreferrer"&gt;www.mobileui.dev&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;&lt;center&gt;What is MobileUI?&lt;/center&gt;&lt;/h2&gt;




&lt;h3&gt;
  
  
  Java-Based Cross-Platform Apps with Native Experience
&lt;/h3&gt;

&lt;p&gt;MobileUI is a Java-based cross-platform framework that offers a &lt;strong&gt;native UI component library and unique layout system&lt;/strong&gt; for &lt;strong&gt;iOS and Android&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;MobileUI allows you to write fully native apps in &lt;strong&gt;Java and Kotlin&lt;/strong&gt;, without touching languages like Objective-C or Swift. Why Java? Java is a great way to combine easy development and a huge ecosystem of libraries and tools with fulfilling maybe the number one requirements on mobile: &lt;strong&gt;Performance&lt;/strong&gt;. With MobileUI's system, all Java code is ahead-of-time compiled which brings huge benefits in regard to execution time and memory consumption.&lt;/p&gt;

&lt;p&gt;While you can rely on Java's cross-platform APIs, you can also &lt;strong&gt;access all native SDKs&lt;/strong&gt; for Android and iOS from the same codebase. This is thanks to the availability of the &lt;strong&gt;Android Runtime SDK&lt;/strong&gt; and the &lt;strong&gt;RoboVM Native Bridge (Bro)&lt;/strong&gt;. It is great for all cases, where our cross-platform framework does not (yet) contain an abstraction or plugin for a platform-specific function. You don't have to switch IDEs, tools or programming language to add a new feature. In our experience, the latter happens a lot with cross-platform frameworks like React Native, Flutter or Ionic, that only give you SDK access through native plugins.&lt;/p&gt;

&lt;h3&gt;
  
  
  Layouting and Styling with Ease
&lt;/h3&gt;

&lt;p&gt;MobileUI uses &lt;strong&gt;Android's Layout System&lt;/strong&gt; to arrange platform-native widgets on the screen. We have ported Android Views to iOS from Android's original source code (Following a hint by &lt;strong&gt;Chuck Norris&lt;/strong&gt;, who already ran Android apps on iOS in 2005. Thanks Chuck! 💪). And with a big smile, we recognized that this approach is amazingly 🚀fast 🚀! Because Android layouts have been optimized to support devices with many different form factors, building iOS apps with it works like a charm.&lt;/p&gt;

&lt;p&gt;Have you ever understood Android's style system in depth? No? We neither 😬! That's why&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MobileUI XML layout&lt;/strong&gt; files are styled with &lt;strong&gt;CSS&lt;/strong&gt;. Just as in HTML, you can include .css files or write style directly to the layout. Checkout this code snippet. It should be very familiar to everyone who has ever built an HTML page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;Layout&lt;/span&gt; &lt;span class="na"&gt;xmlns=&lt;/span&gt;&lt;span class="s"&gt;"urn:nevernull:mobileui:layout"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;style&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"style.css"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;style&amp;gt;&lt;/span&gt;
        .CustomButton {
            textColor: white;
            backgroundColor: #6111B1;
        }
    &lt;span class="nt"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;LinearLayout&lt;/span&gt; &lt;span class="na"&gt;width=&lt;/span&gt;&lt;span class="s"&gt;"fill_parent"&lt;/span&gt;
                  &lt;span class="na"&gt;height=&lt;/span&gt;&lt;span class="s"&gt;"fill_parent"&lt;/span&gt;
                  &lt;span class="na"&gt;orientation=&lt;/span&gt;&lt;span class="s"&gt;"vertical"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;Button&lt;/span&gt; &lt;span class="na"&gt;class=&lt;/span&gt;&lt;span class="s"&gt;"CustomButton"&lt;/span&gt;
                &lt;span class="na"&gt;onClick=&lt;/span&gt;&lt;span class="s"&gt;"#{onOpenUrlClicked()}"&lt;/span&gt;
                &lt;span class="na"&gt;text=&lt;/span&gt;&lt;span class="s"&gt;"Yeah, take me to the candy shop"&lt;/span&gt;
        &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/Layout&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is also the possibility of using dynamic CSS and variables through MobileUI's &lt;strong&gt;super-fast template engine&lt;/strong&gt;. You can implement rich design systems and custom themes - from dark to light to super-awesome!&lt;/p&gt;

&lt;p&gt;And did we mention &lt;strong&gt;MobileUI's Data Binding&lt;/strong&gt;? Glue Java code and layout together with expressions &lt;code&gt;#{justLikeThis}&lt;/code&gt;. Or simply start with your layout and later add the bindings. With this separation of concerns when building your apps, you can present high-fidelity prototypes early in the development process. This is super-valuable when talking to customers and product owners 😎.&lt;/p&gt;

&lt;h3&gt;
  
  
  Extensibility is key
&lt;/h3&gt;

&lt;p&gt;Since you have &lt;strong&gt;access to all native SDKs&lt;/strong&gt;, you are not constrained to the components we offer. Build, share and reuse your own abstractions and improve your developer experience.&lt;/p&gt;

&lt;p&gt;We know that it is a good idea to use component systems as soon as your apps become more complex. That is, why we ship &lt;strong&gt;MobileUI's Purple Edition&lt;/strong&gt; with a &lt;strong&gt;dependency injection framework&lt;/strong&gt; that is a perfect fit for mobile. It is based on &lt;strong&gt;Micronaut&lt;/strong&gt; and makes extending your app with platform-specific components super-easy. &lt;strong&gt;MobileUI Inject&lt;/strong&gt; is used as the basis for our &lt;strong&gt;Plugin System&lt;/strong&gt; which allows you to integrate plugins into your app with a few lines of code. Read more on this in coming blog posts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Instant Live Preview
&lt;/h3&gt;

&lt;p&gt;Let's face it: Slow build cycles thwart you when developing your apps ⌛. One of the most stressful things is restarting the whole app only to see a few pixels more padding in your layout or the UI being rendered on a second device.&lt;/p&gt;

&lt;p&gt;While we cannot completely eliminate build cycles – especially for Java compilation on iOS – we do our best to make them unnecessary or much faster.&lt;/p&gt;

&lt;p&gt;That is why we provide you with the &lt;strong&gt;Live Preview&lt;/strong&gt; feature that comes with the &lt;strong&gt;MobileUI Plugin for Android Studio&lt;/strong&gt;. The Live Preview pushes layout changes to your app in real-time. With this approach, you can modify the layout while the app is running (and keeping state). This allows fast iteration cycles, increases productivity and safes a lot of time. Don't believe it works? Watch and try!&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/iLtHnl_jRoQ"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  Extensive Documentation &amp;amp; Support
&lt;/h3&gt;

&lt;p&gt;Diving into app development with a new framework is difficult without an excellent documentation. One of our main goals is to bring you high quality tutorials, how-tos and references for all MobileUI features on &lt;a href="https://docs.mobileui.dev/" rel="noopener noreferrer"&gt;docs.mobileui.dev&lt;/a&gt;. And if you are stuck, we assist you on our &lt;a href="https://spectrum.chat/mobileui" rel="noopener noreferrer"&gt;Spectrum Channel&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fljz3en782y9y55vj7mb5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fljz3en782y9y55vj7mb5.png" alt="MobileUI Documentation"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is great that MobileUI apps are actually native apps with full SDK access. You find a huge amount of examples for solutions on Android and iOS on the Internet. You can easily apply them in your MobileUI apps without reinventing wheels. We help you, if something should not work out as expected.&lt;/p&gt;

&lt;center&gt;&lt;h3&gt;Try it out with our MobileUI Gallery&lt;/h3&gt;&lt;/center&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fuvpptz0bi4dike8ncayx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fuvpptz0bi4dike8ncayx.png" alt="MobileUI Gallery Demo"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://play.google.com/store/apps/details?id=io.nevernull.mobileui.gallery.android" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmobileui.dev%2Fimages%2Fplay-store-badge.png" alt="MobileUI Gallery Play Store"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apps.apple.com/app/mobileui-gallery/id1509751429" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fmobileui.dev%2Fimages%2Fapp-store-badge.png" alt="MobileUI Gallery App Store"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's it for now. Are you curious, if this works? Try MobileUI today and find out! Get &lt;strong&gt;MobileUI Free&lt;/strong&gt; at&lt;/p&gt;

&lt;p&gt;&lt;a href="https://mobileui.dev/" rel="noopener noreferrer"&gt;www.mobileui.dev&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;... and let us know what you think! We appreciate your feedback!&lt;/p&gt;

</description>
      <category>android</category>
      <category>ios</category>
      <category>java</category>
      <category>kotlin</category>
    </item>
  </channel>
</rss>
