forked from dreamfactorysoftware/ios-swift-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
converted ContactList ViewController
- Loading branch information
Showing
9 changed files
with
684 additions
and
23 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 modified
BIN
+2.41 KB
(110%)
....xcodeproj/project.xcworkspace/xcuserdata/tigr.xcuserdatad/UserInterfaceState.xcuserstate
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
30 changes: 30 additions & 0 deletions
30
SampleAppSwift/SampleAppSwift/Controller/ContactEditViewController.swift
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// ContactEditViewController.swift | ||
// SampleAppSwift | ||
// | ||
// Created by Timur Umayev on 1/5/16. | ||
// Copyright © 2016 dreamfactory. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
class ContactEditViewController: UIViewController { | ||
@IBOutlet weak var contactEditScrollView: UIScrollView! | ||
|
||
weak var contactViewController: ContactViewController? | ||
|
||
// the contact being looked at | ||
var contactRecord: ContactRecord! | ||
|
||
// set when editing an existing contact | ||
// list of contactinfo records | ||
var contactDetails: [ContactDetailRecord]! | ||
|
||
// set when creating a new contact | ||
// id of the group the contact is being created in | ||
var contactGroupId: NSNumber! | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
} | ||
} |
Oops, something went wrong.