This repository has been archived by the owner on Feb 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
701 additions
and
810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Frameworks/libswiftCoreGraphics.dylib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Frameworks/libswiftFoundation.dylib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Frameworks/libswiftObjectiveC.dylib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Frameworks/libswiftQuartzCore.dylib
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Resources/Base.lproj/Main.storyboardc/MainMenu.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...DGen.app/Contents/Resources/Base.lproj/Main.storyboardc/NSWindowController-B8D-0N-5wS.nib
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
Bin/ACDGen.app/Contents/Resources/Base.lproj/Main.storyboardc/XfG-lQ-9wD-view-m2S-Jp-Qdl.nib
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
...taExample/AlecrimCoreDataExample.xcdatamodeld/AlecrimCoreDataExample.xcdatamodel/contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="7549" systemVersion="14D131" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic"> | ||
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="7701" systemVersion="14D136" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic"> | ||
<entity name="Event" representedClassName="AlecrimCoreDataExample.Event"> | ||
<attribute name="timeStamp" attributeType="Date"> | ||
<userInfo/> | ||
</attribute> | ||
<relationship name="child" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="SubEvent" inverseName="parent" inverseEntity="SubEvent" syncable="YES"/> | ||
<relationship name="children" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="SubEvent" inverseName="parents" inverseEntity="SubEvent" syncable="YES"/> | ||
<userInfo/> | ||
</entity> | ||
<entity name="SubEvent" representedClassName="AlecrimCoreDataExample.SubEvent" syncable="YES"> | ||
<attribute name="title" optional="YES" attributeType="String" syncable="YES"/> | ||
<relationship name="parent" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Event" inverseName="child" inverseEntity="Event" syncable="YES"/> | ||
<relationship name="parents" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Event" inverseName="children" inverseEntity="Event" syncable="YES"/> | ||
</entity> | ||
<elements> | ||
<element name="Event" positionX="261" positionY="189" width="128" height="60"/> | ||
<element name="Event" positionX="261" positionY="189" width="128" height="90"/> | ||
<element name="SubEvent" positionX="279" positionY="216" width="128" height="90"/> | ||
</elements> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
// | ||
// DataContext.swift | ||
// AlecrimCoreDataExample | ||
// | ||
// Created by Vanderlei Martinelli on 2014-11-30. | ||
// Copyright (c) 2014 Alecrim. All rights reserved. | ||
// This code was generated by AlecrimCoreData code generator tool. | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if | ||
// the code is regenerated. | ||
// | ||
|
||
import Foundation | ||
import AlecrimCoreData | ||
|
||
let dataContext = DataContext()! | ||
let dataContext = DataContext() | ||
|
||
final class DataContext: AlecrimCoreData.Context { | ||
class DataContext: AlecrimCoreData.Context { | ||
|
||
var events: AlecrimCoreData.Table<Event> { return AlecrimCoreData.Table<Event>(context: self) } | ||
|
||
} | ||
var subEvents: AlecrimCoreData.Table<SubEvent> { return AlecrimCoreData.Table<SubEvent>(context: self) } | ||
|
||
} |
Oops, something went wrong.