Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
ios-test-login
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giovanni Cariglia
ios-test-login
Commits
ccf97bb1
Commit
ccf97bb1
authored
Jan 02, 2021
by
Giovanni Cariglia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multi View Test
parent
1913a8b0
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
211 additions
and
44 deletions
+211
-44
Test Login.xcodeproj/project.pbxproj
Test Login.xcodeproj/project.pbxproj
+8
-0
Test Login.xcodeproj/xcuserdata/giovannicariglia.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
...cariglia.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+20
-4
Test Login/Assets.xcassets/AccentColor.colorset/Contents.json
... Login/Assets.xcassets/AccentColor.colorset/Contents.json
+0
-12
Test Login/Assets.xcassets/Blue-mid.colorset/Contents.json
Test Login/Assets.xcassets/Blue-mid.colorset/Contents.json
+0
-12
Test Login/Assets.xcassets/Red.colorset/Contents.json
Test Login/Assets.xcassets/Red.colorset/Contents.json
+0
-12
Test Login/Base.lproj/Main.storyboard
Test Login/Base.lproj/Main.storyboard
+107
-3
Test Login/DashboardController.swift
Test Login/DashboardController.swift
+34
-0
Test Login/DetailsController.swift
Test Login/DetailsController.swift
+34
-0
Test Login/ViewController.swift
Test Login/ViewController.swift
+8
-1
No files found.
Test Login.xcodeproj/project.pbxproj
View file @
ccf97bb1
...
...
@@ -7,6 +7,8 @@
objects
=
{
/* Begin PBXBuildFile section */
9A93295125A0FBC90025FC97
/* DashboardController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9A93295025A0FBC90025FC97
/* DashboardController.swift */
;
};
9A93295425A0FBFF0025FC97
/* DetailsController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9A93295325A0FBFF0025FC97
/* DetailsController.swift */
;
};
9AB7E3E6259D06C8008F9DD8
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9AB7E3E5259D06C8008F9DD8
/* AppDelegate.swift */
;
};
9AB7E3E8259D06C8008F9DD8
/* SceneDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9AB7E3E7259D06C8008F9DD8
/* SceneDelegate.swift */
;
};
9AB7E3EA259D06C8008F9DD8
/* ViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
9AB7E3E9259D06C8008F9DD8
/* ViewController.swift */
;
};
...
...
@@ -16,6 +18,8 @@
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
9A93295025A0FBC90025FC97
/* DashboardController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
DashboardController.swift
;
sourceTree
=
"<group>"
;
};
9A93295325A0FBFF0025FC97
/* DetailsController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
DetailsController.swift
;
sourceTree
=
"<group>"
;
};
9AB7E3E2259D06C8008F9DD8
/* Test Login.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
"Test Login.app"
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
9AB7E3E5259D06C8008F9DD8
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
9AB7E3E7259D06C8008F9DD8
/* SceneDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
SceneDelegate.swift
;
sourceTree
=
"<group>"
;
};
...
...
@@ -63,6 +67,8 @@
9AB7E3EE259D06CB008F9DD8
/* Assets.xcassets */
,
9AB7E3F0259D06CB008F9DD8
/* LaunchScreen.storyboard */
,
9AB7E3F3259D06CB008F9DD8
/* Info.plist */
,
9A93295025A0FBC90025FC97
/* DashboardController.swift */
,
9A93295325A0FBFF0025FC97
/* DetailsController.swift */
,
);
path
=
"Test Login"
;
sourceTree
=
"<group>"
;
...
...
@@ -137,7 +143,9 @@
isa
=
PBXSourcesBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
9A93295125A0FBC90025FC97
/* DashboardController.swift in Sources */
,
9AB7E3EA259D06C8008F9DD8
/* ViewController.swift in Sources */
,
9A93295425A0FBFF0025FC97
/* DetailsController.swift in Sources */
,
9AB7E3E6259D06C8008F9DD8
/* AppDelegate.swift in Sources */
,
9AB7E3E8259D06C8008F9DD8
/* SceneDelegate.swift in Sources */
,
);
...
...
Test Login.xcodeproj/xcuserdata/giovannicariglia.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
View file @
ccf97bb1
...
...
@@ -14,10 +14,26 @@
filePath =
"Test Login/ViewController.swift"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"44"
endingLineNumber =
"44"
landmarkName =
"unknown"
landmarkType =
"0"
>
startingLineNumber =
"51"
endingLineNumber =
"51"
landmarkName =
"testLogin()"
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.FileBreakpoint"
>
<BreakpointContent
uuid =
"183698C8-998B-4832-8222-21AA525C49AE"
shouldBeEnabled =
"No"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
filePath =
"Test Login/DetailsController.swift"
startingColumnNumber =
"9223372036854775807"
endingColumnNumber =
"9223372036854775807"
startingLineNumber =
"12"
endingLineNumber =
"12"
landmarkName =
"viewDidLoad()"
landmarkType =
"7"
>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
...
...
Test Login/Assets.xcassets/AccentColor.colorset/Contents.json
View file @
ccf97bb1
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0.251"
,
"green"
:
"0.212"
,
"red"
:
"0.188"
}
},
"idiom"
:
"universal"
},
{
"color"
:
{
"color-space"
:
"srgb"
,
...
...
Test Login/Assets.xcassets/Blue-mid.colorset/Contents.json
View file @
ccf97bb1
...
...
@@ -12,18 +12,6 @@
},
"idiom"
:
"universal"
},
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0.231"
,
"green"
:
"0.122"
,
"red"
:
"0.800"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
...
...
Test Login/Assets.xcassets/Red.colorset/Contents.json
View file @
ccf97bb1
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0.231"
,
"green"
:
"0.122"
,
"red"
:
"0.800"
}
},
"idiom"
:
"universal"
},
{
"color"
:
{
"color-space"
:
"srgb"
,
...
...
Test Login/Base.lproj/Main.storyboard
View file @
ccf97bb1
This diff is collapsed.
Click to expand it.
Test Login/DashboardController.swift
0 → 100644
View file @
ccf97bb1
//
// DashboardController.swift
// Test Login
//
// Created by Giovanni Cariglia on 02.01.21.
//
import
UIKit
class
DashboardController
:
UIViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
}
@IBAction
func
unwindToDashboard
(
_
unwindSegue
:
UIStoryboardSegue
)
{
//let sourceViewController = unwindSegue.source
// Use data from the view controller which initiated the unwind segue
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
Test Login/DetailsController.swift
0 → 100644
View file @
ccf97bb1
//
// DetailsController.swift
// Test Login
//
// Created by Giovanni Cariglia on 02.01.21.
//
import
UIKit
class
DetailsController
:
UIViewController
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
// Do any additional setup after loading the view.
}
@IBAction
func
unwindToDetails
(
_
unwindSegue
:
UIStoryboardSegue
)
{
//let sourceViewController = unwindSegue.source
// Use data from the view controller which initiated the unwind segue
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
Test Login/ViewController.swift
View file @
ccf97bb1
...
...
@@ -23,7 +23,14 @@ class ViewController: UIViewController, UITextFieldDelegate {
}
@IBAction
func
onBtnLoginAction
(
_
sender
:
UIButton
)
{
_
=
testLogin
()
if
testLogin
()
{
performSegue
(
withIdentifier
:
"segueLoginToDashboard"
,
sender
:
self
)
}
}
@IBAction
func
unwindToLogin
(
_
unwindSegue
:
UIStoryboardSegue
)
{
//let sourceViewController = unwindSegue.source
// Use data from the view controller which initiated the unwind segue
}
func
textFieldShouldReturn
(
_
textField
:
UITextField
)
->
Bool
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment