The following files need to be added to the Xcode project:
- PortScanConfiguration.swift - Port scanning modes configuration
- PortScanModeSelector.swift - UI for selecting scan mode
- RealtimeTrafficManager.swift - Real-time traffic monitoring
- NetworkVisualizationComponents.swift - Visualization components
- EnhancedDeviceCard.swift - Enhanced device cards with animations
- EnhancedTopologyView.swift - Advanced topology view
- Open NMAPScanner.xcodeproj in Xcode (already open)
- In the Project Navigator (left sidebar), right-click on the NMAPScanner folder
- Select "Add Files to NMAPScanner..."
- Navigate to
/Volumes/Data/xcode/NMAPScanner/NMAPScanner/ - Select all the following files (hold Command to select multiple):
- PortScanConfiguration.swift
- PortScanModeSelector.swift
- RealtimeTrafficManager.swift
- NetworkVisualizationComponents.swift
- EnhancedDeviceCard.swift
- EnhancedTopologyView.swift
- Make sure "Copy items if needed" is UNCHECKED (files are already in the correct location)
- Make sure "Add to targets: NMAPScanner" is CHECKED
- Click "Add"
- Build the project (⌘B)
The app will have three port scanning modes available:
- Standard Ports (1-1024) - Well-known ports, ~10-30 seconds per host
- Common Ports (~100) - Current mode, fastest, ~2-5 seconds per host
- All Ports (1-65536) - Complete scan, ~10-30 minutes per host
Users can select the scan mode from the main dashboard using the "Change Scan Mode" button.