# 🎤 General Discussion

**URL:** https://forums.kodeco.com/c/general/16.md?page=84

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

**Page:** 85

---

## [GVR SDK ( Google VR Player) ios start video on button click](https://forums.kodeco.com/t/gvr-sdk-google-vr-player-ios-start-video-on-button-click/26086)

<div class="topic-metadata">

**Author:** [@tibewww](https://forums.kodeco.com/u/tibewww)\
**Replies:** 0\
**Last updated:** [February 10, 2017, 3:41pm UTC](https://forums.kodeco.com/t/gvr-sdk-google-vr-player-ios-start-video-on-button-click/26086 "2017-02-10T15:41:41Z")

</div>

I’m trying to play a video on clic of a button ( it should start the video in fullscreen) Using GVR SDK for IOs in Swift. I’ve been following this tutorial to make the player working in swift; https://www.raywenderlich…

---

## [Volumetric Lights](https://forums.kodeco.com/t/volumetric-lights/26072)

<div class="topic-metadata">

**Author:** [@vkletsko](https://forums.kodeco.com/u/vkletsko)\
**Replies:** 0\
**Last updated:** [February 10, 2017, 8:14am UTC](https://forums.kodeco.com/t/volumetric-lights/26072 "2017-02-10T08:14:09Z")

</div>

Hi I’m trying to make volumetric light effect. like this example: Could You help me please How can I do this with SpriteKit?

---

## [Want to shorten user clicks to take photo](https://forums.kodeco.com/t/want-to-shorten-user-clicks-to-take-photo/25982)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 0\
**Last updated:** [February 7, 2017, 8:24pm UTC](https://forums.kodeco.com/t/want-to-shorten-user-clicks-to-take-photo/25982 "2017-02-07T20:24:53Z")

</div>

Right now my code makes the user touch the screen 3 times before the photo is taken. What I am talking about is shown below. PHOTO 1 PHOTO 2 PHOTO 3 PHOTO 4 I want the code to get rid of the middle to pictu…

---

## [Swift Algorithm Club: Dancing Links/Algorithm X contribution](https://forums.kodeco.com/t/swift-algorithm-club-dancing-links-algorithm-x-contribution/25925)

<div class="topic-metadata">

**Author:** [@rainbowcrane](https://forums.kodeco.com/u/rainbowcrane)\
**Replies:** 0\
**Last updated:** [February 6, 2017, 12:31am UTC](https://forums.kodeco.com/t/swift-algorithm-club-dancing-links-algorithm-x-contribution/25925 "2017-02-06T00:31:26Z")

</div>

A question for the Swift Algorithm Club maintainers: would you be interested in a Swift implementation of Donald Knuth’s Algorithm X for solving the Exact Cover problem? I’ve been working on an implementation of it for …

---

## [Best way to store text for a Text based game](https://forums.kodeco.com/t/best-way-to-store-text-for-a-text-based-game/25899)

<div class="topic-metadata">

**Author:** [@abdou23](https://forums.kodeco.com/u/abdou23)\
**Replies:** 0\
**Last updated:** [February 4, 2017, 9:09pm UTC](https://forums.kodeco.com/t/best-way-to-store-text-for-a-text-based-game/25899 "2017-02-04T21:09:46Z")

</div>

I’m making a text adventure game, and I found that the best design choice is to separate the text from the logic. But, I’m not sure what is the most efficient way to actually store that text and how to connect it to the …

---

## [MapKit route polyline in Uzbekistan](https://forums.kodeco.com/t/mapkit-route-polyline-in-uzbekistan/25777)

<div class="topic-metadata">

**Author:** [@appnewsuz](https://forums.kodeco.com/u/appnewsuz)\
**Replies:** 2\
**Last updated:** [February 3, 2017, 6:02am UTC](https://forums.kodeco.com/t/mapkit-route-polyline-in-uzbekistan/25777 "2017-02-03T06:02:11Z")

</div>

Hello everybody. I am creating an app that have to show route between two coordinates in a map. I am using MapKit. But it seems my codes are working in the USA very well. But in Uzbekistan I can not take directions.calcu…

---

## [Nsurl, nssession](https://forums.kodeco.com/t/nsurl-nssession/25738)

<div class="topic-metadata">

**Author:** [@jimknopf](https://forums.kodeco.com/u/jimknopf)\
**Replies:** 1\
**Last updated:** [February 2, 2017, 12:08pm UTC](https://forums.kodeco.com/t/nsurl-nssession/25738 "2017-02-02T12:08:11Z")

</div>

please can you explain how to pass the json-data in “let result” to a new view e.g. a textfield? Here is the related piece of code: // make http POST request let uploadTask = session.uploadTask(with: request as URLRequ…

---

## [Need to use user defaults to save high score in (swift3)](https://forums.kodeco.com/t/need-to-use-user-defaults-to-save-high-score-in-swift3/25176)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 4\
**Last updated:** [February 1, 2017, 3:08pm UTC](https://forums.kodeco.com/t/need-to-use-user-defaults-to-save-high-score-in-swift3/25176 "2017-02-01T15:08:01Z")

</div>

Right now I have two labels. I would like “winningLabel” to print the games current score and “hhighscore” to save the games highest score. Right now I have a pitcure of what the code will present pic. The smaller of the…

---

## [Develop with XCode on Mac Book Air of Mac Mini?](https://forums.kodeco.com/t/develop-with-xcode-on-mac-book-air-of-mac-mini/25701)

<div class="topic-metadata">

**Author:** [@marcelmolenaar](https://forums.kodeco.com/u/marcelmolenaar)\
**Replies:** 6\
**Last updated:** [February 1, 2017, 5:41am UTC](https://forums.kodeco.com/t/develop-with-xcode-on-mac-book-air-of-mac-mini/25701 "2017-02-01T05:41:59Z")

</div>

Hello all, i am not a real Mac user. I buyed a Mac Book Pro years ago only to be able to build IOS apps. As that one became quit old i decided to sell it. Now i need a new one but i don’t want to spend that much money on…

---

## [KVO Swift3 bind to object in array](https://forums.kodeco.com/t/kvo-swift3-bind-to-object-in-array/25763)

<div class="topic-metadata">

**Author:** [@hoffmann](https://forums.kodeco.com/u/hoffmann)\
**Replies:** 0\
**Last updated:** [January 31, 2017, 10:00pm UTC](https://forums.kodeco.com/t/kvo-swift3-bind-to-object-in-array/25763 "2017-01-31T22:00:20Z")

</div>

Hi, First of all I hope I am posting this in the right forum, if not, please excuse. I am probably doing this the wrong way, but I am stuck and don’t know how to solve this problem. To be able to display a number of c…

---

## [Thread 1: signal SIGABRT; 0 \_\_abort\_with\_payload](https://forums.kodeco.com/t/thread-1-signal-sigabrt-0---abort-with-payload/25682)

<div class="topic-metadata">

**Author:** [@stas](https://forums.kodeco.com/u/stas)\
**Replies:** 5\
**Last updated:** [January 31, 2017, 8:51am UTC](https://forums.kodeco.com/t/thread-1-signal-sigabrt-0---abort-with-payload/25682 "2017-01-31T08:51:15Z")

</div>

Hello! I want to test my Xcode project at my device (iPhone 5s, IOS 10.2) for free (without paying 99$). I don’t want send my projects to App Store. I went to developer.apple.com and created Apple ID. Then I opened Xcode…

---

## [Fatal error unwrapping when trying to save a segued text photo](https://forums.kodeco.com/t/fatal-error-unwrapping-when-trying-to-save-a-segued-text-photo/25673)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 1\
**Last updated:** [January 30, 2017, 5:39am UTC](https://forums.kodeco.com/t/fatal-error-unwrapping-when-trying-to-save-a-segued-text-photo/25673 "2017-01-30T05:39:41Z")

</div>

I am trying to make a photo app. Depending on the buttons you press it will choose your photo frame. The app includes the ability for the user to enter a custom message to be included in the picture frame. This works pe…

---

## [Dynamic TVML shelf & collectionlist event?](https://forums.kodeco.com/t/dynamic-tvml-shelf-collectionlist-event/25643)

<div class="topic-metadata">

**Author:** [@kevinsnow](https://forums.kodeco.com/u/kevinsnow)\
**Replies:** 1\
**Last updated:** [January 28, 2017, 7:29pm UTC](https://forums.kodeco.com/t/dynamic-tvml-shelf-collectionlist-event/25643 "2017-01-28T19:29:36Z")

</div>

There are many examples of updating shelf and collectionlist’s objects, but I can’t find anything about knowing when to do so. Let me will explain… As an example, a TVML document with three shelves, each with five locku…

---

## [touchesBegan not detecting touch after overlaySKScene in SCNView](https://forums.kodeco.com/t/touchesbegan-not-detecting-touch-after-overlayskscene-in-scnview/25658)

<div class="topic-metadata">

**Author:** [@cirrusbob](https://forums.kodeco.com/u/cirrusbob)\
**Replies:** 0\
**Last updated:** [January 28, 2017, 1:11pm UTC](https://forums.kodeco.com/t/touchesbegan-not-detecting-touch-after-overlayskscene-in-scnview/25658 "2017-01-28T13:11:18Z")

</div>

I’m trying to add a HUD to an SCNView using a SKScene. After overlaying the SKScene, the touchesBegan no longer detects any screen touches. Ultimatly I want to add a button to the overlay. import UIKit import SceneKit …

---

## [Button not increasing score](https://forums.kodeco.com/t/button-not-increasing-score/25619)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 1\
**Last updated:** [January 27, 2017, 4:42am UTC](https://forums.kodeco.com/t/button-not-increasing-score/25619 "2017-01-27T04:42:30Z")

</div>

My code below is trying to add to the score. If the button is pressed the score should go up its not going up. I have added a label and each time the button is pressed nothing is being added to the label. This is in swi…

---

## [Unresolved identifier in mapkit](https://forums.kodeco.com/t/unresolved-identifier-in-mapkit/25588)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 1\
**Last updated:** [January 26, 2017, 11:59am UTC](https://forums.kodeco.com/t/unresolved-identifier-in-mapkit/25588 "2017-01-26T11:59:04Z")

</div>

The following code was the same question on stack overflow. However it looks like the code was in swift 2. I added a image jj for some of the code but I am getting 1 error message. The error message is var anView = thisM…

---

## [mapKit not display annotation](https://forums.kodeco.com/t/mapkit-not-display-annotation/25559)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 1\
**Last updated:** [January 25, 2017, 3:06am UTC](https://forums.kodeco.com/t/mapkit-not-display-annotation/25559 "2017-01-25T03:06:50Z")

</div>

My code is not displaying the title or subtitle of the each pins. The pins appear on there coordinates. However when clicking on the pins nothing appears. I would just like the pins to be different colors and when clicke…

---

## [Json Saving For Mobile](https://forums.kodeco.com/t/json-saving-for-mobile/25479)

<div class="topic-metadata">

**Author:** [@tobyfutbol](https://forums.kodeco.com/u/tobyfutbol)\
**Replies:** 6\
**Last updated:** [January 25, 2017, 3:02am UTC](https://forums.kodeco.com/t/json-saving-for-mobile/25479 "2017-01-25T03:02:32Z")

</div>

I am working on a project in Unity where I have to save data using Json. I save data for levels in Json files and I let the player create their own levels and that gets saved to Json files as well. However, when I run th…

---

## [How to change a pin color in swift 3 using map kit](https://forums.kodeco.com/t/how-to-change-a-pin-color-in-swift-3-using-map-kit/25454)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 3\
**Last updated:** [January 23, 2017, 10:40pm UTC](https://forums.kodeco.com/t/how-to-change-a-pin-color-in-swift-3-using-map-kit/25454 "2017-01-23T22:40:43Z")

</div>

Below is my code that lists 1 annotation pin. Right now its red. How can I make it blue? Do I need to put in a extension file? The code also includes the current users location. import UIKit import MapKit import CoreLo…

---

## [In-app user identification with Apple ID](https://forums.kodeco.com/t/in-app-user-identification-with-apple-id/25502)

<div class="topic-metadata">

**Author:** [@kaardan](https://forums.kodeco.com/u/kaardan)\
**Replies:** 0\
**Last updated:** [January 23, 2017, 12:07pm UTC](https://forums.kodeco.com/t/in-app-user-identification-with-apple-id/25502 "2017-01-23T12:07:00Z")

</div>

Hello, everyone! Hope somebody is familiar with this issue. There is an app an d related web service. The registration on the back-end requires login (email or username) and password. During Appstore review process we we…

---

## [iPhone as a beacon](https://forums.kodeco.com/t/iphone-as-a-beacon/25461)

<div class="topic-metadata">

**Author:** [@rjayasinghe](https://forums.kodeco.com/u/rjayasinghe)\
**Replies:** 1\
**Last updated:** [January 22, 2017, 11:56pm UTC](https://forums.kodeco.com/t/iphone-as-a-beacon/25461 "2017-01-22T23:56:34Z")

</div>

I want to create an app that acts as a bluetooth beacon. From what I have done so far: I can only advertise a iBeacon format data I can only advertise if my app is in the foreground first of all, is this true? or can …

---

## [Weird Table View/Prototype Cell Problem](https://forums.kodeco.com/t/weird-table-view-prototype-cell-problem/25445)

<div class="topic-metadata">

**Author:** [@jfortyork](https://forums.kodeco.com/u/jfortyork)\
**Replies:** 0\
**Last updated:** [January 21, 2017, 3:17pm UTC](https://forums.kodeco.com/t/weird-table-view-prototype-cell-problem/25445 "2017-01-21T15:17:40Z")

</div>

Hello, I have a View Controller in my storyboard that I’ve added a UIToolbar and Table View onto. I’ve noticed if the Table View is stacked on top of the toolbar in the Document Outline, there is this extra padding on …

---

## [Random button generator is overlapping my timer label](https://forums.kodeco.com/t/random-button-generator-is-overlapping-my-timer-label/25395)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 3\
**Last updated:** [January 20, 2017, 4:57pm UTC](https://forums.kodeco.com/t/random-button-generator-is-overlapping-my-timer-label/25395 "2017-01-20T16:57:25Z")

</div>

I have a game that when the button is pressed it goes to random position over the view controller. The only problem is that sometimes the button is positioned over my timer label. Are there any ways I could put a layer …

---

## [Multiplayer game with invite friends](https://forums.kodeco.com/t/multiplayer-game-with-invite-friends/25415)

<div class="topic-metadata">

**Author:** [@bianco95](https://forums.kodeco.com/u/bianco95)\
**Replies:** 0\
**Last updated:** [January 20, 2017, 2:00pm UTC](https://forums.kodeco.com/t/multiplayer-game-with-invite-friends/25415 "2017-01-20T14:00:05Z")

</div>

Hi, before asking, thanks for all your tutorial you are great. I would like to suggest a tutorial, something like a third-part tutorial of this : https://www.raywenderlich.com/60998/game-center-tutorial-how-to-make-a-s…

---

## [Problem with syncing custom audio with video](https://forums.kodeco.com/t/problem-with-syncing-custom-audio-with-video/25371)

<div class="topic-metadata">

**Author:** [@heruvilius](https://forums.kodeco.com/u/heruvilius)\
**Replies:** 0\
**Last updated:** [January 19, 2017, 1:49pm UTC](https://forums.kodeco.com/t/problem-with-syncing-custom-audio-with-video/25371 "2017-01-19T13:49:53Z")

</div>

Hello everybody. I am writing a video player app with custom audio effects. For effects I’ve written an audio unit. Video playback is handled by AVPlayer with muted audio. The problem is that the two things do not sync:…

---

## [Duplicating an Xcode Project?](https://forums.kodeco.com/t/duplicating-an-xcode-project/13765)

<div class="topic-metadata">

**Author:** [@anon87689120](https://forums.kodeco.com/u/anon87689120)\
**Replies:** 5\
**Last updated:** [January 18, 2017, 4:43pm UTC](https://forums.kodeco.com/t/duplicating-an-xcode-project/13765 "2017-01-18T16:43:30Z")

</div>

Hey everyone, I’ve been trying to figure out how to make a copy of an original Xcode project in order to update an app I made. Reason I wish to do this is to make sure that I don’t ruin my code while updating it and to …

---

## [Password behavior in textField](https://forums.kodeco.com/t/password-behavior-in-textfield/25336)

<div class="topic-metadata">

**Author:** [@cesarcarlos](https://forums.kodeco.com/u/cesarcarlos)\
**Replies:** 1\
**Last updated:** [January 18, 2017, 4:29pm UTC](https://forums.kodeco.com/t/password-behavior-in-textfield/25336 "2017-01-18T16:29:03Z")

</div>

Is there in TVML a way to have the textField in a formTemplate behave as a password field (so that when the user types the password is shown as \*\*\*\*\*)? Thanks. CPG

---

## [High score not saving](https://forums.kodeco.com/t/high-score-not-saving/25234)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 1\
**Last updated:** [January 18, 2017, 4:14pm UTC](https://forums.kodeco.com/t/high-score-not-saving/25234 "2017-01-18T16:14:48Z")

</div>

Yesterday my code worked perfectly fine. However I changed the bundle identifier and know the high score won’t save. I don’t know what happened. The high score is calculated in totalTime. Notice in the picture the label …

---

## [SQLite ? near "17": syntax error](https://forums.kodeco.com/t/sqlite-near-17-syntax-error/25240)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 1\
**Last updated:** [January 17, 2017, 5:36pm UTC](https://forums.kodeco.com/t/sqlite-near-17-syntax-error/25240 "2017-01-17T17:36:42Z")

</div>

I am trying to do a Update to my column displayed “note” of my Sqlite Table. Please look at my Xcode graphic displaying the error and you will also see a copy of my Sqlite Table, I am at a loss on how to solve my synt…

---

## [Reloading TableView blocks the UI for few seconds](https://forums.kodeco.com/t/reloading-tableview-blocks-the-ui-for-few-seconds/24701)

<div class="topic-metadata">

**Author:** [@bionik6](https://forums.kodeco.com/u/bionik6)\
**Replies:** 6\
**Last updated:** [January 17, 2017, 5:01pm UTC](https://forums.kodeco.com/t/reloading-tableview-blocks-the-ui-for-few-seconds/24701 "2017-01-17T17:01:49Z")

</div>

Hello, Am currently working on a app that fetches data (about 8000 rows) from a Web Service and saves them in a Realm database in a background thread. But after saving those data, I send a notification via delegation a…

[Previous page](https://forums.kodeco.com/c/general/16.md?page=83)

[Next page](https://forums.kodeco.com/c/general/16.md?page=85)
