Jump to content

1 post in this topic

Recommended Posts

Posted

hey, so I've been out of the 'creating tweaks' game for awhile and I have some questions that I either can't figure out or things I just don't understand. hopefully someone can clear these up for me.

 

What is MSHook / MSHookIvar useful for, how do I know what to call in order to use it properly?

 

How can I call instance methods from other classes / headers and use them in an existing function.

example;

 

1.h

-(id)username;

 

2.h

-(void)sendMessageTo:(id)arg1;

 

arg1 = ?? (how can I make it -(id)username from 1.h)

 

 

What is the difference between .mm and .xm files and how are each helpful? in some open source tweaks I see that the Tweak.xm only contains Tweak.mm, why? (are they helpful with sandboxed tweaks?)

 

how do I properly use the %c(Class_Here) functions / method?

 

 

sorry for all the questions, I've looked places and can't find the answers relating to the jailbreak side of things!

 

if you know any / one feel free to comment! you don't need to answer all :)

 

thanks again

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