Made avatar UI, COmpleted the AgeVC
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
21
WOKA/Assets/Assets.xcassets/TestImagesDeleteAfter/avatar.imageset/Contents.json
vendored
Normal file
21
WOKA/Assets/Assets.xcassets/TestImagesDeleteAfter/avatar.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"filename" : "avatar 1.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
BIN
WOKA/Assets/Assets.xcassets/TestImagesDeleteAfter/avatar.imageset/avatar 1.png
vendored
Normal file
BIN
WOKA/Assets/Assets.xcassets/TestImagesDeleteAfter/avatar.imageset/avatar 1.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
29
WOKA/Authentication/Controller/SelectAvatarVC.swift
Normal file
29
WOKA/Authentication/Controller/SelectAvatarVC.swift
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// SelectAvatarVC.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class SelectAvatarVC: UIViewController {
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
// Do any additional setup after loading the view.
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
// 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.
|
||||
}
|
||||
*/
|
||||
|
||||
}
|
||||
17
WOKA/Authentication/View/SelectAvatarCell.swift
Normal file
17
WOKA/Authentication/View/SelectAvatarCell.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// SelectAvatarCell.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class SelectAvatarCell: UICollectionViewCell {
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
}
|
||||
21
WOKA/Authentication/View/SelectAvatarCell.xib
Normal file
21
WOKA/Authentication/View/SelectAvatarCell.xib
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="SelectAvatarCell" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
||||
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
||||
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
|
||||
</collectionViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
17
WOKA/Authentication/View/YourIntrestCell.swift
Normal file
17
WOKA/Authentication/View/YourIntrestCell.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// YourIntrestCell.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class YourIntrestCell: UICollectionViewCell {
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
}
|
||||
|
||||
}
|
||||
21
WOKA/Authentication/View/YourIntrestCell.xib
Normal file
21
WOKA/Authentication/View/YourIntrestCell.xib
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13142" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12042"/>
|
||||
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
||||
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="YourIntrestCell" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
|
||||
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
|
||||
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
|
||||
</collectionViewCell>
|
||||
</objects>
|
||||
</document>
|
||||
8
WOKA/Authentication/ViewModel/SelectAvatarVM.swift
Normal file
8
WOKA/Authentication/ViewModel/SelectAvatarVM.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// SelectAvatarVM.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
8
WOKA/Default Enum/GenderEnum.swift
Normal file
8
WOKA/Default Enum/GenderEnum.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// GenderEnum.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
8
WOKA/Helpers/BorderView.swift
Normal file
8
WOKA/Helpers/BorderView.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
//
|
||||
// BorderView.swift
|
||||
// WOKA
|
||||
//
|
||||
// Created by MacBook Pro on 02/05/24.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
Reference in New Issue
Block a user