forked from sujithkanna/SmileyRating
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 103: Merge feature/registration to develop
1. Registration flow was added 2. Main color was changed and added to StyleKit 3. Material library was applied on registration textFields Related work items: sujithkanna#22, sujithkanna#24
- Loading branch information
Showing
20 changed files
with
434 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
MedcorPortal-IOS/MedcorPortal-IOS/Extensions/ErrorTextField+Extension.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// TextField+Extension.swift | ||
// MedcorPortal-IOS | ||
// | ||
// Created by Areej Nouh on 12/9/18. | ||
// Copyright © 2018 Mumen Shabaro. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
import Material | ||
|
||
extension ErrorTextField { | ||
func setupTextField(placeHolder: String , detail: String , error: String){ | ||
self.placeholder = placeHolder | ||
self.detail = detail | ||
self.error = error | ||
self.clearButtonMode = .whileEditing | ||
self.isClearIconButtonEnabled = true | ||
self.isPlaceholderUppercasedWhenEditing = true | ||
|
||
} | ||
|
||
func customizeTextFieldColors() { | ||
self.placeholderNormalColor = MedcorPortalStyleKit.mainColor | ||
self.placeholderActiveColor = MedcorPortalStyleKit.mainColor | ||
self.dividerNormalColor = Color.darkGray | ||
self.dividerActiveColor = Color.darkGray | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-591 Bytes
(92%)
...ortal-IOS/General/Assets.xcassets/AppIcon.appiconset/AppIconUpdated60x60@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-434 Bytes
(96%)
...ortal-IOS/General/Assets.xcassets/AppIcon.appiconset/AppIconUpdated60x60@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-520 Bytes
(87%)
...orPortal-IOS/General/Assets.xcassets/AppIcon.appiconset/AppIconUpdated76x76.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-357 Bytes
(96%)
...ortal-IOS/General/Assets.xcassets/AppIcon.appiconset/AppIconUpdated76x76@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+350 Bytes
(100%)
MedcorPortal-IOS/MedcorPortal-IOS/General/MedcorPortal.pcvd
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.