-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changes * New version * Polls prototype * Update content * Add missing event * New version * Add new actions * add missing widget * New version --------- Co-authored-by: Martin De Simone <[email protected]>
- Loading branch information
1 parent
61a4843
commit 8528e05
Showing
80 changed files
with
15,888 additions
and
7,027 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
SampleApp/Pods/Target Support Files/Pods-Viafoura/Pods-Viafoura-frameworks.sh
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
31 changes: 31 additions & 0 deletions
31
SampleApp/Viafoura/Features/Home/Cell/PollTableViewCell.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,31 @@ | ||
// | ||
// PollTableViewCell.swift | ||
// Viafoura | ||
// | ||
// Created by Martin De Simone on 19/07/2023. | ||
// | ||
|
||
import UIKit | ||
class PollTableViewCell: UITableViewCell{ | ||
|
||
@IBOutlet weak var containerView: UIView! | ||
@IBOutlet weak var containerImage: UIImageView! | ||
@IBOutlet weak var containerLabel: UILabel! | ||
|
||
func setup(forPoll poll: Poll){ | ||
containerLabel.text = poll.title | ||
|
||
containerView.backgroundColor = .white | ||
containerView.layer.masksToBounds = false | ||
containerView.layer.cornerCurve = .continuous | ||
containerView.layer.cornerRadius = 12 | ||
containerView.layer.shadowColor = UIColor.black.cgColor | ||
containerView.layer.shadowOffset = CGSize(width: 0, height: 2) | ||
containerView.layer.shadowRadius = 8 | ||
containerView.layer.shadowOpacity = 0.15 | ||
containerView.layer.rasterizationScale = UIScreen.main.scale | ||
containerView.layer.shouldRasterize = true | ||
|
||
selectionStyle = .none | ||
} | ||
} |
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 |
---|---|---|
|
@@ -41,9 +41,4 @@ class StoryTableViewCell: UITableViewCell{ | |
|
||
selectionStyle = .none | ||
} | ||
|
||
@objc | ||
func shareTapped(){ | ||
|
||
} | ||
} |
Oops, something went wrong.