Skip to content

#699 Use cell registration instead of inline cell creation where possible#711

Merged
pivotal-rebecca merged 6 commits intodevelopfrom
issue/699
Dec 9, 2013
Merged

#699 Use cell registration instead of inline cell creation where possible#711
pivotal-rebecca merged 6 commits intodevelopfrom
issue/699

Conversation

@pivotal-rebecca
Copy link

** There is still more to do for this, but I wanted to get the PR rolling for feedback **

A fair chunk of low risk refactoring was also performed around the cell changes.

The goal is to use UITableView cell registration where appropriate, and remove the dequeue-check-create-configure pattern (to use dequeue-configure instead).

Rebecca Putinski and others added 5 commits December 3, 2013 13:26
- WPTableVC registers the cell with a default cell identifier for its subclasses

- Clean up WPTableVC and remove all swiping functionality as it wasn’t used
- Remove other swipe view code from WPTableVC
- Remove dead code - save button is hidden unless fields are filled, so validation code not used

- Add red colour used to WPStyleGuide instead of macro
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to wrap this in NSLocalizedString

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well there's that. 😄

@astralbodies
Copy link
Contributor

:shipit: after the one string is fixed

…nto issue/699

Conflicts:
	WordPress/Classes/AddUsersBlogsViewController.m
	WordPress/Classes/BlogListViewController.m
	WordPress/Classes/CreateWPComAccountViewController.m
	WordPress/Classes/EditSiteViewController.m
	WordPress/Classes/ReaderPostsViewController.m
	WordPress/Classes/WPTableViewController.m
pivotal-rebecca pushed a commit that referenced this pull request Dec 9, 2013
#699 Use cell registration instead of inline cell creation where possible. WRT to @astralbodies comment, not fixing the string as the file is deleted in #692
@pivotal-rebecca pivotal-rebecca merged commit 77edcd3 into develop Dec 9, 2013
@pivotal-rebecca pivotal-rebecca deleted the issue/699 branch December 9, 2013 15:59
@pivotal-rebecca pivotal-rebecca restored the issue/699 branch December 12, 2013 02:53
@astralbodies astralbodies deleted the issue/699 branch December 19, 2013 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants