Commit Graph
61 Commits
Author SHA1 Message Date
Enrico Ghirardi 90b1d6988a More consistent TUTableView scrolling behavior with maintainContentOffsetAfterReload
Taking into account the view resizing during the preLayout even when
the maintainContentOffsetAfterReload is set, to produce a consistent
scrolling behavior.
2012-09-14 16:38:47 +02: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
Justin Spahr-Summers 4baf8a9960 Remove TUIKit.h import from TUINSView header, and add all the other imports that are now necessary 2012-07-23 12:09:02 -07:00
joshaber 9b10d1ae95 added TUITableViewStyleGrouped
section headers now only stick when using TUITableViewStyleGrouped
2012-04-10 12:25:19 -04:00
joshaber 33588842d3 more ARC fixes 2012-04-09 14:48:54 -04: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 17c92bff7a continue looking for a selectable index path until we find one 2012-02-22 15:40:20 -05:00
joshaber a202dcd607 make sure the header view knows that it should be layed out again
this wasn't a problem in 10.7, but in 10.6 the header view wouldn't get
layed out again
2012-01-11 16:46:31 -05:00
joshaber 4e5dd0ec62 fixed the top content inset 2011-12-19 10:43:41 -05:00
joshaber 08f9e91f45 make sure the old index path sticks around until the method's done 2011-12-14 16:04:15 -05:00
Justin Spahr-Summers 59e2c91184 Qualify some weak references called out in comments that I missed 2011-11-12 18:35:12 -08:00
Justin Spahr-Summers fac056b03c ARC migration, baby.
Conflicts:

	TwUI.xcodeproj/project.pbxproj
2011-11-12 17:44:11 -08:00
joshaber bfe768bea4 always update the selection, regardless of whether the index path is the same 2011-11-09 15:32:25 -08:00
joshaber fb980ed08b merged in from upstream 2011-11-02 23:08:35 -07:00
joshaber 7b730648d7 specify whether we want to be made first responder 2011-11-02 23:04:02 -07:00
joshaber dae4c42b74 better indentation 2011-10-25 23:25:30 -07:00
joshaber 65ae4f9bb2 clear out the selection when we reloadData 2011-10-21 16:18:49 -07:00
joshaber 39ad7cb0d3 Revert "select the table view row regardless of whether it was already selected"
This reverts commit 78393837a1.
2011-10-21 16:07:50 -07:00
joshaber 78393837a1 select the table view row regardless of whether it was already selected 2011-10-21 15:23:40 -07:00
Matthias Hochgatterer ad5d0aff69 Merge of fix for issue #9 from @k7d into main project 2011-10-20 20:51:35 +02:00
joshaber 5a672cd778 added a method to relayout the table layout 2011-09-15 17:28:26 -07:00
Brian William Wolter 6d4c370e0a Removing a trace 2011-09-07 13:30:27 -04:00
Brian William Wolter 496fe68da4 Another slight adjustment to section info recreation 2011-09-07 13:15:55 -04:00
Brian William Wolter 359ba5463b Fixing an issue where table section headers may not be propertly removed
In -_preLayoutCells the section info array may be released and recreated, however any header views currently on screen were not removed as a result of this, which could cause them to stack up.
2011-09-07 13:06:01 -04:00
Brian William Wolter 045732f875 Method name updates 2011-08-20 00:28:50 -04:00
Brian William Wolter 92a2abfadc Various updates:
- Adding -mouseEntered:, -mouseExited: support to TUINSView so the hover view is correctly updated when the mouse leaves the TUINSView (and therefore whatever view it was previously on)
- Updating drag-to-reorder row geometry to correctly reorder when the mouse is dragged outside the table bounds
- Adding initial support for scroll view scroll indicator visibility styles
2011-08-19 20:20:18 -04:00
Brian William Wolter 420d9b7565 Table view cell z-position management updates 2011-08-17 21:05:13 -04:00
Brian William Wolter 8752c11419 Pinned header fixes for TUITableView:
- The method -scrollToRowAtIndexPath:atScrollPosition:animated: now accounts for the pinned header when scrolling
- Table headers that extend from the new class TUITableViewSectionHeader (which is optional) are notified when they become pinned/unpinned
2011-08-14 15:30:28 -04:00
Brian William Wolter ef6580d5e1 Merge remote-tracking branch 'upstream/master'
Conflicts:
	ExampleProject/Example.xcodeproj/project.pbxproj
	lib/UIKit/TUITableView.m
2011-08-12 15:55:47 -04:00
Loren Brichter cb8e5da3d1 Squash merge bww improvements, tableview reordering 2011-08-11 22:44:42 -04:00
joshaber 7d9247daca actually call -tableView:willDisplayCell:forRowAtIndexPath: 2011-08-11 22:21:06 -04:00
Brian William Wolter d18c244f08 More cell first responder updates 2011-08-11 14:51:25 -04:00
Brian William Wolter d60c114f6b Only a cell that -acceptsFirstResponder should be made first responder 2011-08-11 14:41:50 -04:00
Brian William Wolter d58c932813 Merge remote-tracking branch 'upstream/master'
Conflicts:
	lib/UIKit/TUINSView.m
	lib/UIKit/TUITableViewCell.m
2011-08-11 14:33:34 -04:00
Jesse Boley 2dbc2861c4 The active section header view now stays pinned to the top of the table view (matching the behavior of UITableView) 2011-08-10 18:48:14 -07:00
joshaber aba29ba190 use the scroll view's contentInset 2011-08-10 10:38: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
Brian William Wolter b9a6022ae2 More table drag-to-reorder updates 2011-08-04 18:24:13 -04:00
Brian William Wolter 1b9cd92827 - Adding "continuous scrolling" support to TUIScrollView, which is used to scroll new content into view during a table drag-to-reorder operation when the cell is dragged near the top or bottom of the viewport
- Updating cell reuse to work correctly with drag-to-reorder while scrolling
- Cleaning up the TUITableView+Cell category a bit
2011-08-04 15:35:04 -04:00
Brian William Wolter 055fc62361 Merge remote-tracking branch 'upstream/master'
Conflicts:
	lib/UIKit/TUITableView.m
2011-08-03 19:36:55 -04:00
Brian William Wolter 263901e667 Small adjustments 2011-08-03 19:29:03 -04:00
Brian William Wolter c7664170ef Yet more table drag-to-reorder updates. In pretty good shape now. 2011-08-03 18:35:34 -04:00
Brian William Wolter 4abf3e5984 More table view drag-to-reorder improvements 2011-08-02 19:56:30 -04:00
Brian William Wolter bc1359b882 More table drag-to-reorder improvements 2011-08-02 18:49:32 -04:00
joshaber 0a4052c38e keep the scroll position by maintaining and restoring the contentOffset 2011-08-02 10:09:22 -07:00
joshaber 4306ed9acf added a headerView property to TUITableView 2011-08-01 22:49:17 -07:00
Brian William Wolter 539d350abb - Adding index path enumeration methods to TUITableView
- Updating drag-to-reorder support to use the above
2011-08-01 20:36:00 -04:00
Brian William Wolter 2ea3115482 - More drag-to-reorder updates
- Fixing an issue with table header views which could cause views to get out of sync with section info
2011-08-01 18:06:35 -04:00
Brian William Wolter 2c0e12fe51 More drag-to-reorder updates 2011-08-01 17:33:55 -04:00