Update for Xcode 10

This commit is contained in:
David Sinclair 2018-09-25 19:23:20 -07:00
parent 41589dc2cb
commit c33e4cbf67
2 changed files with 5 additions and 4 deletions

View file

@ -2687,7 +2687,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0940;
LastUpgradeCheck = 1000;
ORGANIZATIONNAME = NewsBlur;
TargetAttributes = {
1749390F1C251BFE003D98AA = {
@ -2701,6 +2701,7 @@
};
1D6058900D05DD3D006BFB54 = {
DevelopmentTeam = HR7P97SD72;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.ApplicationGroups.iOS = {
@ -3543,7 +3544,7 @@
PROVISIONING_PROFILE_SPECIFIER = "";
STRIP_INSTALLED_PRODUCT = NO;
SWIFT_PRECOMPILE_BRIDGING_HEADER = NO;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
"WARNING_CFLAGS[arch=*]" = "-Wall";
};
@ -3588,7 +3589,7 @@
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_PRECOMPILE_BRIDGING_HEADER = NO;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
};

View file

@ -48,7 +48,7 @@ public class SAConfettiView: UIView, CAAnimationDelegate {
emitter = CAEmitterLayer()
emitter.emitterPosition = CGPoint(x: self.center.x, y: 0)
emitter.emitterShape = kCAEmitterLayerLine
emitter.emitterShape = CAEmitterLayerEmitterShape.line
emitter.emitterSize = CGSize(width: 40.0, height: 1)
var cells = [CAEmitterCell]()