Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
44a839c4
Commit
44a839c4
authored
May 06, 2016
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address warnings.
- switch to using UIAlertController - assign an identifier to segue
parent
46d1e4c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
AccountViewController.swift
...ustomers/Sample App Customers/AccountViewController.swift
+3
-1
Main.storyboard
...Customers/Sample App Customers/Base.lproj/Main.storyboard
+1
-1
No files found.
Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/AccountViewController.swift
View file @
44a839c4
...
...
@@ -85,6 +85,8 @@ extension AccountViewController: AuthenticationDelegate {
}
func
authenticationDidFailWithError
(
error
:
NSError
?)
{
UIAlertView
(
title
:
"Error"
,
message
:
error
?
.
localizedDescription
,
delegate
:
nil
,
cancelButtonTitle
:
"OK"
)
.
show
()
let
alert
=
UIAlertController
(
title
:
"Error"
,
message
:
error
?
.
localizedDescription
,
preferredStyle
:
.
Alert
)
alert
.
addAction
(
UIAlertAction
(
title
:
"OK"
,
style
:
.
Cancel
,
handler
:
nil
))
self
.
presentViewController
(
alert
,
animated
:
true
,
completion
:
nil
)
}
}
Mobile Buy SDK Sample Apps/Sample App Customers/Sample App Customers/Base.lproj/Main.storyboard
View file @
44a839c4
...
...
@@ -78,7 +78,7 @@
<connections>
<outlet
property=
"loginContainerView"
destination=
"KZD-y5-2e3"
id=
"g1r-NW-TfQ"
/>
<outlet
property=
"signupContainerView"
destination=
"ZAC-pf-9Yj"
id=
"GGw-ff-lV9"
/>
<segue
destination=
"gsn-tk-U20"
kind=
"show"
id=
"cw5-XQ-PCc"
/>
<segue
destination=
"gsn-tk-U20"
kind=
"show"
id
entifier=
"ordersSegue"
id
=
"cw5-XQ-PCc"
/>
</connections>
</viewController>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"twZ-kb-vHr"
userLabel=
"First Responder"
sceneMemberID=
"firstResponder"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment