Skip to content

Instantly share code, notes, and snippets.

Frank Courville Frankacy

Block or report user

Report or block Frankacy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Frankacy / b.article
Created Jul 23, 2019
Bear Zettel Typinator Template
View b.article
# {YYYY}{MM}{DD}{h024}{m} - {{?Title}}
Tags: #&&
# Related Articles
Frankacy / DataProviding.swift
Last active Aug 9, 2019
Swift data provider/presenter
View DataProviding.swift
// DataProviding.swift
// GenericsDataSource
// Created by Frank Courville on 2019-05-09.
// Copyright © 2019 iOS Coach Frank. All rights reserved.
import UIKit
View OperationsPart1.playground
import UIKit
import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
class LoggingOperation : Operation {
override func main() {
if isCancelled {
View FRKTableViewAdapter.h
@interface TableViewAdapter : NSObject <FRKDataProvider, UITableViewDataSource>
- (instancetype)initWithDataProvider:(id<FRKDataProvider, FRKSectionInfoProvider>)provider
- (void)registerCellsForTableView:(UITableView *)tableView;
Frankacy / FRKCoreDataProvider.h
Created Nov 15, 2016
Data Providers and Presenters
View FRKCoreDataProvider.h
#import <CoreData/CoreData.h>
#import "FRKDataProvider.h"
@interface FRKCoreDataProvider : NSObject <FRKDataProvider, FRKSectionInfoProvider>
- (instancetype)initWithFetchRequest:(NSFetchRequest *)fetchRequest moc:(NSManagedObjectContext *)fetchMOC;
- (instancetype)initWithFetchRequest:(NSFetchRequest *)fetchRequest moc:(NSManagedObjectContext *)fetchMOC sectionKeypath:(NSString *)section;
You can’t perform that action at this time.