# 🎤 General Discussion

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

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

**Page:** 64

---

## [UICollectionView - self sizing cells](https://forums.kodeco.com/t/uicollectionview-self-sizing-cells/39513)

<div class="topic-metadata">

**Author:** [@dobnik\_leon](https://forums.kodeco.com/u/dobnik_leon)\
**Replies:** 2\
**Last updated:** [February 16, 2018, 12:43pm UTC](https://forums.kodeco.com/t/uicollectionview-self-sizing-cells/39513 "2018-02-16T12:43:47Z")

</div>

Hi! Yesterday I have started exploring the property called UICollectionViewFlowLayoutAutomaticSize,which can be used on IOS 10+ application to create self-sizing cells. So no more weird code, to achieve right cell sizin…

---

## [Display binary data on image view](https://forums.kodeco.com/t/display-binary-data-on-image-view/39316)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 10\
**Last updated:** [February 12, 2018, 2:12am UTC](https://forums.kodeco.com/t/display-binary-data-on-image-view/39316 "2018-02-12T02:12:47Z")

</div>

I am trying to to call binary data from core data and display in a image view in a collection view cell. This code below works on a string being called from core data and it being displayed in a label. TRYING TO DISPLAY…

---

## [Create a Netflix-like subscription app/site for a proof of concept project](https://forums.kodeco.com/t/create-a-netflix-like-subscription-app-site-for-a-proof-of-concept-project/39291)

<div class="topic-metadata">

**Author:** [@brookelustig](https://forums.kodeco.com/u/brookelustig)\
**Replies:** 2\
**Last updated:** [February 11, 2018, 11:53pm UTC](https://forums.kodeco.com/t/create-a-netflix-like-subscription-app-site-for-a-proof-of-concept-project/39291 "2018-02-11T23:53:30Z")

</div>

Hi everyone, I have a little dilemma and was hoping I could get some direction here. I want to create a basic and bare-boned iphone app/website with the same basic functionality as Netflix. Think a basic video subscript…

---

## [Show ViewSontrollers without using buttons](https://forums.kodeco.com/t/show-viewsontrollers-without-using-buttons/39239)

<div class="topic-metadata">

**Author:** [@equiavia](https://forums.kodeco.com/u/equiavia)\
**Replies:** 2\
**Last updated:** [February 7, 2018, 4:46am UTC](https://forums.kodeco.com/t/show-viewsontrollers-without-using-buttons/39239 "2018-02-07T04:46:05Z")

</div>

Hi I have a settings ViewController that I want to show if the users want to add details. Therefore i have no need for a button and want to display the screen when a data set is nil. I for the life of me cannot figure o…

---

## [How to know if Siri and Dictation is enabled on Apple tvOS for automation](https://forums.kodeco.com/t/how-to-know-if-siri-and-dictation-is-enabled-on-apple-tvos-for-automation/39012)

<div class="topic-metadata">

**Author:** [@gangi](https://forums.kodeco.com/u/gangi)\
**Replies:** 2\
**Last updated:** [February 6, 2018, 12:16pm UTC](https://forums.kodeco.com/t/how-to-know-if-siri-and-dictation-is-enabled-on-apple-tvos-for-automation/39012 "2018-02-06T12:16:56Z")

</div>

Hi, I am trying to figure out Swift code if Apple Siri and Dictation are enabled on tvOS for my automation. Any help is greatly appreciated.

---

## [Use Userdueflts on a struct](https://forums.kodeco.com/t/use-userdueflts-on-a-struct/35531)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 12:07pm UTC](https://forums.kodeco.com/t/use-userdueflts-on-a-struct/35531 "2018-02-06T12:07:49Z")

</div>

My code below uses a struct to organize the data. However when I go to the next view controller and return to the original one all of the data is deleted. How can I use user defaults to save the data to the label. …

---

## [How do I create a custom edit row feature in table view?](https://forums.kodeco.com/t/how-do-i-create-a-custom-edit-row-feature-in-table-view/35714)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 4\
**Last updated:** [February 4, 2018, 2:58am UTC](https://forums.kodeco.com/t/how-do-i-create-a-custom-edit-row-feature-in-table-view/35714 "2018-02-04T02:58:00Z")

</div>

I would like to create behavior in my table view that allows the user to swipe left on a row and along with the delete view to tap on another view also appears for the user to tap on that takes him to a detail view of th…

---

## [I am having some problems in making android virtual device in android studio help](https://forums.kodeco.com/t/i-am-having-some-problems-in-making-android-virtual-device-in-android-studio-help/22776)

<div class="topic-metadata">

**Author:** [@techto](https://forums.kodeco.com/u/techto)\
**Replies:** 2\
**Last updated:** [February 3, 2018, 5:44pm UTC](https://forums.kodeco.com/t/i-am-having-some-problems-in-making-android-virtual-device-in-android-studio-help/22776 "2018-02-03T17:44:11Z")

</div>

i am having some problems in making android virtual device in android studio help its showing errors whenever i open the android virtual device and some time when the virtual device run it is just showing android for …

---

## [ZombieCogna no errors, won't run?](https://forums.kodeco.com/t/zombiecogna-no-errors-wont-run/37682)

<div class="topic-metadata">

**Author:** [@jonahprogramma](https://forums.kodeco.com/u/jonahprogramma)\
**Replies:** 1\
**Last updated:** [February 3, 2018, 8:30am UTC](https://forums.kodeco.com/t/zombiecogna-no-errors-wont-run/37682 "2018-02-03T08:30:35Z")

</div>

(New to programming, self learning.). I have gotten to the point in which the zombie is suppose to move by touches on the screen but it is not. The FPS is changing from the amount I should be moving in my console… here …

---

## [Print coedata on a collection view cell label (swift4)](https://forums.kodeco.com/t/print-coedata-on-a-collection-view-cell-label-swift4/39092)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 1\
**Last updated:** [February 3, 2018, 8:09am UTC](https://forums.kodeco.com/t/print-coedata-on-a-collection-view-cell-label-swift4/39092 "2018-02-03T08:09:56Z")

</div>

This code below prints all of the entries of coreData on a label. var users = \[User\]() override func viewDidLoad() { super.viewDidLoad() if cdHandler.fetchObject() != nil { users = cdHandler.fetchObject()! f…

---

## [What do these methods mean?](https://forums.kodeco.com/t/what-do-these-methods-mean/39086)

<div class="topic-metadata">

**Author:** [@misterdave](https://forums.kodeco.com/u/misterdave)\
**Replies:** 1\
**Last updated:** [February 1, 2018, 11:38pm UTC](https://forums.kodeco.com/t/what-do-these-methods-mean/39086 "2018-02-01T23:38:05Z")

</div>

Can somebody explain me?How all these methods work.And what do they mean?It is part from game Zombie Conga.Or can you give me links to the apple documentation. func sceneTouched(touchLocation:CGPoint) { moveZombieTowar…

---

## [FPS Problem SpriteKit](https://forums.kodeco.com/t/fps-problem-spritekit/37489)

<div class="topic-metadata">

**Author:** [@jonahprogramma](https://forums.kodeco.com/u/jonahprogramma)\
**Replies:** 1\
**Last updated:** [February 1, 2018, 5:36pm UTC](https://forums.kodeco.com/t/fps-problem-spritekit/37489 "2018-02-01T17:36:14Z")

</div>

My App simulator keeps running at 1.0 fps both on my phone when plugged in as a simulator, and on any simulator I pick on the computer. Any suggestions??

---

## [How to run a swift program over shared folder from multiple computers?](https://forums.kodeco.com/t/how-to-run-a-swift-program-over-shared-folder-from-multiple-computers/38020)

<div class="topic-metadata">

**Author:** [@nhr](https://forums.kodeco.com/u/nhr)\
**Replies:** 1\
**Last updated:** [February 1, 2018, 5:24pm UTC](https://forums.kodeco.com/t/how-to-run-a-swift-program-over-shared-folder-from-multiple-computers/38020 "2018-02-01T17:24:09Z")

</div>

Swift program on a main computer using coredata need to be run from multiple computers in a local office. Tried running the Xcode → Products → MyProgram.app from a shared folder. It quits unexpectedly. Any suggestions…

---

## [Subtitles in TVML](https://forums.kodeco.com/t/subtitles-in-tvml/37678)

<div class="topic-metadata">

**Author:** [@cesarcarlos](https://forums.kodeco.com/u/cesarcarlos)\
**Replies:** 1\
**Last updated:** [February 1, 2018, 4:47am UTC](https://forums.kodeco.com/t/subtitles-in-tvml/37678 "2018-02-01T04:47:42Z")

</div>

Hi, I have made a TVML app. The videos are in English but they have a captions track with VTT Spanish subtitles. However, when I run the project, the Subtitles option does not appear in the top panel when swiping down. …

---

## [In-app survey tool](https://forums.kodeco.com/t/in-app-survey-tool/39040)

<div class="topic-metadata">

**Author:** [@zimola](https://forums.kodeco.com/u/zimola)\
**Replies:** 5\
**Last updated:** [February 1, 2018, 4:30am UTC](https://forums.kodeco.com/t/in-app-survey-tool/39040 "2018-02-01T04:30:03Z")

</div>

Hi guys, I have been working on an In-app survey tool that would integrate surveys conducted by market research companies into mobile applications. The important challenge in this project is to make it engaging enough f…

---

## [Vive controller model](https://forums.kodeco.com/t/vive-controller-model/39027)

<div class="topic-metadata">

**Author:** [@telferman](https://forums.kodeco.com/u/telferman)\
**Replies:** 2\
**Last updated:** [January 31, 2018, 6:44am UTC](https://forums.kodeco.com/t/vive-controller-model/39027 "2018-01-31T06:44:59Z")

</div>

in the free HTC Vive Starter tutorial for Unity the model for the controller isn’t visible. there’s no mesh filter or renderer attached to the node, and no model anywhere to be found. anyone know how to fix this? than…

---

## [Scaling game to iPhone x](https://forums.kodeco.com/t/scaling-game-to-iphone-x/38896)

<div class="topic-metadata">

**Author:** [@cocopuffs](https://forums.kodeco.com/u/cocopuffs)\
**Replies:** 5\
**Last updated:** [January 31, 2018, 12:48am UTC](https://forums.kodeco.com/t/scaling-game-to-iphone-x/38896 "2018-01-31T00:48:11Z")

</div>

I’m creating a universal app but I have issues scaling my scene to display correctly on the iPhone x. I’m using a single scene size of 1536, 2048 and scaling it down to other devices using aspectFill. My scene is displa…

---

## [Custom tableviewcell width is always 320](https://forums.kodeco.com/t/custom-tableviewcell-width-is-always-320/39018)

<div class="topic-metadata">

**Author:** [@jiang](https://forums.kodeco.com/u/jiang)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 11:15pm UTC](https://forums.kodeco.com/t/custom-tableviewcell-width-is-always-320/39018 "2018-01-30T23:15:55Z")

</div>

Hi guys, I tried to implement a custom tableviewcell, but Found its width is always set to 320 while the tableview width is 414, I wonder why that happens and how to fix it? (By fixing, I mean the cell automatically siz…

---

## [Remove footer of tableview](https://forums.kodeco.com/t/remove-footer-of-tableview/38688)

<div class="topic-metadata">

**Author:** [@jiang](https://forums.kodeco.com/u/jiang)\
**Replies:** 3\
**Last updated:** [January 30, 2018, 12:52pm UTC](https://forums.kodeco.com/t/remove-footer-of-tableview/38688 "2018-01-30T12:52:05Z")

</div>

I’m implementing a tableview, I was trying to hide footers in section using: func tableView(\_ tableView: UITableView, heightForFooterInSection section: Int) -\> CGFloat { return CGFloat.leastNormalMagnitude } func tabl…

---

## [Physical engine adapted to the needs of a 2d platform game like Super Mario](https://forums.kodeco.com/t/physical-engine-adapted-to-the-needs-of-a-2d-platform-game-like-super-mario/38680)

<div class="topic-metadata">

**Author:** [@basgrani](https://forums.kodeco.com/u/basgrani)\
**Replies:** 4\
**Last updated:** [January 30, 2018, 8:56am UTC](https://forums.kodeco.com/t/physical-engine-adapted-to-the-needs-of-a-2d-platform-game-like-super-mario/38680 "2018-01-30T08:56:26Z")

</div>

Hi All, Well, I plan to develop a platform game, like “Super Mario”, but I run into a big problem, the physics engine of “SpriteKit” (Box2D) is the worst to use in a game of these characteristics, thousands of forums / …

---

## [AutoLayout Overlapping Problem](https://forums.kodeco.com/t/autolayout-overlapping-problem/37857)

<div class="topic-metadata">

**Author:** [@chicago](https://forums.kodeco.com/u/chicago)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 12:01am UTC](https://forums.kodeco.com/t/autolayout-overlapping-problem/37857 "2018-01-30T00:01:54Z")

</div>

I am trying to eliminate all warnings in my app to update it to the App Store. Warnings are deceptive because while they do not appear on one iPhone model, warnings can pop up when viewed on another iPhone model. I hav…

---

## [PDFKit iOS 11 , Displaced Pdf](https://forums.kodeco.com/t/pdfkit-ios-11-displaced-pdf/39005)

<div class="topic-metadata">

**Author:** [@miladbigle](https://forums.kodeco.com/u/miladbigle)\
**Replies:** 3\
**Last updated:** [January 29, 2018, 11:44pm UTC](https://forums.kodeco.com/t/pdfkit-ios-11-displaced-pdf/39005 "2018-01-29T23:44:25Z")

</div>

I have This Code for Read UITable var documents = PDFDocument override func tableView(\_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -\> UITableViewCell { let cell = tableView.dequeueReusa…

---

## [How to insert podcasts files into a Xcode podcast](https://forums.kodeco.com/t/how-to-insert-podcasts-files-into-a-xcode-podcast/38001)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 11:19pm UTC](https://forums.kodeco.com/t/how-to-insert-podcasts-files-into-a-xcode-podcast/38001 "2018-01-29T23:19:11Z")

</div>

If i wanted to created a specifically to play certain podcasts from the iTunes library how would i do this. I look online for tutorials but have not seen a lot of stuff that specifically relates to this.

---

## [Trigger core data save after tableview text change](https://forums.kodeco.com/t/trigger-core-data-save-after-tableview-text-change/31069)

<div class="topic-metadata">

**Author:** [@erich\_snijder](https://forums.kodeco.com/u/erich_snijder)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 6:29pm UTC](https://forums.kodeco.com/t/trigger-core-data-save-after-tableview-text-change/31069 "2018-01-29T18:29:33Z")

</div>

I use in my OSX App a Core Data Api. It create’s an sqlite database. I’ve connected the core data to my NSArrayController bij bindings. The NSArrayController is connect to an NSTableView by bindings. All the data is …

---

## [Videos VS Books](https://forums.kodeco.com/t/videos-vs-books/35352)

<div class="topic-metadata">

**Author:** [@astro](https://forums.kodeco.com/u/astro)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 5:50am UTC](https://forums.kodeco.com/t/videos-vs-books/35352 "2018-01-29T05:50:02Z")

</div>

Hello everyone, I hesitate between buying “swift apprentice” or taking a subscription. Is there a difference between the videos “Programming in Swift” and the book? If I take a subscription do I have access to the boo…

---

## [Why don't we build example apps using MVVM?](https://forums.kodeco.com/t/why-dont-we-build-example-apps-using-mvvm/36523)

<div class="topic-metadata">

**Author:** [@dnesh](https://forums.kodeco.com/u/dnesh)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 5:42am UTC](https://forums.kodeco.com/t/why-dont-we-build-example-apps-using-mvvm/36523 "2018-01-29T05:42:29Z")

</div>

It would be great to show the usage and power of MVVM by practicing it while working on these tutorials

---

## [How do I copy an array within and object?](https://forums.kodeco.com/t/how-do-i-copy-an-array-within-and-object/38951)

<div class="topic-metadata">

**Author:** [@jport1130](https://forums.kodeco.com/u/jport1130)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 2:51am UTC](https://forums.kodeco.com/t/how-do-i-copy-an-array-within-and-object/38951 "2018-01-29T02:51:30Z")

</div>

I have an array of objects and each object contains another array. How do I copy the array within the object? Using NSCopying I have been able to copy the object but the array within it will not copy.

---

## [How do show text on a map in MapKit?](https://forums.kodeco.com/t/how-do-show-text-on-a-map-in-mapkit/38288)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 1\
**Last updated:** [January 28, 2018, 7:12pm UTC](https://forums.kodeco.com/t/how-do-show-text-on-a-map-in-mapkit/38288 "2018-01-28T19:12:26Z")

</div>

How would I implement the draw function of MKOverlayRenderer to show text or an image or drawing of text?

---

## [Why is my image not being drawn in MKOverlayRenderer.draw method?](https://forums.kodeco.com/t/why-is-my-image-not-being-drawn-in-mkoverlayrenderer-draw-method/38636)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 1\
**Last updated:** [January 28, 2018, 7:05pm UTC](https://forums.kodeco.com/t/why-is-my-image-not-being-drawn-in-mkoverlayrenderer-draw-method/38636 "2018-01-28T19:05:53Z")

</div>

I have the following test code. It’s supposed to show an image on a map view. The image is not showing. I get no errors. I wonder if I made a mistake where I use the context where I scale or translate or draw. Would anyo…

---

## [How do I get the latest placemarks that the user has in the Maps application in iOS?](https://forums.kodeco.com/t/how-do-i-get-the-latest-placemarks-that-the-user-has-in-the-maps-application-in-ios/38525)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 3\
**Last updated:** [January 28, 2018, 4:50pm UTC](https://forums.kodeco.com/t/how-do-i-get-the-latest-placemarks-that-the-user-has-in-the-maps-application-in-ios/38525 "2018-01-28T16:50:41Z")

</div>

How do I get the latest placemarks that the user has in the Maps application in iOS?

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

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