This file contains 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
// | |
// SidebarSearchView.swift | |
// | |
// Created by Jordan Morgan on 6/30/21. | |
// | |
import SwiftUI | |
struct SidebarSearchView: NSViewRepresentable { | |
typealias NSViewType = NSSearchField |
This file contains 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
// | |
// SSListItemMediaTableViewCell.m | |
// Spend Stack | |
// | |
// Created by Jordan Morgan on 2/23/18. | |
// Copyright © 2018 Jordan Morgan. All rights reserved. | |
// | |
#import "SSListItemMediaTableViewCell.h" | |
#import "SSListItemImageView.h" |
This file contains 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
# A Best in Class Checklist | |
A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10. | |
> To use this, create a Github Issue in your own repo, and simply copy and paste this text. | |
## iOS Core Technology | |
_Things any iOS app can benefit from_ | |
- [ ] iCloud Sync | |
- [ ] Focus Filter Support |
This file contains 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
// | |
// UIView+BFRShimmer.h | |
// BFRUtils | |
// | |
// Created by Jordan Morgan on 8/14/18. | |
// Copyright © 2018 Buffer. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
This file contains 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
sudo cp -r /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ \(16A5318d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ |
This file contains 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 - Private Classifiers | |
- (void)classifyWithModelForImage:(UIImage *)image completion:(void (^)(NSDictionary <NSString *, NSString *> *))completion { | |
dispatch_async(dispatch_get_global_queue(QOS_CLASS_UTILITY, 0), ^{ | |
NSMutableDictionary *returnValues = [NSMutableDictionary new]; | |
CVPixelBufferRef pixelBuffer = [self generatePixelBufferFromImage:image]; | |
if (pixelBuffer == nil) { | |
completion(nil); | |
return; |
This file contains 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
// | |
// Inceptionv3.h | |
// | |
// This file was automatically generated and should not be edited. | |
// | |
#import <Foundation/Foundation.h> | |
#import <CoreML/CoreML.h> | |
#include <stdint.h> |
This file contains 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
// Once you get the NSData from the download task from where you hosted the file... | |
#pragma mark - Local Storage | |
// A 4 Step Process | |
// 1) Save off the NSData of the Core ML model to a temporary spot | |
// 2) Compile the model from that URL, whic gives us another temporary URL of where it's compiled at | |
// 3) Create a permanent URL by appending the temporary URL that was generated. This is what initlizes stuff | |
// 4) Save the permanent URL for later use | |
- (void)saveModelData:(NSData *)data { |
This file contains 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
// | |
// ASDisplayNode+BFREmptyView.m | |
// Buffer | |
// | |
// Created by Jordan Morgan on 10/27/17. | |
// | |
#import "ASDisplayNode+BFREmptyView.h" | |
#import <objc/runtime.h> | |
#import <AsyncDisplayKit/AsyncDisplayKit.h> |
This file contains 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
cp -r /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ |
NewerOlder