Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Sharkey311

Suspended
Original poster
Jan 11, 2013
825
146
The tweak could also add additional shortcuts at the bottom. Its not CCSettings. I think it had the word Flip in it but not entirely sure.

Anyone know which one I'm talking about?
 
I passed on that one because that required RocketBootStrap and I see no reason to install an extra dependency and was afraid that one would just drain my battery.
 
I passed on that one because that required RocketBootStrap and I see no reason to install an extra dependency and was afraid that one would just drain my battery.

What the hell difference does it make if he puts the mach event lookup function in a separate library that can be accessed and used by other tweaks or includes it in the tweak itself? Either way, it's going to be on your phone and running; this way it's just smaller and less likely to conflict with other tweaks.

Seriously, this "OMG dependency!" ******** is getting tiresome.
 
What the hell difference does it make if he puts the mach event lookup function in a separate library that can be accessed and used by other tweaks or includes it in the tweak itself? Either way, it's going to be on your phone and running; this way it's just smaller and less likely to conflict with other tweaks.

Seriously, this "OMG dependency!" ******** is getting tiresome.

Well if I don't know what a dependency does, and I can just install something else that functions just as well and doesn't require the dependency, why would I not? Thanks for understanding. :)
 
What the hell difference does it make if he puts the mach event lookup function in a separate library that can be accessed and used by other tweaks or includes it in the tweak itself? Either way, it's going to be on your phone and running; this way it's just smaller and less likely to conflict with other tweaks.

Seriously, this "OMG dependency!" ******** is getting tiresome.

Tell me about it. Dependencies make jailbreaking BETTER and more EFFICIENT. The alternative is, every tweak developer creates their own built in libraries included with the tweak that will conflict when other similar tweaks are installed because that 2nd tweak will have their own built in functions/libraries which can overlap with the first tweak. But if they pull those out into a separate dependency package, then both tweaks can share said dependency, making for a cleaner, better solution. This obviously means a better jailbreak experience.

Edit: This is like everyone raving about the new Five Icon Dock tweak in a dev's repo because it doesn't rely on Icon Support! Like really, WTF?! Icon support makes it so your icon about doesn't get screwed up and also so iTunes can properly read and process a jailbroken device's home screen layout, all while protecting that layout. But not having it makes it much more likely that after a crash, sync, reboot etc that all your icons can be scattered all over the place and disorganized. I guess it's a learning process of what dependencies are used for and why they can be a good thing.
 
Last edited:
Edit: This is like everyone raving about the new Five Icon Dock tweak in a dev's repo because it doesn't rely on Icon Support! Like really, WTF?! Icon support makes it so your icon about doesn't get screwed up and also so iTunes can properly read and process a jailbroken device's home screen layout, all while protecting that layout. But not having it makes it much more likely that after a crash, sync, reboot etc that all your icons can be scattered all over the place and disorganized. I guess it's a learning process of what dependencies are used for and why they can be a good thing.

Yup! Found out the pros to have icon support after entering safe mode a few times :p

Actually, icon support screws up the way iTunes reads your layout :(. That's why my initial thoughts was "hey, this is pretty cool"

Because by default, your device uses the IconState.plist, but when iconsupport is installed, your device makes a new file called IconSupportState.plist and uses that

And any change you make to your springboard layout will make changes to IconSupportState.plist, and not IconState.plist

iTunes reads the IconState.plist, so that's why the two layouts can differ (iTunes app pages vs your phone's actual pages)

And yes, agree super helpful if you enter safe mode. Let's say folder enhancer in iOS 6.x. All the "extra icons" in the folder will be thrown out and you'll be left to manually fix them when you enter normal mode from safe mode (unless you backed up file and just replace it afterwards)
 
Yup! Found out the pros to have icon support after entering safe mode a few times :p

Actually, icon support screws up the way iTunes reads your layout :(. That's why my initial thoughts was "hey, this is pretty cool"

Because by default, your device uses the IconState.plist, but when iconsupport is installed, your device makes a new file called IconSupportState.plist and uses that

And any change you make to your springboard layout will make changes to IconSupportState.plist, and not IconState.plist

iTunes reads the IconState.plist, so that's why the two layouts can differ (iTunes app pages vs your phone's actual pages)

And yes, agree super helpful if you enter safe mode. Let's say folder enhancer in iOS 6.x. All the "extra icons" in the folder will be thrown out and you'll be left to manually fix them when you enter normal mode from safe mode (unless you backed up file and just replace it afterwards)

Yes! Exactly! I totally forgot about folder enhancer. Great example because I have personally experienced this type of situation too many times. But yea, having that protection when entering safe mode is terrific.

Who knows, maybe that alternative Five Icon Dock tweak has the basic (or all lol) features of IconSupport built into the app. That in itself is great and sounds fine and dandy. But what happens when you install another tweak which uses IconSupport as a dependency? Well real world usage, maybe nothing negative is noticeable. But it's likely both will "clash" and at worst, will cause the springboard to crash. Most likely, nothing actually crashes but instead it takes extra CPU cycles for the device to sort through all the "redundant" code to make sure everything works as it's supposed to. This obviously can have negative effects. Maybe it's not noticeable with the naked eye or maybe it actually has a negative impact and slows down the device causing lag because it's trying to process two separate cydia substrate hooks while referring to both the Five Icon Dock tweak and the other tweak which uses IconSupport.

This is obviously avoidable if you pull out the necessary code and create a separate dependency so both tweaks can use the one library opposed to using two of the same, or very similar, libraries being read and processed at the same time.

This is good stuff to discuss lol. Useful too. I wish I was more knowledgable. I might be wrong in my understanding too. I've been known to be wrong many times in my life :D

Edit: It's worth mentioning, even if you have only one tweak which uses a separate dependency but you're annoyed it requires a separate package to install and you're worried about this extra package running and killing your battery or causing lag. Well the alternative is, without that separate package, all that code from the dependency will just be included in the actual tweak's installation. So either way, that code is getting installed on your device and is being used. Might as well separate that code so other developers can use it and prevent a million tweaks installing the same libraries to function with redundant code.
 
Last edited:
Tell me about it. Dependencies make jailbreaking BETTER and more EFFICIENT. The alternative is, every tweak developer creates their own built in libraries included with the tweak that will conflict when other similar tweaks are installed because that 2nd tweak will have their own built in functions/libraries which can overlap with the first tweak. But if they pull those out into a separate dependency package, then both tweaks can share said dependency, making for a cleaner, better solution. This obviously means a better jailbreak experience.

Edit: This is like everyone raving about the new Five Icon Dock tweak in a dev's repo because it doesn't rely on Icon Support! Like really, WTF?! Icon support makes it so your icon about doesn't get screwed up and also so iTunes can properly read and process a jailbroken device's home screen layout, all while protecting that layout. But not having it makes it much more likely that after a crash, sync, reboot etc that all your icons can be scattered all over the place and disorganized. I guess it's a learning process of what dependencies are used for and why they can be a good thing.

Thank you for explaining!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.