Skip to content

Instantly share code, notes, and snippets.

@limenutt
limenutt / debuggable.loading.service.ts
Last active April 5, 2021 00:17
A naive Angular service to track the loading state with debugging
// from LinkedIn thread
// https://bit.ly/3up4oeK
@Injectable({
providedIn: 'root',
})
export class LoadingService {
private _loading = new BehaviorSubject<boolean>(false);
private _pendingOperations = 0;
@limenutt
limenutt / loading.service.ts
Last active April 5, 2021 07:36
A naive Angular service to track the loading state
// from LinkedIn thread
// https://bit.ly/3up4oeK
@Injectable({
providedIn: 'root',
})
export class LoadingService {
private _loading = new BehaviorSubject<boolean>(false);
private _pendingOperations = 0;
protected get pendingOperations(): number {
Pod::Spec.new do |s|
s.name = 'AutocompletionTableView'
s.version = '1.0'
s.platform = :ios
s.summary = 'It\'s a very simple UITableView subclass which let\'s you to add real-time suggestion list for UITextView based on the custom dictionary.'
s.homepage = 'https://github.com/keyf/AutocompletionTableView'
s.author = { 'Aresniy' => 'https://github.com/keyf' }
s.source = { :git => 'https://github.com/keyf/AutocompletionTableView.git', :commit => '69b961ce6abf7a209f80871831ab34d3e072f902' }
s.source_files = 'Classes/AutocompletionTableView.h', 'Classes/AutocompletionTableView.m'
s.resources = 'TSAlertView/TSAlertView*.png'
Pod::Spec.new do |s|
s.name = 'TSAlertView'
s.version = '1.0'
s.platform = :ios
s.summary = 'UIAlertView drop-in replacement. Supports stacked buttons, input fields, user-configurable size, and more.'
s.homepage = 'https://github.com/TomSwift/TSAlertView'
s.author = { 'TomSwift' => 'https://github.com/TomSwift' }
s.source = { :git => 'https://github.com/TomSwift/TSAlertView.git', :commit => '37c4c4d3bba757d82201f7609577b32020561ef9' }
s.source_files = 'TSAlertView/TSAlertView.h', 'TSAlertView/TSAlertView.m'
s.resources = 'TSAlertView/TSAlertView*.png'