Jump to content

Help with How To Make a Preference Bundle


Go to solution Solved by Rook,

12 posts in this topic

Recommended Posts

Posted (edited)

Wtf that's the easy part of it! I'll show you..

 

In your Preference Bundle folder should be 3 files

 

• preferences.mm (It varies depending on your Preference Bundle name)

• Makefile

• Entry.plist

 

Open the Preferences.mm. You will now see the implementation of your root.plist and others.

 

Find the strings

#import <Preferences/Preferences.h>
@interface preferencesListController: PSListController { 
}
@end

and delete them. Again preferenceListController has to be modified according to your Preference Bundle name.

 

Now to go the very top of the Preferences.mm file and write

#include "preferences.h"

For the next step you have to create a new file in your Preference Bundle folder. Its name has to be preferences.h. Permissions are default.

 

Open the just created preferences.h and add following content to it

#import <Preferences/Preferences.h>

@interface preferencesListController: PSListController { 
}
@end
Updated by z0ne

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines