# 🎤 General Discussion

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

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

**Page:** 91

---

## [Swift 3; photo is not saving to photo gallery](https://forums.kodeco.com/t/swift-3-photo-is-not-saving-to-photo-gallery/21419)

<div class="topic-metadata">

**Author:** [@zalubski](https://forums.kodeco.com/u/zalubski)\
**Replies:** 0\
**Last updated:** [October 19, 2016, 7:37pm UTC](https://forums.kodeco.com/t/swift-3-photo-is-not-saving-to-photo-gallery/21419 "2016-10-19T19:37:23Z")

</div>

This code features a special camera that features a camera with a title nested in it. So when the photo is saved to the photo gallery the title is on the photo. The camera works great but the photo is not being saved. I …

---

## [Remote Notifications in iOS](https://forums.kodeco.com/t/remote-notifications-in-ios/20656)

<div class="topic-metadata">

**Author:** [@pratik](https://forums.kodeco.com/u/pratik)\
**Replies:** 1\
**Last updated:** [October 18, 2016, 9:42pm UTC](https://forums.kodeco.com/t/remote-notifications-in-ios/20656 "2016-10-18T21:42:35Z")

</div>

When we receive remote push notifications and app is not running at all(not even in background mode) then if user tap on remote notifications it is working fine, but when user tap on app icon I a not able to get push not…

---

## [Bug Mr Pig book 3D Apple Game tutorial](https://forums.kodeco.com/t/bug-mr-pig-book-3d-apple-game-tutorial/21369)

<div class="topic-metadata">

**Author:** [@gui](https://forums.kodeco.com/u/gui)\
**Replies:** 0\
**Last updated:** [October 18, 2016, 7:07pm UTC](https://forums.kodeco.com/t/bug-mr-pig-book-3d-apple-game-tutorial/21369 "2016-10-18T19:07:42Z")

</div>

Hello, I bought the book 3D Apple Game tutorial today and when I run Mr Pig on my iPhone 7, I have this error : /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-85.83/ToolsLayers/Debug/MTLDebugRenderCommandEn…

---

## [StoryBoard iOS 7.1 to iOS 10 And missing Collapse of Curly Braces](https://forums.kodeco.com/t/storyboard-ios-7-1-to-ios-10-and-missing-collapse-of-curly-braces/21311)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 2\
**Last updated:** [October 17, 2016, 9:26pm UTC](https://forums.kodeco.com/t/storyboard-ios-7-1-to-ios-10-and-missing-collapse-of-curly-braces/21311 "2016-10-17T21:26:02Z")

</div>

I have some changes to my StoryBoard and I have not updated it since iOS 7.1. I will be adding some text labels and Labels. Can you tell me if it would be advisable to redo the Storyboards to iOS 10? or just leave it al…

---

## [Override init(size: CGSize)](https://forums.kodeco.com/t/override-init-size-cgsize/21265)

<div class="topic-metadata">

**Author:** [@007fred50](https://forums.kodeco.com/u/007fred50)\
**Replies:** 1\
**Last updated:** [October 17, 2016, 12:43pm UTC](https://forums.kodeco.com/t/override-init-size-cgsize/21265 "2016-10-17T12:43:20Z")

</div>

Hello, I got error on this here… override init(size: CGSize) try to write it down from the PDF. (2D\_Apple\_Games\_by\_Tutorials\_2.0) what can i do? Best Regards Frederik L. Frandsen

---

## [Update Model on row move](https://forums.kodeco.com/t/update-model-on-row-move/21226)

<div class="topic-metadata">

**Author:** [@jonny](https://forums.kodeco.com/u/jonny)\
**Replies:** 4\
**Last updated:** [October 17, 2016, 12:06am UTC](https://forums.kodeco.com/t/update-model-on-row-move/21226 "2016-10-17T00:06:49Z")

</div>

I’ve got a table with 3 sections and the model I’m using is defined as playingList : \[\[Player\]\]. In my situation playingList\[0\] = players are playing playingList\[1\] = players are substitutes playingList\[2\] = players …

---

## [Float type name-sake](https://forums.kodeco.com/t/float-type-name-sake/21210)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 1\
**Last updated:** [October 16, 2016, 11:31pm UTC](https://forums.kodeco.com/t/float-type-name-sake/21210 "2016-10-16T23:31:10Z")

</div>

Where does the Float type get it’s name from?

---

## [Proper way to pause a game (swift and sprite kit)](https://forums.kodeco.com/t/proper-way-to-pause-a-game-swift-and-sprite-kit/14319)

<div class="topic-metadata">

**Author:** [@squilliop](https://forums.kodeco.com/u/squilliop)\
**Replies:** 1\
**Last updated:** [October 15, 2016, 9:36pm UTC](https://forums.kodeco.com/t/proper-way-to-pause-a-game-swift-and-sprite-kit/14319 "2016-10-15T21:36:09Z")

</div>

hello. i’d love to see a tutorial on how best to implement a pause / resume routine in a sprite kit game, in Swift (of course) i know the basics - just call pause … and this does work - except when exiting the app dur…

---

## [Best solution for storing data for a budget app](https://forums.kodeco.com/t/best-solution-for-storing-data-for-a-budget-app/21095)

<div class="topic-metadata">

**Author:** [@rpetruzz](https://forums.kodeco.com/u/rpetruzz)\
**Replies:** 6\
**Last updated:** [October 15, 2016, 11:49am UTC](https://forums.kodeco.com/t/best-solution-for-storing-data-for-a-budget-app/21095 "2016-10-15T11:49:53Z")

</div>

Hi, 1st a little background on me. I’m currently retired but I’ve been programming professionally since 1980. Since 2000 I’ve been writing the “model” side of the house (with some web experience) in Java using Oracle …

---

## [SVG animation: Two Questions](https://forums.kodeco.com/t/svg-animation-two-questions/21134)

<div class="topic-metadata">

**Author:** [@rufy](https://forums.kodeco.com/u/rufy)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 9:36am UTC](https://forums.kodeco.com/t/svg-animation-two-questions/21134 "2016-10-14T09:36:56Z")

</div>

Hi everyone, how ever I’m trying to make animation of SVG. Finally the framework pocketSVG is updated and now you can display every path. but I’ve two question: 1)how can I display the animations correctly? thanks the…

---

## [Terms and Conditions, Where to place and how to acquire?](https://forums.kodeco.com/t/terms-and-conditions-where-to-place-and-how-to-acquire/21166)

<div class="topic-metadata">

**Author:** [@elliott\_19](https://forums.kodeco.com/u/elliott_19)\
**Replies:** 0\
**Last updated:** [October 14, 2016, 12:58am UTC](https://forums.kodeco.com/t/terms-and-conditions-where-to-place-and-how-to-acquire/21166 "2016-10-14T00:58:42Z")

</div>

Currently creating a fitness app and I am wondering how developers approach acquiring the legal documents so the developer is protected against any possible lawsuits and other legalities that I would not be too educated …

---

## [Any recommended resources on learning Delegates?](https://forums.kodeco.com/t/any-recommended-resources-on-learning-delegates/21140)

<div class="topic-metadata">

**Author:** [@kickinbahk](https://forums.kodeco.com/u/kickinbahk)\
**Replies:** 3\
**Last updated:** [October 13, 2016, 11:57pm UTC](https://forums.kodeco.com/t/any-recommended-resources-on-learning-delegates/21140 "2016-10-13T23:57:51Z")

</div>

I am having trouble wrapping my head fully around delegates. I find that they are a bit difficult to grasp and was wondering if anyone had resources they used to help understand them?

---

## [Different layout in different orientation With Xcode 8](https://forums.kodeco.com/t/different-layout-in-different-orientation-with-xcode-8/20490)

<div class="topic-metadata">

**Author:** [@rufy](https://forums.kodeco.com/u/rufy)\
**Replies:** 2\
**Last updated:** [October 13, 2016, 3:59pm UTC](https://forums.kodeco.com/t/different-layout-in-different-orientation-with-xcode-8/20490 "2016-10-13T15:59:18Z")

</div>

Hi guys, i’ve a Problem with new auto layout of xocode 8. i need to have two different layout: one with portrait orientation, one with landscape orientation. in detail, for example i want that a lable be over an table …

---

## [UICollectionView number of column](https://forums.kodeco.com/t/uicollectionview-number-of-column/21050)

<div class="topic-metadata">

**Author:** [@ragnar](https://forums.kodeco.com/u/ragnar)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 5:14am UTC](https://forums.kodeco.com/t/uicollectionview-number-of-column/21050 "2016-10-13T05:14:55Z")

</div>

I’m trying to achieve this type of layout where the first row will have different cell vs the rest where are all the same. It would be great if anyone can point me into a tutorial or direction. Thank you!

---

## [How to show border around button control or label control](https://forums.kodeco.com/t/how-to-show-border-around-button-control-or-label-control/21054)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 5:10am UTC](https://forums.kodeco.com/t/how-to-show-border-around-button-control-or-label-control/21054 "2016-10-13T05:10:52Z")

</div>

How do I make the label control or the button control show a border around the edges?

---

## [Spritekit Image Resolution Sizes](https://forums.kodeco.com/t/spritekit-image-resolution-sizes/21104)

<div class="topic-metadata">

**Author:** [@melvinbg](https://forums.kodeco.com/u/melvinbg)\
**Replies:** 0\
**Last updated:** [October 12, 2016, 8:36pm UTC](https://forums.kodeco.com/t/spritekit-image-resolution-sizes/21104 "2016-10-12T20:36:15Z")

</div>

With Xcode, every since the IPhone 7 was released, the IPhone 4 has been removed from the simulator completely. So with that, I was wondering if there is a source that lists all the updated resolution sizes for all the I…

---

## [Reodering rows across sections](https://forums.kodeco.com/t/reodering-rows-across-sections/21004)

<div class="topic-metadata">

**Author:** [@jonny](https://forums.kodeco.com/u/jonny)\
**Replies:** 2\
**Last updated:** [October 12, 2016, 1:41pm UTC](https://forums.kodeco.com/t/reodering-rows-across-sections/21004 "2016-10-12T13:41:43Z")

</div>

Hi In my app I have 2 sections, a Playing section and also a Substitute section. I’ve managed to get my table to be reordered. But I’m thinking of how I can stop a user reordering all the cells so everyone is playing. I…

---

## [Scroll View vs. Page View Controller](https://forums.kodeco.com/t/scroll-view-vs-page-view-controller/20877)

<div class="topic-metadata">

**Author:** [@elliott\_19](https://forums.kodeco.com/u/elliott_19)\
**Replies:** 1\
**Last updated:** [October 12, 2016, 1:21am UTC](https://forums.kodeco.com/t/scroll-view-vs-page-view-controller/20877 "2016-10-12T01:21:23Z")

</div>

Quick question - Should i use a Scroll View or a Page view controller Goal: 1st view is a just a normal view with details 2nd view is a camera

---

## [Swift, core data, Bundle.main.url error](https://forums.kodeco.com/t/swift-core-data-bundle-main-url-error/20892)

<div class="topic-metadata">

**Author:** [@hugh](https://forums.kodeco.com/u/hugh)\
**Replies:** 2\
**Last updated:** [October 11, 2016, 3:11pm UTC](https://forums.kodeco.com/t/swift-core-data-bundle-main-url-error/20892 "2016-10-11T15:11:32Z")

</div>

In my coreDataStack if have the following: private lazy var managedObjectModel: NSManagedObjectModel = { let modelURL = Bundle.main.url(forResource: self.modelName, withExtension: "momd")! return NSManagedObjectModel…

---

## [SKTiled - Tiled parser for SpriteKit/Swift](https://forums.kodeco.com/t/sktiled-tiled-parser-for-spritekit-swift/20983)

<div class="topic-metadata">

**Author:** [@mfessenden](https://forums.kodeco.com/u/mfessenden)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 11:25pm UTC](https://forums.kodeco.com/t/sktiled-tiled-parser-for-spritekit-swift/20983 "2016-10-10T23:25:37Z")

</div>

Just a quick announcement that I’ve released a new Tiled parser for Swift/SpriteKit. This began life as an XML parser for a game I worked on, and I’ve been steadily updating it whenever I’ve had down cycles. I’ve decided…

---

## [Beginning Video series](https://forums.kodeco.com/t/beginning-video-series/20970)

<div class="topic-metadata">

**Author:** [@jlgaustin](https://forums.kodeco.com/u/jlgaustin)\
**Replies:** 1\
**Last updated:** [October 10, 2016, 10:30pm UTC](https://forums.kodeco.com/t/beginning-video-series/20970 "2016-10-10T22:30:33Z")

</div>

Anyone know where to get the starter projects or final code for the Beginning Video series?

---

## [Memory issue when I swap storyboards](https://forums.kodeco.com/t/memory-issue-when-i-swap-storyboards/20916)

<div class="topic-metadata">

**Author:** [@webgood](https://forums.kodeco.com/u/webgood)\
**Replies:** 0\
**Last updated:** [October 8, 2016, 3:49pm UTC](https://forums.kodeco.com/t/memory-issue-when-i-swap-storyboards/20916 "2016-10-08T15:49:40Z")

</div>

Hi, I’ve created two storyboards, 1st with main menu and 2nd with game. I placed button on main menu to go to the second storyboard with game. In game storyboard I place Back button to back to main menu. It’s working f…

---

## [xOS agnostic programming: unification of APIs, not necessarily of UIs](https://forums.kodeco.com/t/xos-agnostic-programming-unification-of-apis-not-necessarily-of-uis/20933)

<div class="topic-metadata">

**Author:** [@vanfruniken](https://forums.kodeco.com/u/vanfruniken)\
**Replies:** 0\
**Last updated:** [October 9, 2016, 8:34am UTC](https://forums.kodeco.com/t/xos-agnostic-programming-unification-of-apis-not-necessarily-of-uis/20933 "2016-10-09T08:34:24Z")

</div>

Increasingly, we are seeing the macOS and iOS development worlds diverge. So much so that software libraries/frameworks can seldomly be shared between these worlds, although the APIs are largely similar, and the underlyi…

---

## [Cocoapods master repo](https://forums.kodeco.com/t/cocoapods-master-repo/20886)

<div class="topic-metadata">

**Author:** [@poseidon](https://forums.kodeco.com/u/poseidon)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 8:44pm UTC](https://forums.kodeco.com/t/cocoapods-master-repo/20886 "2016-10-07T20:44:26Z")

</div>

why this thing like taking forever to complete …?? after 1 hour still stuck at preparing.

---

## [tvOS Apprentice with Swift 3 - Chapter 2 Error](https://forums.kodeco.com/t/tvos-apprentice-with-swift-3-chapter-2-error/20880)

<div class="topic-metadata">

**Author:** [@sviens](https://forums.kodeco.com/u/sviens)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 6:22pm UTC](https://forums.kodeco.com/t/tvos-apprentice-with-swift-3-chapter-2-error/20880 "2016-10-07T18:22:57Z")

</div>

Please disregard. This was due to a coding error of my own.

---

## [Xcode Simulator](https://forums.kodeco.com/t/xcode-simulator/20798)

<div class="topic-metadata">

**Author:** [@melvinbg](https://forums.kodeco.com/u/melvinbg)\
**Replies:** 3\
**Last updated:** [October 7, 2016, 3:56am UTC](https://forums.kodeco.com/t/xcode-simulator/20798 "2016-10-07T03:56:19Z")

</div>

Every time I run the simulator in Xcode, it always pops up without showing its whole body on the screen at once. Which means I would have to scroll up and down to see the full screen. My question is: Where do I go to cha…

---

## [Swift 3 xcode 8 video tutorirals](https://forums.kodeco.com/t/swift-3-xcode-8-video-tutorirals/20568)

<div class="topic-metadata">

**Author:** [@benspektor](https://forums.kodeco.com/u/benspektor)\
**Replies:** 7\
**Last updated:** [October 6, 2016, 6:25pm UTC](https://forums.kodeco.com/t/swift-3-xcode-8-video-tutorirals/20568 "2016-10-06T18:25:36Z")

</div>

Hi, I’m pretty new here and so far the iOS video tutorials have been a great help. recently I’ve download and upgraded to xcode 8, since then, I cannot really do the video tutorials. I’ve tried to follow “Networking Wi…

---

## [How to deep link? - Facebook App Page - iOS](https://forums.kodeco.com/t/how-to-deep-link-facebook-app-page-ios/20844)

<div class="topic-metadata">

**Author:** [@elliott\_19](https://forums.kodeco.com/u/elliott_19)\
**Replies:** 0\
**Last updated:** [October 6, 2016, 6:18pm UTC](https://forums.kodeco.com/t/how-to-deep-link-facebook-app-page-ios/20844 "2016-10-06T18:18:40Z")

</div>

I currently am just trying to set up a facebook page for an app I just developed, however the option to deep link is required and there does not seem to be much regarding how to do so. Is there a defined set of steps th…

---

## [Keyboard covers view](https://forums.kodeco.com/t/keyboard-covers-view/20571)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 2\
**Last updated:** [October 5, 2016, 11:52pm UTC](https://forums.kodeco.com/t/keyboard-covers-view/20571 "2016-10-05T23:52:43Z")

</div>

I have a text view at the bottom of the view controller. When the text view becomes first responder, the keyboard appears, but it covers the text view. How do I make the text view visible?

---

## [Swift 3, found nil while unwrapping Optional Value in CoreData app](https://forums.kodeco.com/t/swift-3-found-nil-while-unwrapping-optional-value-in-coredata-app/20503)

<div class="topic-metadata">

**Author:** [@hugh](https://forums.kodeco.com/u/hugh)\
**Replies:** 1\
**Last updated:** [October 5, 2016, 9:45pm UTC](https://forums.kodeco.com/t/swift-3-found-nil-while-unwrapping-optional-value-in-coredata-app/20503 "2016-10-05T21:45:01Z")

</div>

What worked in Swift 2 now does not work in Swift 3! The code below crashes on the line “managedObjectContext: coreDataStack.context” import UIKit import CoreData class GaugeTableViewController: UIViewController, NSF…

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

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