- Fix Vari
This commit is contained in:
1 parent
f569c8545c
commit
7e5a6149a8
28 files changed
+1162
-862
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="whP-gf-Uak">
|
||||
<dependencies>
|
||||
<deployment identifier="iOS"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#import "PNObjectAppDelegate.h"
|
||||
#import "PNObject.h"
|
||||
#import "PNUser.h"
|
||||
#import "PNAddress.h"
|
||||
|
||||
@implementation PNObjectAppDelegate
|
||||
|
||||
@@ -27,14 +28,40 @@
|
||||
//[PNObject get];*/
|
||||
|
||||
PNUser *user = [PNUser currentUser];
|
||||
[user setFirstName:@"peppe"];
|
||||
[user setLastName:@"nucifora"];
|
||||
[user setUsername:@"giuseppe.nucifora"];
|
||||
[user setPassword:@"giuseppe.nucifora.password"];
|
||||
|
||||
PNUser *object = [user saveLocally];
|
||||
|
||||
NSLog(@"User : %@",[object getObject]);
|
||||
NSLog(@"asd");
|
||||
/*[user setFirstName:@"Giuseppe"];
|
||||
[user setLastName:@"Nucifora"];
|
||||
[user setHasAcceptedNewsletter:YES];
|
||||
[user setHasAcceptedPrivacy:YES];
|
||||
[user setUsername:@"giuseppe.nucifora"];
|
||||
[user setPassword:@"giuseppe.nucifora.password"];
|
||||
[user setPhone:@"+393485904995"];
|
||||
[user saveLocally];
|
||||
*/
|
||||
//NSLog(@"%@",[user getObject]);
|
||||
|
||||
/*
|
||||
|
||||
|
||||
PNAddress *address1 = [[PNAddress alloc] init];
|
||||
[address1 setZip:@"95014"];
|
||||
[address1 setCountry:@"Italy"];
|
||||
[address1 setCity:@"Giarre"];
|
||||
[address1 setProvince:@"Catania"];
|
||||
|
||||
NSLog(@"%@",[address1 saveLocally]);
|
||||
|
||||
|
||||
PNAddress *address2 = [[PNAddress alloc] init];
|
||||
[address2 setZip:@"95014"];
|
||||
[address2 setCountry:@"Italy"];
|
||||
[address2 setCity:@"Giarre"];
|
||||
[address2 setProvince:@"Catania"];
|
||||
|
||||
NSLog(@"%@",[address2 saveLocally]);*/
|
||||
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user