Jump to content

13 posts in this topic

Recommended Posts

Posted (edited)

PUAlbumListCell 0x10046dc40

 

@property (nonatomic, assign, readwrite, getter=isHidden)

BOOL hidden

 

---------

So I'm using FLEXible to develop some new tweaks but I'm having trouble with the coding. I was wondering if anyone would be able to show me how to convert the code written above into tweak form. So we got the target class and then the offset I'm trying to modify but the call is (BOOL) so I don't know how to write it up. Any help is greatly appreciated thanks.

Updated by JustinPet26
Posted

-(BOOL) abc

{

return YES;

}

 

 

like this?

It'd be in patcher form so how would you add the target class and offset to that then return it?

Posted

It'd be in patcher form so how would you add the target class and offset to that then return it?

please show the image for your Flex?

Posted (edited)

http://i.imgur.com/inP6bFr.jpg

So once you click on hidden tab it goes to the first photo I uploaded.

 

the original code for App Developer is

[xx setHidden:YES];

but i not so sure how you use this in Tweak..

 

What we usually do in tweak is:

 

%hook yourclassname

-(BOOL)yourfunctionname

{

return YES;

}

Updated by xiaov
Posted

the original code for App Developer is

[xx setHidden:YES];

but i not so sure how you use this in Tweak..

 

What we usually do in tweak is:

 

%hook yourclassname

-(BOOL)yourfunctionname

{

return YES;

}

 

Yeah I know haha, that's why I'm confused on how to do this.

 

Thanks anyways for your help.

Posted

Yeah I know haha, that's why I'm confused on how to do this.

 

Thanks anyways for your help.

you must know the classname & function name to do this action.

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