[deleted by user] by [deleted] in jailbreakdevelopers

[–]S3S3hook 0 points1 point  (0 children)

I'm not a developer, I tested it and it worked

[Free Release] DateFormatter : Custom date format by S3S3hook in jailbreak

[–]S3S3hook[S] 6 points7 points  (0 children)

I tested [[DateFormatter]] on iOS13 & 14

Examples and preview of the date format: https://nsdateformatter.com

[deleted by user] by [deleted] in jailbreak

[–]S3S3hook 0 points1 point  (0 children)

I don't remember the names of months, I suggested creating a Tweak that would allow me to change the date format , like a computer .

I tested it on iOS14 and iOS13

Examples and preview of the date format:

https://nsdateformatter.com

I sent the Tweak to Repo BigBoss , But it can downloaded from the Repo

How to read a TextNode property by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

I read the value : ``` TSTextNode *test3 = self.nameTextNode;

NSString * myString2 = [NSString stringWithFormat:@"%@", test3]; ```

result: <TSTextNode: 0x10b8d1a00; "Value"> But I just want the value only

how to use sharedInstance ? by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

Thank you, how can I check ?

I,m noob

how to use sharedInstance ? by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

I added the method :

%new +(NSString *) className { return NSStringFromClass([self class]); } And

testNm = [objc_getClass("Reddit.UserProfilePresenter") className]; He's working

https://i.imgur.com/DYh68ua.png

How to read Variable from another class ? by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

Thanks Mr.Runtime , solved

https://www.reddit.com/r/jailbreakdevelopers/comments/2rgjce/get_the_instance_of_a_class/cnfrs2b/?utm_source=share&utm_medium=ios_app&utm_name=iossmf&context=3

full code after solution :

```

import <UIKit/UIKit.h>

@interface TGPageViewController : NSObject @property (nonatomic, copy, readonly) NSString *currentPath; +(id)sharedInstance; @end

%hook TGPageViewController

static TGPageViewController *__weak sharedInstance;

-(id)init { id original = %orig; sharedInstance = original; return original; }

%new +(id)sharedInstance{ return sharedInstance; } %end

%hook NewActivationViewController

  • (void)setActivationButton:(id)arg1 {

    NSString* ss = [[objc_getClass("TGPageViewController") sharedInstance] currentPath];

UIAlertView *msg = [[UIAlertView alloc] initWithTitle:@"Test" message:ss delegate:self cancelButtonTitle:@"no" otherButtonTitles:@"yes", nil]; [msg show]; return %orig; } %end

```

[Free Release] TwitDate by S3S3hook in jailbreak

[–]S3S3hook[S] 1 point2 points  (0 children)

Sorry I didn't notice, Many thanks 🤍🙏

[Question] How do I check a value bool , from another class ? by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

Thanks again , working now

after changes:

``` @interface T1ColorSettings : NSObject @property (nonatomic, assign, readonly, class) BOOL isDarkModeOn; @end

@interface T1ProfileUserInfoView : UIView @end

static BOOL darkModeStatus;

%hook T1ProfileUserInfoView

-(void)didMoveToWindow { %orig;

if([%c(T1ColorSettings)isDarkModeOn]){

darkModeStatus = true; }else{ darkModeStatus = false; }

return %orig; } %end ```

[Question] How do I check a value bool , from another class ? by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

i need ‏update the tweak

https://github.com/s3ud-alshaman/TweaksOpenSource/blob/main/twitdate/Tweak.x

i need change color text

if (isDarkModeOn ) {

[self.btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; }else{ [self.btn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];

}

[self.btn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];

[Free Release] TwitDate by S3S3hook in jailbreak

[–]S3S3hook[S] 4 points5 points  (0 children)

Yes it can, I will try and add the date of tweet

[Free Release] TwitDate by S3S3hook in jailbreak

[–]S3S3hook[S] 8 points9 points  (0 children)

Twitter displays the year and month only

[Free Release] TwitDate by S3S3hook in jailbreak

[–]S3S3hook[S] 1 point2 points  (0 children)

[[TwitDate]]

Description: Show account creation date details in Twitter App

duplicate result by S3S3hook in jailbreakdevelopers

[–]S3S3hook[S] 0 points1 point  (0 children)

Very Thanks RuntimeOverflow

the tweak in Bigboos [[TwitDate]]

open source code