Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Refactored Color to Extension | Move genre code to Model #39

Closed
wants to merge 3 commits into from
Closed

Conversation

AakifNadeem
Copy link
Contributor

Resolved the Issue [#27]
Making cell identifiers a static variable of the class is not an appropriate approach. Identifiers are written inside the constants to be used in multiple classes.

@ChoiysApple
Copy link
Owner

Hello! Thanks for contributing this project despite of no contribution guide. 😀

First, I'm using main branch for released code so please make PR for Develop branch
Second, I'm not understanding enough why using cell identifiers declared as static can you elaborate about this?

@AakifNadeem AakifNadeem changed the base branch from main to Develop September 27, 2023 10:24
@AakifNadeem
Copy link
Contributor Author

Sure @ChoiysApple I'll update the branch from develop and resolve the conflicts.
For the cell identifiers we don't have to make it static we can also use constant as well. The only issue is that we don't have to move cell identifiers inside each class because they are being used in multiple classes.

@ChoiysApple
Copy link
Owner

@AakifNadeem
Thanks for the elaboration. I'll proceed merging when conflicts are resolved.
But I was planning to do more(such as using RGB or Hex color for extension and using generics for cell identifiers) so I'll keep issue open.

Thanks for the contribution

@AakifNadeem AakifNadeem closed this by deleting the head repository Sep 27, 2023
@AakifNadeem
Copy link
Contributor Author

@ChoiysApple Sure. Creating a new pull request with resolved conflicts.

@ChoiysApple ChoiysApple linked an issue Oct 10, 2023 that may be closed by this pull request
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refactor] remove Constant.swift
3 participants