"Fossies" - the Fresh Open Source Software Archive

Member "flutter-1.22.4/dev/integration_tests/ios_app_with_extensions/ios/watch Extension/ContentView.swift" (13 Nov 2020, 486 Bytes) of package /linux/misc/flutter-1.22.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Swift source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright 2014 The Flutter Authors. All rights reserved.
    2 // Use of this source code is governed by a BSD-style license that can be
    3 // found in the LICENSE file.
    4 
    5 //
    6 //  ContentView.swift
    7 //  watch Extension
    8 //
    9 //  Created by Georg Wechslberger on 08.04.20.
   10 //
   11 
   12 import SwiftUI
   13 
   14 struct ContentView: View {
   15     var body: some View {
   16         Text("Hello, World!")
   17     }
   18 }
   19 
   20 struct ContentView_Previews: PreviewProvider {
   21     static var previews: some View {
   22         ContentView()
   23     }
   24 }