Jump to content

5 posts in this topic

Recommended Posts

Posted

I am trying to write a UIColor in my tweak.xm.

 

-(void) setBackgroundColor:(id)arg1 {
arg1 = ;
return %orig;
}
%end

UIColor is Red:26, Green:26, Blue 26

 

Posted (edited)
45 minutes ago, Sacmunraga1 said:

arg1 = [UIColor colorWithRed:26/255.0 green:26/255.0 blue:26/255.0 alpha:1]];

 

Something like this.

will try this soon. i will let you know.

 

theres also this:

%hook UIButton

- (void)setTextColor:(UIColor *)color
{
%orig([UIColor whiteColor]);
}

%end

 

Updated by Astronaut
Posted (edited)

Often I have fewer problems with writing functions than with writing regular papers for a university. Recently I became convinced of this. I needed to prepare a research paper on a specialized subject, but it turned out to be much more difficult than I thought.  https://www.topwritersreview.com/reviews/rushmyessay/   here's a review of the service that helped me with this. And I prefer to spend the free time on what is interesting to me.

Updated by JunKang

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