Comments (4)
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.
Naturally : )
from multipeerhelper.
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.
Thanks for the suggestions, I'll try them out!
from multipeerhelper.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multipeerhelper.