Skip to content

Commit

Permalink
[refactor] #12 FindMateUseCase 구현
Browse files Browse the repository at this point in the history
Co-Authored-By: YOON JI SEONG <[email protected]>
  • Loading branch information
Kelly-Chui and green-yoon87 committed Jan 14, 2025
1 parent 7ec5950 commit 006d5f9
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// FindMateUseCase.swift
// SniffMeet
//
// Created by Kelly Chui on 1/14/25.
//

import Foundation

protocol FindMateUseCase {
func execute()
}

struct FindMateUseCaseImpl: FindMateUseCase {
let niManager: NIManager

init(niManager: NIManager) {
self.niManager = niManager
}

func execute() {
// MPC Advertising, browsing 시작
niManager.mpcManager.isAvailableToBeConnected = true
}
}

0 comments on commit 006d5f9

Please sign in to comment.