NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

62706c69 73743030 d4010203 04050616 17582476 65727369 6f6e5824 6f626a65 63747359 24617263 68697665 72542474 6f701200 0186a0a5 07080707 0f55246e 756c6cd3 090a0b0c 0d0e5575 73657273 5624636c 61737358 75736572 42617365 80028004 8003d210 1112135a 24636c61 73736e61 6d655824 636c6173 7365735d 74657374 2e646174 61426173 65a21415 5d746573 742e6461 74614261 7365584e 534f626a 6563745f 100f4e53 4b657965 64417263 68697665 72d11819 54726f6f 74800108 111a232d 32373d43 4a505760 6264666b 767f8d90 9ea7b9bc c1000000 00000001 01000000 00000000 1a000000 00000000 00000000 00000000 c3

et parentData = try NSKeyedArchiver.archivedData(withRootObject: parent,requiringSecureCoding: false);
// print(parentData);
let data: [NSData] = [try NSKeyedArchiver .archivedData(withRootObject: parent, requiringSecureCoding: true) as NSData]
print(data[0]);

let resultData = try NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data[0] as! Data) as! dataBase;
print(resultData);
// let readData = try NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(parentData) as? dataBase;
// print(readData!.view());
import Foundation

class Users: NSObject,NSSecureCoding {
static var supportsSecureCoding: Bool = true;



func encode(with aCoder: NSCoder) {
aCoder.encodeConditionalObject(adminRight, forKey: "adminRight")
aCoder.encodeConditionalObject(id, forKey: "id")
}

required convenience init?(coder aDecoder: NSCoder) {
guard let adminRight = aDecoder.decodeObject(forKey: "adminRight") as? Bool,
let id = aDecoder.decodeObject(forKey: "id") as? Int else{
return nil
}
self.init(adminRights: adminRight, id: id);

}

let adminRight: Bool
let id: Int

init(adminRights: Bool, id: Int){
self.adminRight = adminRights;
self.id = id;
}

override var description: String {
return "User: (id) - adminRights: (adminRight)"
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.