iOS application for browsing device file system through a web interface. Allows running a local HTTP server to access device files from any browser on the local network.
- Local HTTP server running on port 80
- Web interface for navigating iOS device file system
- File and folder tree display with icons and metadata
- File downloading through browser
- Disk usage statistics
Core server module implementing TCP server with multithreading support.
Key methods:
start()- starts server on specified portstop()- stops the server
- Initialization: Socket creation and parameter setup
- Binding: Binding socket to port
- Listening: Starting to listen for incoming connections
- Accepting connections: Asynchronously accepting new clients
- Processing requests: Handling client data in separate threads
- Termination: Proper socket closure on stop
HTTP request handler for file system operations.
Key methods:
handle(data:)- processes incoming HTTP requests
HTML page generator for file system visualization.
Key methods:
generateHTML()- generates main HTML page
Main application screen with UI for server management.
TCPServerHandling- protocol for server handlersTCPServerResponse- server response structureLogHandler- simple handler for loggingLocked- property wrapper for thread-safe accessDevice+getIPAddress- extension for getting device IP address
- Build and run the project on simulator or device.
- Tap "Start Server" button
- The app will display server IP address (e.g.,
192.168.1.100:80) - Open browser on any device in the same network
- Navigate to the address shown in the app
- Use web interface to browse file system

