1

I updated Xcode to the new Xcode 7 beta 5. In doing so, it converted to Swift 2, but then created even more errors. Right now, I am completely stuck, and don't know what to do, because although all my errors are gone, my app will not work correctly.

My problem is this:

if(self.myOutput3 as? NSObject == true) {
        print("IT IS TRUE")

        PFUser.logInWithUsernameInBackground(self.myOutput1 as! String, password: "xxx") { (user: PFUser?, error: NSError?) -> Void in

            if error == nil {
                print("It Worked!")

                // self.presentViewController(destViewController, animated: true, completion: nil)

                let instillation = PFInstallation.currentInstallation()
                instillation["user"] = PFUser.currentUser()
                instillation.saveInBackgroundWithBlock(nil)

                self.performSegueWithIdentifier("toTimeline", sender: self)

            } else {

                // self.enterButton.enabled = false


                self.errorAlert()

                print("Couldn't log in...")


            }

        }

    } else  {
        print("IT IS FALSE")
        self.performSegueWithIdentifier("continueTheSignIn", sender: self)


       // self.move()

    }

The program will perform the toTimeline segue, but not the continueTheSignIn . I don't see any logical reason that this is not working. Could anyone point me in the right direction?

Also, I am having an error in my messages feature.

cell.textView!.linkTextAttributes = [NSForegroundColorAttributeName:cell.textView!.textColor]

This is giving me the error "Cannot assign a value of type '[String : UIColor?]' to a value of type '[String: AnyObject]!'

I was not previously getting this error in Swift / Xcode 6.4, so I don't know how to fix it.

Additionally, once I bypass this to get into my app to see if my other features are working, most of my UITableViews are not displaying any information. One is, however the rest load the correct amount of rows, but display nothing. What could this be? Also, no Parse pictures are being displayed correctly either. These are even more concerning than the other problems...

Here is the picture after I deleted and re added the segue under a diff. name. enter image description here

Anthony Saltarelli
  • 345
  • 1
  • 4
  • 15

1 Answers1

0

Parse wont support the beta version . it needs a full version . I have contacted them based on a similar issue . They said they will update the parse to work with xcode7 once the full version of xcode7 is released.

Sri Ram
  • 35
  • 8
  • On their blog they state: In order to prepare Parse to support iOS 9 apps, and to help our developers build more secure apps, we plan to upgrade the SSL certificate for https://api.parse.com to SHA-2 on Tuesday, August 11, 2015. I however, am still getting an ATS error because of the http vs https problem... I don't know how to fix this. Additionally, it will not download half of the content I need to display, in my UITableViews (even though they are not PFFiles) – Anthony Saltarelli Aug 13 '15 at 05:40
  • All I can say is if you are learning then you can experiment with xcode7 beta if you are using it for production then you need to wait till full version arrives or switch back to xcode6.4 temporarily – Sri Ram Aug 13 '15 at 05:43