Xcode: what is this colour? (settings table view background colour) [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I would like to replicate the colour that can be seen in a grouped Table View, however in the developer colour palette there is no matching colour. Any idea if this is already a preset somewhere?

In Interface Builder, rather than pressing on the large colour block, if you click on the up/down blue arrows on the right, you will be presented with built-in options.
Click arrows on right hand side in blue:
This will display this list:
I believe you are looking for "Group Table View Background Color".
To set this programatically, you can use:
Swift:
UIColor.groupTableViewBackgroundColor()
Objective-C
[UIColor groupTableViewBackgroundColor]

Not a direct answer to you question, but if you want to pick and save any color on your screen, you can do this:
Use the color picker tool at the bottom of the "Colors" panel and just drag your mouse over something that is visible on your screen (doesn't have to be within Xcode). When you are done you can save the color in the "Color Palettes" tab.

Related

Create grey transparent alert [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I am looking for either the terminology or a reference on how to do this.
When you Successfully build a project on Xcode a nice, looking alert pops up. Like the one below:
I have found only one other question on how to recreate this for Mac OS. I want the iOS version. I want to use this alert to show a count down for a timer. I have the count down fully functional but I'm not sure of a good way to display. I think this would be ideal for it.
I have the count down fully functional but I'm not sure of a good way to display
It's simply a view (UIView), with a transparent grey background color, rounded corners, and a light shadow. All of that can be readily be configured by straightforward view and layer properties in about three lines of code, and showing the view can be as simple as one line of code.

How can I reset how Xcode is displaying my project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I was editing a project in Xcode, and went to close it out. So I closed the main window, with the "Run", "choose a device", etc. controls in the bar above the top.
When I closed that window, another popout window appeared from underneath, such as you get by ?double-clicking? a source filename in the editor.
When I reopened the project after restarting Xcode, it opened my project in a semi-popout mode. It has the dimensions and original placement of the popout window. It did display a left pane with which to browse resources, but not the top bar of buttons and controls.
How can I get this project back to displaying the way it normally displays in Xcode? Is there an "editor state" file that I can simply rename?
Either resetting editor behaviour to default, or reverting the display to the last change before I ?saved a state of one popout-style window?, would be welcome.
Thanks,
I think View->Show Toolbar is what you are looking for.

Make simple text editor in android With Bold Italic and Underline [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Make the EditText view as text editor using Bold ,Italic and Underline styles similer to gmail compose
This is not especially easy. I have a work-in-progress component in my CWAC-RichEdit project for this.
In the end, you need to be able to apply CharacterStyle subclasses to the content of the EditText, typically when the user highlights some text. This involves getting the Spannable out of the EditText via getText(), getting selection information from the EditText, then applying the span. However:
You have to take into account both adding and removing styles
Some styles, like bullets or line alignment, are not strictly applied to the highlighted text, but rather to the line containing the highlighted text
You need to have some UI to help with this (e.g., additional options in the action mode that pops up when the user highlights text)
I hope (:: crosses fingers ::) to be able to pick up work on my RichEditText again this fall to push its development along further.

Show UISearchDisplayController at bottom of the screen [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
guys. I need to implement our designer's model. Here, he has moved the search bar to the bottom on the screen and whenever the keyboard appears it is moved to the top of the keyboard. Now I would like to keep the UISearchDisplayController to get all the filtering functionallity. But seems it's not possible to change the searchbar and keep it there. I could adjust the initial frame, but then when editmode comes. The bar is lifted to top of the screen. Has anybody done this before? Or maybe an alternative control that I could use?.
Thanks a lot.
You cannot use a UISearchDisplay in your case, you will need to implement the component yourself from scratch. The good thing is that you can use a UISearchBar for that, and just implemente yourself the behaviour using the delegate.
UISearchBar

How to dock "Tool Options" to "Toolbox"? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
The "Tool Options" and the "Toolbox" used to be in the same window, but it somehow broke apart. Can somebody give some hints as how to bring them together as one again?
I'm using GIMP 2.8.1. I hope this will work for you:
Open the "Windows" menu and select "Single-Window Mode".
Simple ;)
In the detached window (Tool Options), the name of the view (Paintbrush) is a grab-bar.
Put your cursor over the grab-bar, click and drag it to the dock area in the main window in order to reattach it to the main window.
In the detached 'Tool Options' window, click on the red 'X' in the upper right corner to get rid of the window. Then on the main Gimp screen, click on 'Windows,' then 'Dockable Dialogs.' The first entry on its list will be 'Tool Options,' so click on that. Then, Tool Options will appear as a tab in the window on the right side of the screen, along with layers and undo history. Click and drag that tab over to the toolbox window on hte left and drop it inside. The tool options will again be docked in the toolbox.

Resources