Skip to content

Instantly share code, notes, and snippets.

View DmIvanov's full-sized avatar

Dmitrii Ivanov DmIvanov

View GitHub Profile
PRESENTATION DECK:
https://www.slideshare.net/DmitriiIvanov5/crdoiospdf
TIPS:
Don’t skip feedback loops
Make Code Review your habit
Minimise the scope
Respect the scope
Review your own PR
@DmIvanov
DmIvanov / Person.h
Created January 12, 2019 08:49
Serialization Benchmarks (Swift, ObjC)
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(uint8_t, Gender)
{
Male,
Female
};
1.Мануал от Рэя:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
2.полезные ссылки на StackOverflow:
http://stackoverflow.com/questions/20965902/certificate-and-private-key-for-push-notification
http://stackoverflow.com/questions/11141757/ios-this-is-the-right-process-to-generate-the-apns-production-certificate
@DmIvanov
DmIvanov / DeviceUID.m
Created November 19, 2015 09:45 — forked from miguelcma/DeviceUID.m
iOS Unique Device ID that persists between app reinstalls
/* DeviceUID.h
#import <Foundation/Foundation.h>
@interface DeviceUID : NSObject
+ (NSString *)uid;
@end
*/
// Device.m
@DmIvanov
DmIvanov / gist:6a4ca554b78738bae3ad
Last active September 25, 2015 15:17
Prefered ObjC code style
This style guide outlines the coding conventions for Topface projects.
Based on [Coding Guidelines for Cocoa](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html)
## Background
Here are some of the documents from Apple that informed the style guide. If something isn't mentioned here, it's probably covered in great detail in one of these:
* [The Objective-C Programming Language](http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html)
* [Cocoa Fundamentals Guide](https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CocoaFundamentals/Introduction/Introduction.html)
* [iOS App Programming Guide](http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/Introduction/Introduction.html)