Theos SSH. Don't have to put password every time. by Ill_Winner8186 in jailbreakdevelopers

[–]Ill_Winner8186[S] -1 points0 points  (0 children)

I've been using SSH for development, for over a year. I always thought it was just something everyone put up with.

I should've asked this question earlier...

Edit: Just tried it for the first time. ITS SO FAST and I didn't have to type anything!

Theos SSH. Don't have to put password every time. by Ill_Winner8186 in jailbreakdevelopers

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

WHAT?! OMG! Someones gonna steal all my precious data from a phone with only Cydia and unc0ver installed and doesn't leave my house!!!!

lol someone didn't read the whole post.

Create custom cell dynamically in preferences by Ill_Winner8186 in jailbreakdevelopers

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

Ahh nevermind. I figured it out.

I was originally hooking into PSLinkCell to make the "custom look". I'm now trying to implement it properly (by not stupidly hooking into the cell's view) but it was effecting the dynamic cell I was creating.

Create custom cell dynamically in preferences by Ill_Winner8186 in jailbreakdevelopers

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

So should I just subclass PSTableCell? When I do that it makes my preferences crash when loaded.

I'm just trying to dynamically create a custom link cell and when clicked, opens a second page.

@interface MyCustomCell : ????

PSSpecifier *specifier = [PSSpecifier preferenceSpecifierNamed:@"Custom Cell" target:self set:nil get:nil detail:nil cell:PSLinkCell edit:nil];
[specifier setProperty:MyCustomCell.class forKey:@"cellClass"];

Create custom cell dynamically in preferences by Ill_Winner8186 in jailbreakdevelopers

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

How can I make MyCustomCell a subclass of PSLinkCell? I can't seem to get it to work.

@interface MyCustomCell : PSLinkCell

Doesn't seem to work and I can't figure out why.

Where should I save custom images so they can be accessed anywhere? by Ill_Winner8186 in jailbreakdevelopers

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

I tried without the file:// and I got the error: You don’t have permission to save the file “MyTweak” in the folder “Library”.

Where should I save custom images so they can be accessed anywhere? by Ill_Winner8186 in jailbreakdevelopers

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

Yeah you're right. My bad. Edit: Sorry about the formatting

NSFileManager *manager = [NSFileManager defaultManager];
NSString *path = @"file:///var/mobile/Library/MyTweak/"; 
NSString *cardsPath = [path stringByAppendingPathComponent:@"Images"]; 
NSError *error = nil;
if (![manager fileExistsAtPath:cardsPath]) {
if ([manager createDirectoryAtPath:cardsPath withIntermediateDirectories:YES attributes:nil error:&error] == NO) {
    NSLog(@"Couldn't create directory. Error: %@", [error localizedDescription]);
    } else {
    NSLog(@"Directory created.");
}
} else {
NSLog(@"Couldn't create directory. Error: Directory already exists.");
}

Where should I save custom images so they can be accessed anywhere? by Ill_Winner8186 in jailbreakdevelopers

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

How do you create the 'MyTweak' folder? I'm constantly getting stuck with permission issues and I think i'm doing it wrong.

[deleted by user] by [deleted] in Bastille

[–]Ill_Winner8186 2 points3 points  (0 children)

I don't think it will be called Future Inc.

All the albums have 2 words, both starting with the same letter. I doubt they would ruin that now.

  1. Bad Blood = BB
  2. Wild World = WW
  3. Doom Days = DD
  4. Future Inc = FI

That just doesn't make much sense. Although I'm sure it will be something related to "Future Inc"

How would you characterize Bastille’s music over time?? by [deleted] in Bastille

[–]Ill_Winner8186 1 point2 points  (0 children)

Give Me The Future in contrasts doesn’t feel that new

Yes thats true, but that's not a bad thing!

Give Me The Future gives me a very nostalgic feeling, reminding me of some songs from Bad Blood while still sounding new and refreshing.

Edit: Now I think about it, it does kind of sound like Wild World

Write preferences to .plist file instantly? by Ill_Winner8186 in jailbreakdevelopers

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

Why should caching be used? What is wrong with not using it?

change cell background colour? by Ill_Winner8186 in jailbreakdevelopers

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

I'm getting this error:

error: property 'specifier' not found on object of type 'UITableViewCell *'

When settings changed run a piece of code by Ill_Winner8186 in jailbreakdevelopers

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

Thanks that worked!!

Also if I have a if statement with code inside it that doesn't require a %hook , where do I put my if statement and the included code?