I've been searching the .png files on my Mac looking for the iPad Table View row insert icon (a white plus sign on a green background surrounded by a gray circle). I'd like to use it in a custom table view that inserts records. Is it possible to find that particular icon from Apple on my computer? Is the fact that it's not easy to find a hint that perhaps I shouldn't use it?
Thanks
You're looking for the UITableViewCellEditingStyleInsert button:
Related
I have an NSTableView which holds a bunch of cells. Is it possible (within limits of sandbox) to be able to drag one of these cells to say a text field in Safari and have it insert text from that cell?
Definitely possible. Check out the Drag and Drop Programming Guide and the Pasteboard Programming Guide.
I have found that the text in a table view doesn't grow when the user resizes the column. (Or for that matter shrink if he shrinks the column, because the truncation ellipses then vanish.) Having gathered that this is something to do with constraints, my solution has been to uncheck Use Auto Layout (in the xib's file inspector). Not a big deal, but it comes just when I was beginning to think I might have mastered Autolayout.
Is that really the only way to do this?
The table is view-based, and gets its data from Core Data via an array controller. The text is displayed in an NSTextField.
It is as you have found out yourself.
If you want to know/learn more about NSTableview-behavior search for "TableViewVariableRowHeights" and "TableViewLinks" in Apples documentation and download the samples.
This question appears to be answered in:
How to Expand NSTableCellView Width When Resizing Column in NSTableView
summary: add horizontal constraints to the table view cell
see the link for screenshots
I'm trying to add a table (i.e. a small grid) into a popover in an iBook I am trying to author.
Problem is: I have no idea how to do it. All I seem to be able to add are images and text boxes. The table is grayed out.
I tried creating a table in Numbers and cutting and pasting it in - but that did not work.
Any ideas?
Can I drop down to HTML to do this?
thanks
The only way I have found to do it is
Create a page at the end of the book
Create the table
Take a screen grab of the table
Paste the image into the popover
This does have the (small) advantage of having a single place with all the tables.
Probably the silliest question you've seen today, but I can't figure out how I can reach the off-screen cells, so i can customize them (In the designer)
How can I customize the 4th cell in section 2 (or anything below, not visible):
You can simply select the table view and then scroll using a scroll wheel or touchpad.
I was wondering if any one knew how to save an load fonts on a textview. The app lets the user select the font for the text view but when they switch views and come back it is gone. Does any one know how to save that and then load it. Thanks so much.
Also if any one know how to save text color that would due great also.
Thanks so much!!
What you have to do is to give all the textViews a specific tag values and on navigation before view willDisappear you have to store all the values to array and on navigating back to the view on viewWillAppear fill all the textViews using the tag values.