Skip to content

Instantly share code, notes, and snippets.

{
"count": 12,
"results": [
{
"index": "barbarian",
"name": "Barbarian",
"url": "/api/classes/barbarian"
},
{
"index": "bard",
### Keybase proof
I hereby claim:
* I am scotopic on github.
* I am scotopic (https://keybase.io/scotopic) on keybase.
* I have a public key ASC5EV2qe6HE9tcUQH_3RUCm-4zaYITo7HDZF4uhMPdNCAo
To claim this, I am signing this object:
# Create a new repo
https://github.com/new
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/<yourname>/<your-repo>.git
git push -u origin main
@scotopic
scotopic / ios_keychain_itunes_backup_and_icloud_sync.md
Last active July 29, 2023 23:20
iOS Keychain - iTunes backup and iCloud sync

iOS Keychain - iTunes backup vs iCloud sync

Helper guide to help understand when data gets backedup/synced

My use case: Switching from [UIDevice uniqeIdentifier] to a UUID + Keychain approach.

  • Apple no longer supports [UIDevice uniqueIdentifier] and does not allow app submission to the App store. My requirements are 1) UUID is to persist on the device ONLY 2) UUID is not to be synced or backed up across devices. 3) Works on iOS6 and up

UDID alternative availability

|Availability|iOS 2|iOS 3|iOS 4|iOS 5|iOS 6|iOS 7|iOS 8|

@scotopic
scotopic / ALXInfoViewViewController.m
Last active August 29, 2015 14:07
iOS7 - UIView autorotation and resizing with keyboard
//
// ALXInfoViewViewController.m
// TestRotationApp
#import "ALXInfoViewViewController.h"
@interface ALXInfoViewViewController ()
@property (weak, nonatomic) IBOutlet UITextView *textView;
@end