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
@interface UIView (LoadNib) | |
+ (id)loadInstanceFromNib; | |
+ (id)loadInstanceFromNibWithOwner:(id)owner; | |
@end |
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
@interface UILabel (Resize) | |
- (void)resizeToFit; | |
@end |
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
typedef enum | |
{ | |
UITableViewAnimationDirectionFromLeft, | |
UITableViewAnimationDirectionFromRight | |
}UITableViewAnimationDirection; | |
@interface UITableView (CellAnimation) | |
- (void)animateRowsFromLeft; | |
- (void)animateRowsFromRight; |
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
# pragma mark - APCBarCharViewDataSource | |
- (NSInteger)barGraph:(APCLineGraphView *)graphView numberOfPointsInPlot:(NSInteger)plotIndex | |
{ | |
return 6; | |
} | |
- (NSInteger)numberOfPlotsInBarGraph:(APCLineGraphView *)graphView | |
{ | |
return 1; |
I hereby claim:
- I am ramshandilya on github.
- I am ramshandilya (https://keybase.io/ramshandilya) on keybase.
- I have a public key ASC1mKD7vWVVGOaqLNF9Kpj0Km0DAabRZWttRueBuxxp0Ao
To claim this, I am signing this object:
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
// Created by Vasily Ulianov on 09.02.17, updated in 2019. | |
// License: MIT | |
import Foundation | |
/// Subclass of `Operation` that adds support of asynchronous operations. | |
/// 1. Call `super.main()` when override `main` method. | |
/// 2. When operation is finished or cancelled set `state = .finished` or `finish()` | |
open class AsynchronousOperation: Operation { | |
public override var isAsynchronous: Bool { |