Open sollted opened 10 months ago
Huh that's an interesting error. Not sure what's causing it. I'm away from the computer right now. When I get back I'll right up an explanation. Is there any specific part of the code that you need explained?
So pretty much all the logic is contained in the Model
class in PeerChat/Model/Model.swift.
When it gets init'd it registers some of the Multipeer Connectivity stuff, and sets the delegate of those classes to the Model
class itself.
MCNearbyServiceBrowserDelegate
as it says in the name handles finding other peers.
MCSessionDelegate
handles sending and receiving, and connecting to new peers.
MCNearbyServiceAdvertiserDelegate
handles broadcasting to the peer itself to other peers so they can find each other.
Is there anything else that needs explained?
I'm currently working on trying to fix the build issue.
Could you try the following fix:
Hi i really like your project and i wanted to build it on my machine so cloned the repo didnt make any changes and i get this error:
PeerChat/PeerChat.xcodeproj One of the paths in DEVELOPMENT_ASSET_PATHS does not exist: PeerChat/PeerSotial/Preview Content
i have school project same as yours would you be willing to explain the code to me?
i would be very gratefull.