PDA

View Full Version : Help with making a framework


ryansobol
2004.10.15, 10:38 PM
I've ported the Kyra Sprite Engine (www.grinninglizard.com/kyra/) to a framework in OS 10.3 using XCode. I'm looking for an experienced programmer to help me understand the finer aspects making frameworks, like prebinding, versioning, etc. If you interested please email me.

codemattic
2004.10.16, 07:41 AM
I havent created one myself - but have you seen this?

http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/index.html

there are two articles to look at "Guidelines for Creating Frameworks" and "Creating a Framework"

hth

ryansobol
2004.10.16, 11:20 AM
I havent created one myself - but have you seen this?

http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/index.html

there are two articles to look at "Guidelines for Creating Frameworks" and "Creating a Framework"

hth

Yes, Apple's documentation of frameworks is very good. However, the docs haven't answered all of my questions, like how to choose the right / a good prebound address for frameworks.

Quds
2004.10.17, 08:43 AM
I would like to say that I'm also interested in this.
How do you get maximum performance from frameworks?

codemattic
2004.10.17, 10:00 AM
do some searching around on cocoa.mamasam.com

I found this thread that may help:

http://cocoa.mamasam.com/MACOSXDEV/2003/09/1/72069.php

but there were others as well.

hth

ryansobol
2004.10.19, 11:37 AM
do some searching around on cocoa.mamasam.com

I found this thread that may help:

http://cocoa.mamasam.com/MACOSXDEV/2003/09/1/72069.php

but there were others as well.

hth

Great article, codemattic. I've never heard of that site, but I will check it out later this week.

Quds
2004.10.20, 12:04 AM
So just to clarify this only affects the startup time for the application?
It doesn't change the access times (etc) for the framework once the app is loaded?
And how do you force prebinding on a framework if XCode is giving:
ld: warning prebinding disabled because dependent library:
/Library/Frameworks/IL.framework/Versions/A/IL is not prebound
type messages?

Sorry to ask so many questions ;)

codemattic
2004.10.20, 04:24 AM
Great article, codemattic. I've never heard of that site, but I will check it out later this week.

fyi - the site is just an archive of posts to Cocoa-Dev email list. If you are going to do a cocoa project its a good source of info - and Apple devs hand out there. You can sign up at http://lists.apple.com/mailman/listinfo/cocoa-dev and there are other apple email lists at http://lists.apple.com/mailman/listinfo

however before you post to Cocoa-Dev do a search on mamasam first to make sure the question hasnt already been asked and answered.

good luck with the sprite engine!

matticus
2004.12.14, 09:51 AM
How's this going?

Kyra looks like it could be quite interesting, but the lack of a mac port is a shame.

ryansobol
2004.12.14, 11:06 AM
How's this going?

Kyra looks like it could be quite interesting, but the lack of a mac port is a shame.

Actually, the Kyra framework is working great on my system. The only issue I'm having is getting one of the command-line tools to build against the SDL framework (the engine is based on SDL).

I'd like to have a few people test my project on their machine before I distribute it to the "masses". Would you be interested in compiling the project, which includes the framework, the tools, and a few demos, on your system?

Chris Burkhardt
2004.12.14, 01:35 PM
I wouldn't mind trying to compile it and do some light testing on my 500Mhz iBook running 10.3.6 if you'd like. Chris@MrEtc.net

ryansobol
2004.12.15, 01:22 AM
Great! I'll post a link to this thread after I take care of some 'real world' priorities. Check back in a few days.

matticus
2004.12.16, 05:11 AM
I can probably give it a go this weekend.

Have you got any plans to send it to the project maintainer so he can include it on the website?