Jump to content

Help making a patcher


Go to solution Solved by Pro,

20 posts in this topic

Recommended Posts

Posted

<dict>
			<key>cell</key>
			<string>PSLinkCell</string>
			<key>detail</key>
			<string>ExampleListController</string>
			<key>isController</key>
			<string>1</string>
			<key>label</key>
			<string>Label Name</string>
		</dict>

@interface ExampleListController: PSListController {
}
@[member=end]

@implementation ExampleListController
- (id)specifiers {
	if(_specifiers == nil) {
		_specifiers = [[self loadSpecifiersFromPlistName:@"Example" target:self] retain];
	}
	return _specifiers;
}
@[member=end]
Posted
<dict>
			<key>cell</key>
			<string>PSLinkCell</string>
			<key>detail</key>
			<string>ExampleListController</string>
			<key>isController</key>
			<string>1</string>
			<key>label</key>
			<string>Label Name</string>
		</dict>
@interface ExampleListController: PSListController {
}
@[member='end']

@implementation ExampleListController
- (id)specifiers {
	if(_specifiers == nil) {
		_specifiers = [[self loadSpecifiersFromPlistName:@"Example" target:self] retain];
	}
	return _specifiers;
}
@[member='end']

what do you mean by

<key>isController</key>
Posted (edited)
<dict>
			<key>cell</key>
			<string>PSLinkCell</string>
			<key>detail</key>
			<string>ExampleListController</string>
			<key>isController</key>
			<string>1</string>
			<key>label</key>
			<string>Label Name</string>
		</dict>
@interface ExampleListController: PSListController {
}
@[member='end']

@implementation ExampleListController
- (id)specifiers {
	if(_specifiers == nil) {
		_specifiers = [[self loadSpecifiersFromPlistName:@"Example" target:self] retain];
	}
	return _specifiers;
}
@[member='end']

and after I compile it. if I go to settings can I open that cell?

and should I put

<array>

</array>

command?

Updated by --Techarmor--
Posted

and after I compile it. if I go to settings can I open that cell?

and should I put

 

<array>

</array>
command?

No just add the first one in your root plist and the second code in your .mm file. Create a new plist with the name and its content is going to be the new cell

Posted

No just add the first one in your root plist and the second code in your .mm file. Create a new plist with the name and its content is going to be the new cell

Oh, okiiie. But my .mm alrady has a code like that.

already*

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