Fyne Getting Started: Hello World

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

ความคิดเห็น • 28

  • @GaryChike
    @GaryChike 2 ปีที่แล้ว +7

    Fyne is looking mighty fine! Currently reading the book "Building Cross-Platform GUI Applications with Fyne" by Packt -- really eye opening! This will supplement the material in the book nicely. Keep it coming! :)

  • @maartenbehn7727
    @maartenbehn7727 2 ปีที่แล้ว +7

    Honestly your Framework is very easy to work with. Especially that you can ditch Android Studio completely to build .apk files super easily is great. Very impressive. Keep going

  • @ivmax96
    @ivmax96 2 ปีที่แล้ว +3

    Hello! Your project is awesome! Good luck!

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว

      thank you so much! :)

  • @foxcirc
    @foxcirc ปีที่แล้ว

    I love this package ❤! It's super easy and just worked even on my kinda messed up Linux computer. Also the TH-cam videos are great.
    I wanted to develop a simple mobile app and this package got me around installing android studio.

    • @Fyneio
      @Fyneio  ปีที่แล้ว +1

      It’s great to hear you found it so useful 😀

  • @emilie1977
    @emilie1977 2 ปีที่แล้ว +2

    I love simple tutorial but too more complex ;)

  • @burcakkosaner4103
    @burcakkosaner4103 2 ปีที่แล้ว +1

    Great explanation. Thank you so much :)

  • @boomshakalaka656
    @boomshakalaka656 7 หลายเดือนก่อน

    The hustle l had to go through just to make the initial setup work is the reason why l find myself going back to react native

  • @arnavpandey1722
    @arnavpandey1722 2 ปีที่แล้ว +2

    Thanks i was waiting for this

  • @MostaphaQamar
    @MostaphaQamar 2 ปีที่แล้ว +3

    I installed the library but it did not work. I am using visual studio tool

    • @MrApplewine
      @MrApplewine 2 ปีที่แล้ว

      I did go build and it worked, and then I was able to go back and do go run and that worked when it didn't before. It seemed to be taking a really long time for some reason before. Now, it is fast. I also did a go mod tidy, which I think is necessary and he didn't show that, but that alone didn't fix anything.

  • @olegshubaly3423
    @olegshubaly3423 10 หลายเดือนก่อน +1

    Will Fyne have a GUI Builder?

    • @Fyneio
      @Fyneio  10 หลายเดือนก่อน +1

      Yes, you can find out more at fysion.app

  • @androth1502
    @androth1502 2 ปีที่แล้ว

    18mb is quiet hefty for a hello world dialog. does this thing need any other dependencies installed on the target host system?

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว +2

      That is quite a large file for hello world - it should be around 9mb per architecture at v2.2 release. This bundles everything your app might need and requires only a suitable graphics driver to run. No libraries or runtimes are needed, which is how we manage single-file distributions to any operating system :).

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว

      We are considering a proposal to strip out fonts and/or icons as a build setting for apps that know they do not need that functionality.

  • @randomdamian
    @randomdamian 2 ปีที่แล้ว +1

    Is it possible to build it for windows? Like an exe file to make it easier to people to use?

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว +1

      Yes. When on windows this is the default. From others you can cross-compile like “fyne package -os windows”

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว +1

      More info at developer.fyne.io/started/cross-compiling

  • @junosoft
    @junosoft 2 ปีที่แล้ว +1

    Hello

    • @Fyneio
      @Fyneio  2 ปีที่แล้ว +1

      Hi, welcome to our videos

  • @craigdanielmaceacher
    @craigdanielmaceacher ปีที่แล้ว +2

    'go run .' failing on go 1.19.5 on macOS with a lot of 'missing go.sum entry for module providing package ...' errors

    • @craigdanielmaceacher
      @craigdanielmaceacher ปีที่แล้ว +2

      you need to run 'go mod tidy' THEN 'go run .' if it fails for you with newer go version than shown here

    • @andydotxyz
      @andydotxyz ปีที่แล้ว

      @@craigdanielmaceacher good catch. “Go mod tidy” fixes lots of issues on a modern go install. I swear it was easier to get started before modules!

  • @olegshubaly3423
    @olegshubaly3423 10 หลายเดือนก่อน

    go build -ldflags "-s -w -H=windowsgui" .
    - create a compact exe for Windows without a terminal window

    • @Fyneio
      @Fyneio  10 หลายเดือนก่อน

      The “fyne package” command will apply all these optimisations. It is designed to make it easy to always get the right output for your OS. Just using the go build won’t bundle an app icon or metadata. developer.fyne.io/started/packaging

    • @olegshubaly3423
      @olegshubaly3423 10 หลายเดือนก่อน

      @@Fyneio After
      go build -ldflags "-s -w -H windowsgui" hello.go
      I get only 16 MB hello.exe
      But after
      fyne package -os windows
      I get 34 MB exe. My Icon.png has only 1 KB.