Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行时如何获取类属性泛型的申明 #315

Open
blooming2017 opened this issue Apr 1, 2020 · 1 comment
Open

运行时如何获取类属性泛型的申明 #315

blooming2017 opened this issue Apr 1, 2020 · 1 comment

Comments

@blooming2017
Copy link

类的属性@Property (nonatomic, copy) NSArray<List *> *list;
怎么获取类属性前面的泛型的声明,例如这个尖括号里的“List”

property_getAttributes 内容是 T@"NSArray",&,N,V_list,只知道是NSArray,怎么获取尖括号里的“List”,谢谢

@zengweijun
Copy link

zengweijun commented Apr 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants