Taylor's Grammys dress and mask.
Reblog if you agree.

seen from United States
seen from United States

seen from Croatia

seen from United Kingdom
seen from China

seen from United States
seen from Slovakia

seen from United States
seen from China
seen from United States
seen from United Kingdom

seen from Germany

seen from United Arab Emirates
seen from Yemen
seen from Belgium
seen from Peru
seen from United States

seen from United States
seen from Azerbaijan

seen from Australia
Taylor's Grammys dress and mask.
Reblog if you agree.
You dislike Taylor all you want but you cannot lie that what Scooter and Scott did was awful. Every person who supports them is trash.
Swifties waiting for the next clue:
@taylorswift @taylornation
LOOK WHAT YOU MADE ME DO IS AT 26.4 MILLION WE ARE SO CLOSE TO 27.7!!!!! KEEP WATCHING!!!
Dear Taylor,
It’s been a while since I wrote. I’ve been busy. Full time school and work with the possibility of a boyfriend. Things in my life are chaotic, which I’m sure you can understand. I just wanted to let you know I am ecstatic to hear your rerecordings of your albums. THIS IS WHAT IS KEEPING ME GOING!
Hope you are doing well. Don’t let the muggles get you down.
Love,
Kiri
@taylorswift
I hope Taylor Swift knows that I love, support, and am so proud of her always.
I GOT THESE WATERCOLOR PASTEL SHORTS THE OTHER DAY AND NOW I’M NEVER TAKING THEM OFF.
😍😍😍
@taylorswift do you like them!?
Version 0.19b
In the last version, I tried to add a RevealViewController in order to display confirmation of what you stopped it at, and where it would have stopped. As you may have read. I couldn't get this to work. The code remains and it’s definitely something I’m planning on coming back to, however, right now I’ve decided that getting the game completed is more important than a feature which, although nice, isn’t required for the game to function.
Having said that. Neither is the ability to share your score on social media. But hey, this feature was always part of the plan. The RevealViewController wasn’t.
Sharing is going to happen after the game has finished. So it makes sense that everything happens on this ViewController.
I'm going to start by creating a ‘Share Score’ button and attached it to the FinalViewController.
In iOS 11, Apple has updated the way in which you are able to share to different places. Previously, you would have had to make a new function for each sharing option, then authenticate and check for details etc. Now it is much much easier. I created a new string called ‘socialMessage’ with no data. Then when I press the ‘share score’ button the first thing I do is set socialMessage to be my message that I want to send out. In this case:
socialMessage = "I played 'Hold Your Nerve' and got a score of " + StringToSegue + "! Can you beat me?"
Where StringToSegue is the final score that was passed over from the GameViewController.
Then I created a new UIActivityViewController called shareSheet. There are two options here: activityItems and applicationActiviities. activiityItems needs to be saved as an array, so within this array I’ve added socialMessage and an image containing the games logo. I then present the shareSheet.
That's it. Literally. If the user has Facebook, Twitter, Whatsapp installed the shareSheet will allow them to post to those various other applications. No other code required. It will also allow you to use this info with all of Apple built-in functions such as Message, Email, Print, AirDrop, Copy, Save to camera roll, Assign to contact etc. Whilst some of these are good and I want to include. Others aren’t appropriate. You can use the ‘excludeActivityTypes’ module to remove certain features from the UIActivityController. I removed the following from mine:
UIActivityType.print, UIActivityType.assignToContact, UIActivityType.copyToPasteboard,UIActivityType.saveToCameraRoll, UIActivityType.airDrop
You can see the outcome of the shareSheet below.
The only issue with this is Facebook. The Facebook API doesn’t allow you to populate the field with text that the user didn't write themselves. You can however still push an image or hashtags.
Really simple and straightforward. The message is a little basic, so I added the link to my website: https://jmpgames.online I did this by creating an NSURL called URL, then adding URL to the array of things to share. This ended up being quite a lot, so, I removed the image as the weblink is far more important.
let shareSheet = UIActivityViewController(activityItems: [socialMessage, URL as Any], applicationActivities: nil)
This then got me thinking. Looking at other apps, they have a way to share info about the app from the main menu. So, I decided my app should do the same. I decided to create a new ViewController called ContactViewController. Here I’m going to have buttons that take you directly to the Website, Facebook page and Twitter feed.
I created a new ViewController called ContactViewController and set up the relevant segues and buttons.
The next thing was to decide how to display these web pages. I could have done this simply by making the app close and opening facebook, twitter, safari in order to display the relevant pages. However, I decided to use an SFSafariViewController in order to display a safari page from within my app.
I create three variables, each one of type NSURL: webURL, facebokURL and twitterURL, each with the link to the correct page.
Within each of the buttons, I created a new SFSafariViewController called webVC. I passed the variables I just created to each one and used the present feature to display the new webVC. The code for displaying the website is shown below:
let webVC = SFSafariViewController(url: webURL! as URL) present(webVC, animated: true, completion: nil)
You can view the contact page here: