QLCARFiles icon indicating copy to clipboard operation
QLCARFiles copied to clipboard

Xcode Intellisense data type icons

Open tysun opened this issue 2 years ago • 3 comments

Hi Alexandre,

I saw your blog and this SO post and was wondering if it would be possible to explore the Xcode data types with your tool. Is it possible to dump both the icons and definitions?

HyUD2

Also, for future versions of Xcode where the location might change, how could we make it extensible?

Cheers

tysun avatar Apr 04 '23 03:04 tysun

Hi @tysun ,

I am not sure to fully understand what you are trying to achieve. The current version of the QuickLook plugin QLCARFiles is able to display the content of the file /Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/Assets.car:

Xcode

Can you please clarify what you want to achieve?

Timac avatar Apr 13 '23 17:04 Timac

Hi Timac,

Well, looking at the image I posted, I would like to download all of the icons+definitions of all the Intellisense data types.

B — binding
 T — builtin type, typedef 
c̱ — category
 C — class, or class template 
CE — class extension 
M — method, method template, instance method, member
 V — class variable, global variable, instance variable
 K — const, enum constant 
E — enum 
F — field 
ƒ — function, function template 
A — IBAction method
 O — IBOutlet, IBOutletCollection 
# — macro
 C (brown) — modeled class
 M (brown) — modeled method
 P (brown) — modeled property
 N — namespace 
x — parameter
 P — property 
Pr — protocol
 S — struct
 U — union ...

As you can also see, the data type icons are categorized by icon color groups: Red: macros Brown: Core Data / namespace Orange: aliased types Green: variables Blue: methods Purple: aggregate types

Someone on SO found the cassettes folder where they were located years ago, but the location and scheme seems to have changed. They might be generated on the fly.

Do you know anything about this?

Cheers

tysun avatar Apr 14 '23 02:04 tysun

It seems to me that this wouldn't be a feature for QLCARFiles but a brand-new tool.

Timac avatar Apr 14 '23 07:04 Timac