Commit Graph
37 Commits
Author SHA1 Message Date
Justin Spahr-Summers fd1bbba8f8 Revert TUITableViewCell changes
This reverts commit f5ade96e06, reversing changes made to 91d97d6c62.

They were causing too much breakage for us.
2012-11-12 10:33:27 -08:00
Justin Spahr-Summers 7b76c240a1 Actually default separatorStyle to what it's documented to be 2012-11-01 12:05:35 -07:00
Aditya Nrusimha 8d2aa9cdf0 Short circuit same-value setting. 2012-10-18 14:23:19 -07:00
Aditya Nrusimha 12eaffc9b5 Fixed alternated colors. 2012-10-18 13:53:34 -07:00
Aditya Nrusimha f752e23a7c Removed gradient drawing.
:(
2012-10-17 19:40:22 -07:00
Aditya Nrusimha b25704f04e Remove macro. 2012-10-16 21:36:00 -07:00
Aditya Nrusimha bbab47c988 Add alternated gradients and fallback drawing. 2012-10-16 20:23:24 -07:00
Aditya Nrusimha 4372f9ed01 Fix documentation. 2012-10-16 20:09:17 -07:00
Aditya Nrusimha f981326c44 Export gradient cell drawing out of API into a custom block.
No alternated gradient or fallback support yet.
2012-10-16 20:02:48 -07:00
Aditya Nrusimha 27068cbf5b Remove TUITableViewCellAngle. CGFloats are good enough. 2012-10-12 17:08:16 -07:00
Aditya Nrusimha 235a305b20 Patched unused code. 2012-10-12 16:18:39 -07:00
Aditya Nrusimha cfa9f1b0e7 Style changes and refactoring. 2012-10-12 15:52:33 -07:00
Aditya Nrusimha 80b4051e0e Added a new color, style fixes, and reimplementation. 2012-10-11 20:21:38 -07:00
Aditya Nrusimha cb877b8c28 Introduce more options for customization. 2012-10-11 20:21:22 -07:00
Aditya Nrusimha 3087c8428a Add TUITableViewCell default drawing and options.
Flesh out the class, as well as clean it up.
2012-10-11 20:20:55 -07:00
Justin Spahr-Summers 6c0d74f92a Remove unused imports 2012-08-10 21:52:20 -07:00
Justin Spahr-Summers b333d798e7 Refactor code to use NSIndexPath instead of TUIFastIndexPath 2012-07-27 18:17:31 -07:00
Justin Spahr-Summers 07a59582a7 Remove TUIFastIndexPath import from TUITableView.h and TUITableViewCell.h 2012-07-23 12:12:22 -07:00
joshaber 8bd71fb704 Merge remote-tracking branch 'upstream/master' into dev
Conflicts:
	TwUI.xcodeproj/project.pbxproj
	lib/Support/CoreText+Additions.m
	lib/UIKit/TUIAttributedString.m
	lib/UIKit/TUIControl.m
	lib/UIKit/TUINSView.h
	lib/UIKit/TUINSView.m
	lib/UIKit/TUINSWindow.m
	lib/UIKit/TUITableView.m
	lib/UIKit/TUITableViewCell.m
	lib/UIKit/TUITextRenderer.m
	lib/UIKit/TUITextView.m
	lib/UIKit/TUIView.m
2012-04-09 14:48:41 -04:00
joshaber c5777260a2 mouse down should always set it as the first responder 2011-11-17 12:14:05 -08:00
Justin Spahr-Summers fac056b03c ARC migration, baby.
Conflicts:

	TwUI.xcodeproj/project.pbxproj
2011-11-12 17:44:11 -08:00
Justin Spahr-Summers 35f09fc077 Import TUINSWindow.h for use in TUITableViewCell.m 2011-11-12 17:43:39 -08:00
joshaber 82020ec57e don't need to set the selection twice 2011-11-08 11:20:47 -08:00
joshaber fb980ed08b merged in from upstream 2011-11-02 23:08:35 -07:00
Matthias Hochgatterer ad5d0aff69 Merge of fix for issue #9 from @k7d into main project 2011-10-20 20:51:35 +02:00
Brian William Wolter 05955ecaf2 - Fleshing out -mouseEvent:onSubview: stubs in TUIView+Event
- More scroll indicator visibility updates
2011-08-19 20:49:19 -04:00
Loren Brichter 4741c7975a Merge pull request #48 from joshaber/menu-delegate
Added a delegate method to get a menu for an event on a cell
2011-08-12 16:05:24 -07:00
Loren Brichter cb8e5da3d1 Squash merge bww improvements, tableview reordering 2011-08-11 22:44:42 -04:00
joshaber 748af18a8b added a delegate method to get a menu for an event 2011-08-11 22:32:59 -04:00
Matthias Hochgatterer 07a15fd911 New table view delegate method to restrict selection of row based on the event
Fixed table view cell higlighting on right mouse click
2011-08-06 19:15:07 +02:00
Matthias Hochgatterer 3fc5ed4d32 Right click delegate method renamed 2011-08-06 18:20:22 +02:00
Matthias Hochgatterer 7a7795cd5d Updated right click delegate method 2011-08-06 18:12:58 +02:00
Matthias Hochgatterer 3af6cd1045 Added table view delegate method to ask whether to select a cell on right click or not! 2011-08-06 16:38:33 +02:00
Matthias Hochgatterer 9e1f038e3a Added support for right mouse clicks in view
Routing right mouse events to table view delegate
2011-08-04 22:59:46 +02:00
Brian William Wolter 023f33e4d4 Changing selection actually changes the selection (by notifying the delegate) instead of just changing the highlighted state of the selected/deselected cell via:
- (void)selectRowAtIndexPath:(TUIFastIndexPath *)indexPath animated:(BOOL)animated scrollPosition:(TUITableViewScrollPosition)scrollPosition;
- (void)deselectRowAtIndexPath:(TUIFastIndexPath *)indexPath animated:(BOOL)animated;

This also causes selection changes via arrow keys to notify the delegate of the selection change.
2011-07-07 17:52:28 -04:00
joshaber 7d7e81593c -[TUITableViewCell setSelected:animated] should actually animate if we ask for it 2011-07-03 15:38:04 -07:00
Loren Brichter 2a704ca1fb TwUI 0.1 2011-07-01 14:18:11 -04:00