nstableview Questions
5
Solved
I have a view-based NSTableView. Each view in the table has a custom text field.
I'd like to fire an action when the user clicks on the text field (label) inside the table's view (imagine having a...
Quaternary asked 23/3, 2012 at 14:52
2
Solved
I have an NSTableView, and I would like to know when the user has scrolled to the bottom, so I can perform an action. Not quite sure how to go about this?
UPDATE:
Here is how I am calculating the ...
Sparkle asked 10/2, 2011 at 16:7
1
It seems that NSTableView has no equivalent to UITableView's tableFooterView property. What is the preferred way to add a footer view to a table view in Cocoa?
Evadnee asked 15/12, 2012 at 14:13
2
Solved
I have two NSTableView's in my app and the user can drag and drop items from table A to table B. When dragging an item to table B Xcode gives me the following layout warning message:
Layout stil...
Colley asked 3/6, 2015 at 13:29
2
Solved
My app description,
Add NSMutableArray with some items (say 1- 50)
Add NSArrayController and add/bind that array to this arrayController
Add NSTableView to my view and populate them using the con...
Sparge asked 22/11, 2013 at 11:59
1
OSX: Objects inside view based table views may only be connected to to the table view's delegate
I have setup a NSView with an embedded NSTableView.
I have tried to set an action for the NSTableViewCell to run when a change is made to the Table View Cell:
import Cocoa
class MyView: NSView...
Frontpage asked 11/5, 2016 at 11:38
1
I have a NSTableView which intermittently will stop animating and updating itself correctly, leading to a terrible user experience.
let oldRows = filteredDocuments
let newRows = newFilteredDocumen...
Yorktown asked 20/4, 2016 at 0:19
4
Solved
Is it possible to change the names of NSTableView columns by double clicking on the columns headers? Any suggestions on the best way to do this.
I am trying:
Set the double action of the table v...
Palatinate asked 31/1, 2013 at 14:4
3
Solved
I'm using a view-based table view and don't want it to draw NSTextFields with white text color when it is selected.
I was not able to find a working solution. So any help is very appreciated.
Here...
Kacerek asked 22/7, 2012 at 12:39
1
I have a NSTableView that shows some images and a text in every row. I enabled multiple Selection for NSTableView. And I enabled Drag&Drop for TableView to sort or export the images.
It now hap...
Incidence asked 8/11, 2014 at 9:33
3
Solved
So I want to implement Parental Controls per user in my app, but I need a way of getting all Users and add them to an NSTableView. These users should be the same displayed by the Login Window, excl...
Wham asked 10/9, 2010 at 2:18
1
I have an NSTableView with 5 columns, each containing a stock NSTableCellView in the nib. (The stock cells have a text box and an optional image.) When populated, the table has around 50 rows. Ever...
Cerebrovascular asked 13/11, 2013 at 19:32
1
Solved
I am working through a Cocoa in Swift book and I am stuck in a chapter on Bindings. The book uses nib files but I want to do everything programmatically (since I am joining a team that does not use...
Mycenae asked 4/1, 2016 at 1:36
0
I set my window's appearance to NSAppearanceNameVibrantDark in order to have some kind of "dark" theme, which works wonderfully. Not being a fan of pure black though, I want to lighten the UI eleme...
Fir asked 18/12, 2015 at 14:1
3
Solved
I have an NSTableView of content type View Based with two columns.
My objects are structured as follows:
Table View
Table Column
Table Cell View
Text Field
Table Column
Table Cell View
Pop...
Jonniejonny asked 11/10, 2012 at 18:52
2
Solved
How do I communicate between my NSViewController and the NSTableViewCell when I select that cell on my tableView?
On iOS you could use setSelected but in OSX it is totally different.
The NSTableCel...
Macneil asked 21/10, 2015 at 1:23
1
Background:
On OS X 10.11 El Capitan, the default header hight of NSTableView has grown.
Problem:
When I build my NSTableView on OS X El Capitan 10.11 (GM) and Xcode 7.0 (the stable one), the ta...
Louiselouisette asked 22/9, 2015 at 8:53
3
Solved
I wondered how I can make a NSTableView to behave like a UITableView on iOS. For example, splitting the content into sections as well as the typical behaviour of the section headers.
Is that possi...
Aisne asked 20/3, 2011 at 14:49
2
Solved
I am looking for a way of programmatically putting a checkbox in the first column of an NSTableView. I want to do it in Swift. I need to be able to read the values of all the buttons and set the bu...
Rebhun asked 12/9, 2015 at 0:46
5
I am fairly new to OS X Cocoa programming but have decided to give it a go with the new Swift language.
I have an NSTableView with 1500 rows (will be more) and 7 columns. There is one checkbox col...
Publicist asked 2/11, 2014 at 6:26
1
Solved
Is it possible to create a NSTableView in Interface Builder that has a preset number of rows so that the table can be used as a form?
I have a view that requires a form of various labels and textf...
Anderegg asked 14/6, 2015 at 11:29
5
Solved
Basically, I have an NSTableView with 1 collumn, and I'm inserting long strings into each row. However, not all the strings are long, so I'd like the height of each row to be different based on how...
Fling asked 9/7, 2010 at 11:52
6
Solved
I have a NSTableView with the delegate and datasource pointing to my controller. I have tried implementing the
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)...
Borghese asked 23/9, 2011 at 19:8
1
Solved
I have an os x app that uses core data.
I have 3 .xib files in my app, those are:
1. MainMenu.xib
2. MasterTableViewController.xib
3. DetailViewController.xib
When started , app displays a v...
Emyle asked 13/8, 2015 at 10:47
2
I'm trying to simulate the way Spotlight works in Yosemite where the NSTextField (search field) always retains focus when hitting the up/down arrow keys and moves the tableview selection up and dow...
Aliment asked 10/3, 2015 at 14:55
© 2022 - 2024 — McMap. All rights reserved.