This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////THANKS @Tonyk766 | |
///SBIconModel | |
-(void)deleteIconState; | |
Resets all icons states (which means removes folders and resets to default icons in dock and sorted the stock way) | |
-(BOOL)sortsIconsAlphabetically; | |
If true and then refresh/update/reload icons, apps will be sorted in alphabetical order | |
-(SBIcon *)leafIconForIdentifier:(NSString *)arg1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)updateView{ | |
WeatherPreferences* wPrefs = [%c(WeatherPreferences) sharedPreferences]; | |
City* city = [wPrefs localWeatherCity]; | |
if (city){ | |
[self.referenceView removeFromSuperview]; // Moved this into the if statement so it doesnt remove unless its guaranteed going to add back | |
self.referenceView = [[%c(WUIWeatherConditionBackgroundView) alloc] initWithFrame:self.frame]; | |
[self.referenceView.background setCity:city]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface KBForceTouchGestureRecognizer : UIGestureRecognizer | |
@property (nonatomic) NSUInteger numberOfTouchesRequired; | |
@property (nonatomic, readonly) CGFloat currentForce; | |
@end | |
@interface _UILinearForceLevelClassifier :NSObject | |
-(double)standardThreshold; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TagItem.swift | |
// ChalkUp | |
// | |
// Created by kane buckthorpe on 13/03/2021. | |
// | |
import Foundation | |
class TagItem: ObservableObject { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum AsyncResult<Data> { | |
case loading | |
case success(Data) | |
case failure(Error) | |
} |