Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Merge of #25 Against Master #33

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

blakewatters
Copy link

No description provided.

mattgrayson and others added 10 commits April 23, 2013 17:04
Range selection mimics Hipmunk. Also streamlines button creation.
support for deselecting dates and ensure calendarView:shouldSelectDate:
is respected when selecting date ranges
Was only scrolling to the month of the given date. Also added secondary
method to allow customizing the scroll position.
…ke into account self.pinsHeaderToTop

Also added date range selection demo to test app
Added public properties for text shadow color, today's text color,
today's shadow color. Also added public property to toggle display of
dates that fall outside of the current month.
The copy headers build phase wasn't making the headers available to the
parent project (and breaking the ability to Archive the parent
project). Moving headers to copy files build phase resolved the
problem. Not sure this is the correct fix ...
… feature/date-range-selection

Conflicts:
	TimesSquare/TSQCalendarRowCell.m
@blakewatters
Copy link
Author

Additional cleanups layered on top of #25

@property (nonatomic, strong) UIButton *todayButton;
@property (nonatomic, strong) UIButton *selectedButton;
{
NSUInteger buttonStates[7];
Copy link
Owner

Choose a reason for hiding this comment

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

Shouldn't hardcode 7 here. There's a daysInWeek property.

Copy link
Owner

Choose a reason for hiding this comment

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

Also: this shouldn't be NSUInteger, it should be an enum of some sort.

@ened
Copy link

ened commented Sep 5, 2013

@blakewatters & @mattgrayson this is a awesome PR. 👍 from me for merging (once @puls`s amendments are in - do you guys need support for this?).

@ened
Copy link

ened commented Sep 23, 2013

@blakewatters perhaps we should re-test this PR on a real device. I just checked the performance on an iPad2 (iOS7) and the scrolling performance dropped a lot.

@blakewatters
Copy link
Author

I fixed a serious memory / performance issue earlier today on the TAFlights
branch on the GateGuru fork. Will update the PR.

This patch needs some more love IMO before merge. I just need to find
cycles. Really needs a test suite to make refactoring less risky

On Monday, September 23, 2013, Sebastian Roth wrote:

@blakewatters https://github.com/blakewatters perhaps we should re-test
this PR on a real device. I just checked the performance on an iPad2 (iOS7)
and the scrolling performance dropped a lot.


Reply to this email directly or view it on GitHubhttps://github.com//pull/33#issuecomment-24931595
.

To stay sane & productive, I don't live in e-mail. If you need to reach me
quickly, try this link: https://awayfind.com/blakewatters

@blakewatters
Copy link
Author

Just heads up for anyone interested in this work: I have elected to cut bait on TimesSquare and implement a new calendar based on collection views (PSTCollectionView or UICollectionView). I will not be picking this effort back up.

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.

4 participants