How do I use the detail_text_label attribute of ui.TableViewCell?
The documentation mentions something about the cell style, but there's no way to change the cell style
How do I use the detail_text_label attribute of ui.TableViewCell?
The documentation mentions something about the cell style, but there's no way to change the cell style
https://forum.omz-software.com/topic/941/tableviewcell-detail_text_label
This took an rediculously long time to find, given I knew exactly what i was looking for :/
@JonB Thank you!
@omz You really should add that to the documentation. The other post is from 2 years ago. If the docs were on GitHub, this would have been fixed a long time ago
@JonB , yes it's still tragic searching here. It's such a shame , because so much good info in this forum.
Searching "ui.TableViewCell.detail_text_label site:forum.omz-software.com" on google gives the desired result. Google search with site: operator gives better results than searching directly on the forum .
@abcabc , great idea. Could have a script in Pythonista in the wrench menu that asks for the search term and does the search in the in built browser via Google using site:
@abcabc , hmmm was a idea. Works until the global library that we populate decides to ask if we are a robot or not.... Unbelievable. But that's the way it is I guess. I have never tried to get an API key for Google before, not sure if it's hard or not, but what a pain....
import webbrowser
_site='forum.omz-software.com'
_search_term = 'ui.TextView'
_url = 'http://www.google.com/search?q=' + _search_term + '?site:'+ _site
webbrowser.open(_url)
It may not be worth to get google api keys for simple search like this. May be you can try other search engines like bing or duckduckgo.
@abcabc , yeah I should. Honestly, it is so difficult to search here. As @job mentions, even if you know exactly what you are looking for it still time consuming. I have tried to use the advanced search, and it's probably me, but I seem to get weirder results return. Oh, well, I will try other search engines, see if I can get something working.
This works fine for me:
import webbrowser
import urllib.parse
term = input("Search: ") + " site:forum.omz-software.com"
webbrowser.open(
"https://google.com/search?q={}".format(urllib.parse.quote(term))
)
@Webmaster4o , yeah you are right. @cook is working on something now that will make searching a lot easier in the forum