Skip to content

Instantly share code, notes, and snippets.

View alexcristea's full-sized avatar

Alex Cristea alexcristea

View GitHub Profile
@alexcristea
alexcristea / README.md
Last active October 25, 2019 15:06
README.md template for Swift based project

README [![badge-version]][url-project]

Use this section to provide easy access to CI pipeline, codecoverage and documentation.

Also, make sure to mention what package managers does your project support and under what licensing it is published.

[![badge-travis]][url-travis] [![badge-codecov]][url-codecov] [![badge-docs]][url-docs] [![badge-swift-pm]][url-swift-pm]

@alexcristea
alexcristea / .gitignore
Last active September 30, 2018 07:53
Default .gitignore file for iOS projects
## Covers OS X
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
@alexcristea
alexcristea / install-manifest.plist
Last active January 31, 2023 11:53
Over-the-Air Ad Hoc Distribution manifest for iOS8. More about this subject you can find on http://www.informit.com/articles/article.aspx?p=1829415&seqNum=16
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- array of downloads. -->
<key>items</key>
<array>
<dict>
<!-- an array of assets to download -->
@alexcristea
alexcristea / UIViewController+BKBrickExtensions.h
Last active August 29, 2015 14:06
Enumerate through all views that are placed under a passed view and get access to each view using a block.
#import <UIKit/UIKit.h>
@interface UIViewController (BrickExtensions)
- (void)enumerateViewsPlacedUnderView:(UIView *)view usingBlock:(void (^)(UIView * view))block;
@end
@alexcristea
alexcristea / SingletonObject.h
Last active January 2, 2016 21:19
Objective-C Singleton implementation using Grand Central Dispatch (GCD) framework
#import <Foundation/Foundation.h>
@interface SingletonObject : NSObject
+ (id)sharedInstance;
@end