Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Update for Xcode 9 and Swift 4 #184

Merged
merged 10 commits into from
Oct 11, 2017
Merged

Conversation

gfosco
Copy link
Contributor

@gfosco gfosco commented Oct 9, 2017

Updates xcconfig files, deprecates fields in FBSDKLinkShareContent, replaces deprecated .toUIntMax behavior, and updates Cartfiles to depend on pending objective-c sdk hotfix.

gfosco added 4 commits October 8, 2017 21:33
The title, description, and imageURL fields are deprecated for LinkShareContent in in Graph API 2.9
Changing SWIFT_VERSION to 4.0 for FacebookCore, FacebookShare, FacebookLogin, and SwiftCatalog
Replacing deprecated usages of .toUIntMax() in AppEvent and AppInvite
Hotfix being released for the objective-c SDK to support Xcode 9 and Swift 4
Updates the Xcode image used by Travis to 9
@gfosco gfosco mentioned this pull request Oct 9, 2017
Update shields Swift badge to 4.0
Clears the warning that ReadPermission and PublishPermission both have a default case which will never be executed.
Remove redundant conformance constraints from GraphRequestConnection
Remove redundant conformance constraint from GraphAPIReadViewController
@ghost
Copy link

ghost commented Oct 11, 2017

when will this be updated?

Update .swift-version to 4.0
@nlutsenko nlutsenko changed the title Xcode9 and Swift4 updates Update for Xcode 9 and Swift 4 Oct 11, 2017
@nlutsenko
Copy link
Contributor

LGTM. Please squash and merge!

@gfosco gfosco merged commit 219dc71 into facebookarchive:master Oct 11, 2017
@gfosco gfosco deleted the deprecate-2.9 branch October 11, 2017 23:02
@nlutsenko nlutsenko added this to the 0.3.0 milestone Oct 11, 2017
@nlutsenko nlutsenko added the enhancement Adds a feature or improvement label Oct 11, 2017
.filter({
validCharacters.contains(UnicodeScalar(UInt16($0.value))!)
})
.map(Character.init)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old code truncates string to its first 10 characters, but this keeps its original length. Is this an expected change? If not, I suggest adding .prefix(10) here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed The Facebook CLA has been signed enhancement Adds a feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants