Skip to content

Results history, Adaptive UI for Test runner, Settings Screen #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0fef061
Allow test results to be displayed in a new tab
deepumukundan Apr 25, 2020
6570c24
Tweaks after using it a bit
deepumukundan Apr 25, 2020
9e34cb8
Reorganize code, prep for localization
deepumukundan May 2, 2020
112f868
Localize current strings
deepumukundan May 2, 2020
36b0091
Haptics and sound feedback
deepumukundan May 3, 2020
a12054e
Initial rewrite of Test runner UI in Swift
deepumukundan May 6, 2020
a9fe11e
Add test results view, add settings screen
deepumukundan May 7, 2020
02aac21
Multiple cleanup
deepumukundan May 7, 2020
1dd9df9
UI tweaks for small and large dynamic types
deepumukundan May 7, 2020
cd34023
Complete localization
deepumukundan May 7, 2020
2e3acc6
Lint and format
deepumukundan May 7, 2020
9b5133c
Minor method cleanup
deepumukundan May 7, 2020
31eb9ab
Fixing some issues in iOS 10
deepumukundan May 8, 2020
649e4cb
Fix some bugs found during testing
deepumukundan May 8, 2020
9591ba9
Remove file headers to match current project structure
deepumukundan May 8, 2020
80365a6
Fix a bug, UI tweaks
deepumukundan Jul 16, 2020
2fcac00
Replace objective-c AppDelegate with Swift
deepumukundan Jul 16, 2020
4198fcc
Make form API non-esoteric
deepumukundan Jul 17, 2020
15d4562
Replace Help View controller with Swift version
deepumukundan Jul 17, 2020
2caf195
Replace tab bar icons with pdf versions for future proofing
deepumukundan Jul 17, 2020
4b71438
Make IPFTestResult struct and coddle to serialize via property list
deepumukundan Jul 18, 2020
a1f4ec0
Switch store from singleton to protocol
deepumukundan Jul 18, 2020
fbc0504
Initial implementation of decode and encode to property list
deepumukundan Jul 19, 2020
a5fa3b9
Change Settings to non-esoteric code
deepumukundan Jul 19, 2020
0246621
Minor cleanup
deepumukundan Jul 19, 2020
c76da7c
Test the store performance and measure metrics
deepumukundan Jul 19, 2020
b1c9af2
Fix window getting deallocated, make store private
deepumukundan Jul 19, 2020
576ee90
Add a delete all results functionality
deepumukundan Jul 19, 2020
53d0691
Add swipe to delete functionality
deepumukundan Jul 19, 2020
e4a1282
Export data as proper text, render as icon
deepumukundan Jul 19, 2020
5d02009
Renamed methods
deepumukundan Jul 19, 2020
420270f
Merge remote-tracking branch 'upstream/master'
deepumukundan Feb 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Resources/Assets.xcassets/clock.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "clock.pdf",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
24 changes: 24 additions & 0 deletions Resources/Assets.xcassets/gear.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "gear.pdf",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file added Resources/Assets.xcassets/gear.imageset/gear.pdf
Binary file not shown.
24 changes: 24 additions & 0 deletions Resources/Assets.xcassets/speedometer.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "speedometer.pdf",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiresPersistentWiFi</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresPersistentWiFi</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
Expand Down
29 changes: 17 additions & 12 deletions Resources/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand All @@ -18,22 +16,29 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="AppIcon" translatesAutoresizingMaskIntoConstraints="NO" id="Hmc-qf-nzx">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="AppIcon" translatesAutoresizingMaskIntoConstraints="NO" id="Hmc-qf-nzx">
<rect key="frame" x="167" y="408" width="80" height="80"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="height" constant="80" id="Nfb-Hr-izj"/>
<constraint firstAttribute="width" constant="80" id="hny-m1-XbP"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="Hmc-qf-nzx" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="34j-mP-2Yx"/>
<constraint firstItem="Hmc-qf-nzx" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="5P1-Fy-ore"/>
</constraints>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="52.173913043478265" y="375"/>
<point key="canvasLocation" x="-861" y="-64"/>
</scene>
</scenes>
<resources>
<image name="AppIcon" width="16" height="16"/>
<image name="AppIcon" width="128" height="128"/>
</resources>
</document>
133 changes: 0 additions & 133 deletions Resources/ViewController.xib

This file was deleted.

6 changes: 6 additions & 0 deletions Resources/iperf-Bridging-Header.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//

#import "IPFTestRunner.h"
#import "IPFTestRunnerConfiguration.h"
7 changes: 0 additions & 7 deletions Source/AppDelegate.h

This file was deleted.

24 changes: 0 additions & 24 deletions Source/AppDelegate.m

This file was deleted.

Loading