Skip navigation

So the framework.m files are online somewhere?

938 Views 15 Replies Latest reply: Jun 30, 2012 11:22 AM by mark133 RSS
1 2 Previous Next
mark133 Level 1 Level 1 (55 points)
Currently Being Moderated
Jun 29, 2012 6:05 PM

Or are they already partially integrated into the compiler and automatically implemented during test runs, somehow?

iMac
  • Michael Superczynski Level 5 Level 5 (7,095 points)
    Currently Being Moderated
    Jun 29, 2012 6:08 PM (in response to mark133)

    If you're referring to '.m' files other than those you've created yourself, only the party that created them has the source.

     

    The methods defined in the '.m' files are defined in the publicly available '.h' files which is how we can make use of Apple and third party libraries.

  • Michael Superczynski Level 5 Level 5 (7,095 points)
    Currently Being Moderated
    Jun 29, 2012 6:22 PM (in response to mark133)

    1. The object code created by the compiler is publicly available if free or for a price if not.

     

    2. Would you want to give away the source to your best-selling app?

     

    3. Yes.

     

    4. See a copyright lawyer.  (However, I think anything one creates is automatically copyrighted as original work).

  • etresoft Level 7 Level 7 (23,900 points)
    Currently Being Moderated
    Jun 29, 2012 6:22 PM (in response to mark133)

    mark133 wrote:

     

    First, how does the compiler test run make use of the .m files if they are not publicly available?

     

    Linker and runtime magic.

     

    Second, what is the benefit to the party that created the .m files of owning the source to them?

     

    People like to own their stuff.

     

    Third, doesn't Apple own the available Cocoa framework classes and methods?

     

    Certainly

     

    Fourth, if I make a class out of different Cocoa classes, is that then my copyright?

     

    Yes

  • etresoft Level 7 Level 7 (23,900 points)
    Currently Being Moderated
    Jun 29, 2012 6:37 PM (in response to mark133)

    Check out RuntimeBrowser

  • etresoft Level 7 Level 7 (23,900 points)
    Currently Being Moderated
    Jun 30, 2012 5:29 AM (in response to mark133)

    RuntimeBrowser is just a hacking tool to help explain how the "Runtime Magic" works.

  • etresoft Level 7 Level 7 (23,900 points)
    Currently Being Moderated
    Jun 30, 2012 11:09 AM (in response to mark133)

    mark133 wrote:

     

    Do you mean a hacking tool, a hacked tool, a tool for hackers, or a tool for hacks?

     

    Yes

     

    The design of these products and security of keeping the core functions seperated from the users is great. I have no problem with that whatsoever. The fact that so many people have been involved with designing a system that is inaccessible to the public, while at the same time going to all the double trouble and effort of making the essence of the tools more and more accessible to the public, is awesome.

     

    I don't quite understand that. It is standard procedure to define a limited public interface for 3rd party developers to use. That interface needs to be stable, reliable, and useable for years. You don't want people's software to suddenly stop working because you changed the API. Apple will not change a public API without several years advance warning.

     

    The internal code is a different matter altogether. It can, and does, change frequently to add new capability will still maintaining the old interfaces. If you aren't selling in the App Stores, then you can use those private APIs if you enjoy living dangerously.

1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.