Firdous
Firdous

Reputation: 4652

Where to find .m files of iOS framework

I m going through framework files that comes with iOS, like Twitter.framework. What i can see is that it all contains the .h files, where as i want to see the implementation files, is there any way to view them?

Upvotes: 3

Views: 2305

Answers (4)

rckoenes
rckoenes

Reputation: 69499

No, Apple does not supply any implementation files for their frameworks.

Upvotes: 3

Dolbz
Dolbz

Reputation: 2106

You can't, and in the vast majority of cases you should have no need to beyond your own curiosity.

The .h files are provided so that your code can link to the Apple provided API's. You don't have a technical need to see the implementation and Apple doesn't provide them presumably because they don't want you to see their implementation. There are valid reasons for this such as protecting their intellectual property and maintaining a certain level of security by obscurity within the OS components.

Upvotes: 9

justin
justin

Reputation: 104698

if the implementation's source files are not provided and a binary is provided for you to link to, then that is by intent. some libraries provide their implementations, and some do not.

Upvotes: 2

Prashant Bhayani
Prashant Bhayani

Reputation: 692

we cant see the m file of any frameworks. all we can get is only .h files.

Upvotes: 2

Related Questions