Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
78 changes: 77 additions & 1 deletion smartClass.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
objects = {

/* Begin PBXBuildFile section */
08A2C2772A24E6AD00B8FA6D /* TabBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C2762A24E6AD00B8FA6D /* TabBarView.swift */; };
08A2C2792A24E6D800B8FA6D /* Colors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C2782A24E6D800B8FA6D /* Colors.swift */; };
08A2C27B2A24EA1800B8FA6D /* Icons.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C27A2A24EA1800B8FA6D /* Icons.swift */; };
08A2C27D2A24F03700B8FA6D /* TabBarModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C27C2A24F03700B8FA6D /* TabBarModel.swift */; };
08A2C27F2A25065700B8FA6D /* CalendarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C27E2A25065700B8FA6D /* CalendarView.swift */; };
08A2C2812A25066A00B8FA6D /* ClockView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C2802A25066A00B8FA6D /* ClockView.swift */; };
08A2C2832A25067C00B8FA6D /* ProfileView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A2C2822A25067B00B8FA6D /* ProfileView.swift */; };
A8700DF32A1DDAD500D60253 /* smartClassApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8700DF22A1DDAD500D60253 /* smartClassApp.swift */; };
A8700DF52A1DDAD500D60253 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8700DF42A1DDAD500D60253 /* ContentView.swift */; };
A8700DF72A1DDAD600D60253 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A8700DF62A1DDAD600D60253 /* Assets.xcassets */; };
Expand All @@ -18,6 +25,13 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
08A2C2762A24E6AD00B8FA6D /* TabBarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarView.swift; sourceTree = "<group>"; };
08A2C2782A24E6D800B8FA6D /* Colors.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Colors.swift; sourceTree = "<group>"; };
08A2C27A2A24EA1800B8FA6D /* Icons.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Icons.swift; sourceTree = "<group>"; };
08A2C27C2A24F03700B8FA6D /* TabBarModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarModel.swift; sourceTree = "<group>"; };
08A2C27E2A25065700B8FA6D /* CalendarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalendarView.swift; sourceTree = "<group>"; };
08A2C2802A25066A00B8FA6D /* ClockView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ClockView.swift; sourceTree = "<group>"; };
08A2C2822A25067B00B8FA6D /* ProfileView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProfileView.swift; sourceTree = "<group>"; };
A8700DEF2A1DDAD500D60253 /* smartClass.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = smartClass.app; sourceTree = BUILT_PRODUCTS_DIR; };
A8700DF22A1DDAD500D60253 /* smartClassApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = smartClassApp.swift; sourceTree = "<group>"; };
A8700DF42A1DDAD500D60253 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
Expand All @@ -41,6 +55,58 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
08A2C2842A250A5000B8FA6D /* Resource */ = {
isa = PBXGroup;
children = (
08A2C2782A24E6D800B8FA6D /* Colors.swift */,
08A2C27A2A24EA1800B8FA6D /* Icons.swift */,
);
path = Resource;
sourceTree = "<group>";
};
08A2C2852A250A5E00B8FA6D /* View */ = {
isa = PBXGroup;
children = (
08A2C2882A250A9400B8FA6D /* TabBar */,
A8700DF42A1DDAD500D60253 /* ContentView.swift */,
);
path = View;
sourceTree = "<group>";
};
08A2C2862A250A6500B8FA6D /* Model */ = {
isa = PBXGroup;
children = (
08A2C2892A250AB800B8FA6D /* TabBar */,
);
path = Model;
sourceTree = "<group>";
};
08A2C2872A250A6900B8FA6D /* ViewModel */ = {
isa = PBXGroup;
children = (
);
path = ViewModel;
sourceTree = "<group>";
};
08A2C2882A250A9400B8FA6D /* TabBar */ = {
isa = PBXGroup;
children = (
08A2C2762A24E6AD00B8FA6D /* TabBarView.swift */,
08A2C27E2A25065700B8FA6D /* CalendarView.swift */,
08A2C2802A25066A00B8FA6D /* ClockView.swift */,
08A2C2822A25067B00B8FA6D /* ProfileView.swift */,
);
path = TabBar;
sourceTree = "<group>";
};
08A2C2892A250AB800B8FA6D /* TabBar */ = {
isa = PBXGroup;
children = (
08A2C27C2A24F03700B8FA6D /* TabBarModel.swift */,
);
path = TabBar;
sourceTree = "<group>";
};
A8700DE62A1DDAD500D60253 = {
isa = PBXGroup;
children = (
Expand All @@ -60,12 +126,15 @@
A8700DF12A1DDAD500D60253 /* smartClass */ = {
isa = PBXGroup;
children = (
08A2C2852A250A5E00B8FA6D /* View */,
08A2C2872A250A6900B8FA6D /* ViewModel */,
08A2C2862A250A6500B8FA6D /* Model */,
08A2C2842A250A5000B8FA6D /* Resource */,
A8700E092A1DDC9D00D60253 /* Extension */,
A8700E062A1DDC4900D60253 /* Modifiers */,
A8700E032A1DDBFC00D60253 /* Info.plist */,
A8700E002A1DDB6B00D60253 /* Fonts */,
A8700DF22A1DDAD500D60253 /* smartClassApp.swift */,
A8700DF42A1DDAD500D60253 /* ContentView.swift */,
A8700DF62A1DDAD600D60253 /* Assets.xcassets */,
A8700DF82A1DDAD600D60253 /* Preview Content */,
);
Expand Down Expand Up @@ -176,8 +245,15 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
08A2C27F2A25065700B8FA6D /* CalendarView.swift in Sources */,
08A2C2772A24E6AD00B8FA6D /* TabBarView.swift in Sources */,
A8700DF52A1DDAD500D60253 /* ContentView.swift in Sources */,
08A2C2812A25066A00B8FA6D /* ClockView.swift in Sources */,
08A2C2832A25067C00B8FA6D /* ProfileView.swift in Sources */,
08A2C27D2A24F03700B8FA6D /* TabBarModel.swift in Sources */,
08A2C27B2A24EA1800B8FA6D /* Icons.swift in Sources */,
A8700E082A1DDC6100D60253 /* CustomFont.swift in Sources */,
08A2C2792A24E6D800B8FA6D /* Colors.swift in Sources */,
A8700E052A1DDC2A00D60253 /* FontManager.swift in Sources */,
A8700DF32A1DDAD500D60253 /* smartClassApp.swift in Sources */,
A8700E0B2A1DDCAD00D60253 /* View.ext.swift in Sources */,
Expand Down
Binary file not shown.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconCalendar.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconCalendar.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconClock.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconClock.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconProfile.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconProfile.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconTabCalendar.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconTapCalendar.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconTabClock.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconTapClock.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Assets.xcassets/iconTabProfile.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "iconTapProfile.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions smartClass/Model/TabBar/TabBarModel.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// TapBarModel.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import Foundation

struct TabBarModel: Hashable {
let text: String
let icon: String
let tapIcon: String

static let exampleTapBar: [TabBarModel] =
[
TabBarModel(text: "Календарь", icon: Icons.iconCalendar, tapIcon: Icons.iconTabCalendar),
TabBarModel(text: "Уведомления", icon: Icons.iconClock, tapIcon: Icons.iconTabClock),
TabBarModel(text: "Профиль", icon: Icons.iconProfile, tapIcon: Icons.iconTabProfile)
]
}
14 changes: 14 additions & 0 deletions smartClass/Resource/Colors.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// Colors.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import SwiftUI

struct Colors {
static let iconColorBG = Color(red: 153/255, green: 153/255, blue: 153/255, opacity: 1)
static let tabIconColor = Color(red: 38/255, green: 110/255, blue: 241/255, opacity: 1)
static let buttonTabBG = Color(red: 244/255, green: 244/255, blue: 244/255, opacity: 1)
}
17 changes: 17 additions & 0 deletions smartClass/Resource/Icons.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Icons.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import Foundation

struct Icons {
static let iconCalendar: String = "iconCalendar"
static let iconTabCalendar: String = "iconTabCalendar"
static let iconClock: String = "iconClock"
static let iconTabClock: String = "iconTabClock"
static let iconProfile: String = "iconProfile"
static let iconTabProfile: String = "iconTabProfile"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ struct ContentView: View {
.foregroundColor(.accentColor)
Text("Hello, world!")
.customFont(font: FontManager.Nunito.black, size: 20)
Text("Hello, world!")
.customFont(font: FontManager.Nunito.black, size: 20)
}
.padding()
}
Expand Down
20 changes: 20 additions & 0 deletions smartClass/View/TabBar/CalendarView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// CalendarView.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import SwiftUI

struct CalendarView: View {
var body: some View {
Text("Hello, Calendar!")
}
}

struct CalendarView_Previews: PreviewProvider {
static var previews: some View {
CalendarView()
}
}
20 changes: 20 additions & 0 deletions smartClass/View/TabBar/ClockView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// ClockView.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import SwiftUI

struct ClockView: View {
var body: some View {
Text("Hello, Clock!")
}
}

struct ClockView_Previews: PreviewProvider {
static var previews: some View {
ClockView()
}
}
20 changes: 20 additions & 0 deletions smartClass/View/TabBar/ProfileView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// ProfileView.swift
// smartClass
//
// Created by Vladislav Novoshinskiy on 29.05.2023.
//

import SwiftUI

struct ProfileView: View {
var body: some View {
Text("Hello, Profile!")
}
}

struct ProfileView_Previews: PreviewProvider {
static var previews: some View {
ProfileView()
}
}
Loading