Where are the UIKit Framework implementation files

2019-01-11 12:51发布

I can find the UIKit header files but i'd like to see how some of the UIKit classes are being implemented because i'm trying to create some custom controls.

So basically i'm trying to find the UIKit .m files, where would they be located on my mac?

2条回答
Luminary・发光体
2楼-- · 2019-01-11 13:24

The source code (as hotpaw2 said) is only available to Apple, but there are multiple ways you can see what's going on:

So, while it's not as simple as opening up some .m files, it's certainly possible to see how Apple does things in UIKit!

查看更多
倾城 Initia
3楼-- · 2019-01-11 13:27

They aren't on your Mac (in source form). Only Apple has access to most UIKit source. What you have on your Mac is already compiled into library binary files.

查看更多
登录 后发表回答