Skip to content

Commit b66e015

Browse files
committed
FreeRASP Demo App for iOS
0 parents  commit b66e015

File tree

250 files changed

+28072
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+28072
-0
lines changed

.gitignore

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
# Created by https://www.gitignore.io/api/swift,xcode
3+
4+
### Swift ###
5+
# Xcode
6+
#
7+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
8+
9+
## Build generated
10+
/build/
11+
DerivedData/
12+
13+
## Various settings
14+
*.pbxuser
15+
!default.pbxuser
16+
*.mode1v3
17+
!default.mode1v3
18+
*.mode2v3
19+
!default.mode2v3
20+
*.perspectivev3
21+
!default.perspectivev3
22+
xcuserdata/
23+
24+
## Other
25+
*.moved-aside
26+
*.xccheckout
27+
*.xcscmblueprint
28+
29+
## Obj-C/Swift specific
30+
*.hmap
31+
*.ipa
32+
*.dSYM.zip
33+
34+
## Playgrounds
35+
timeline.xctimeline
36+
playground.xcworkspace
37+
38+
39+
.build/
40+
*.xcarchive
41+
*.zip
42+
43+
fastlane/report.xml
44+
fastlane/Preview.html
45+
fastlane/screenshots
46+
fastlane/test_output
47+
48+
#Pods
49+
Carthage
50+
51+
### Xcode Patch ###
52+
*.xcodeproj/*
53+
!*.xcodeproj/project.pbxproj
54+
!*.xcodeproj/xcshareddata/
55+
!*.xcworkspace/contents.xcworkspacedata
56+
/*.gcno
57+
58+
# End of https://www.gitignore.io/api/swift,xcode,cocoapods

FreeRASP/.swiftlint.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
excluded: # paths to ignore during linting. Takes precedence over `included`.
2+
- Resources
3+
disabled_rules:
4+
- line_length
5+
- cyclomatic_complexity
6+
- function_body_length
7+
- trailing_whitespace
8+
- trailing_comma
9+
- type_body_length
10+
identifier_name:
11+
max_length:
12+
warning: 40
13+
error: 60
14+
min_length:
15+
warning: 0
16+
type_name:
17+
max_length:
18+
warning: 50
19+
error: 60
20+
min_length:
21+
warning: 0
22+
custom_rules:
23+
white_char_ending: # rule identifier
24+
included: ".*.swift" # regex that defines paths to include during linting. optional.
25+
name: "White character ending" # rule name. optional.
26+
regex: "([^ \t\r\n])[ \t]+$" # matching pattern
27+
message: "Biele znaky su na konci riadka zbytocne.😎" # violation message. optional.
28+
severity: warning # violation severity. optional.
29+
match_kinds: # SyntaxKinds to match. optional.
30+
- argument
31+
- attribute.builtin
32+
- attribute.id
33+
- buildconfig.id
34+
- buildconfig.keyword
35+
- identifier
36+
- keyword
37+
- number
38+
- objectliteral
39+
- parameter
40+
- placeholder
41+
- string
42+
- string_interpolation_anchor
43+
- typeidentifier

FreeRASP/AppDelegate.swift

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
//
2+
// AppDelegate.swift
3+
// FreeRASPDemoApp
4+
//
5+
// Created by Talsec.app on 04/08/2021.
6+
//
7+
8+
import UIKit
9+
import TalsecRuntime
10+
11+
@main
12+
class AppDelegate: UIResponder, UIApplicationDelegate {
13+
14+
func application(_ application: UIApplication,
15+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
16+
true
17+
}
18+
19+
// MARK: UISceneSession Lifecycle
20+
21+
func application(_ application: UIApplication,
22+
configurationForConnecting connectingSceneSession: UISceneSession,
23+
options: UIScene.ConnectionOptions) -> UISceneConfiguration {
24+
UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
25+
}
26+
27+
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0.573",
9+
"green" : "0.596",
10+
"red" : "0.192"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)