Giter VIP home page Giter VIP logo

Comments (4)

maxxfrazer avatar maxxfrazer commented on September 26, 2024

Hi @chaert-s, there's also the adding of NSLocalNetworkUsageDescription and NSBonjourServices to the Info.plist. Have you done that part? It is outlined under Usage in the README:
https://github.com/maxxfrazer/MultipeerHelper#usage

from multipeerhelper.

chaert-s avatar chaert-s commented on September 26, 2024

Naturally : )

from multipeerhelper.

maxxfrazer avatar maxxfrazer commented on September 26, 2024

just thought of something else, you're using @State object for the delegate; try one of these changes:

  • Remove State and just have it as a regular property
  • Use a StateObject instead
  • Or an ObservableObject that has multidelegate as one of its properties.
  • All else fails, put it as a static property for the class (again without state object, observable etc), so it is accessed just with tutorialView.delegate globally.

I'm not the best with SwiftUI, but try putting an initialiser for multidelegate to see how many times it is created.

from multipeerhelper.

chaert-s avatar chaert-s commented on September 26, 2024

Thanks for the suggestions, I'll try them out!

from multipeerhelper.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.