# Swift

**URL:** https://forums.kodeco.com/c/general/swift/15.md?page=35

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

**Page:** 36

---

## [How can I sync my CoreData app with iCloud in Swift?](https://forums.kodeco.com/t/how-can-i-sync-my-coredata-app-with-icloud-in-swift/16040)

<div class="topic-metadata">

**Author:** [@nicolo1234](https://forums.kodeco.com/u/nicolo1234)\
**Replies:** 0\
**Last updated:** [June 17, 2016, 12:12am UTC](https://forums.kodeco.com/t/how-can-i-sync-my-coredata-app-with-icloud-in-swift/16040 "2016-06-17T00:12:11Z")

</div>

Hi Devs, I need a hand to synchronize a Core Data database with iCloud in Swift, there are examples or source codes? Or in these days will arrive? I try to sync my CoreData App with iCloud with Swift 2.2. Thanks a lot .

---

## [The update to swift](https://forums.kodeco.com/t/the-update-to-swift/15983)

<div class="topic-metadata">

**Author:** [@mitchkovitch](https://forums.kodeco.com/u/mitchkovitch)\
**Replies:** 1\
**Last updated:** [June 15, 2016, 8:58pm UTC](https://forums.kodeco.com/t/the-update-to-swift/15983 "2016-06-15T20:58:28Z")

</div>

I’m working on an 2D game app now that i made with swift. It is olmost finished just the artwork . But my question is when swift 3 comes out will i still be able to upload my app to the appstore when the code is still i…

---

## [Cannot figure out how to pass CoreData through segue](https://forums.kodeco.com/t/cannot-figure-out-how-to-pass-coredata-through-segue/15714)

<div class="topic-metadata">

**Author:** [@thunderken](https://forums.kodeco.com/u/thunderken)\
**Replies:** 3\
**Last updated:** [June 14, 2016, 8:53pm UTC](https://forums.kodeco.com/t/cannot-figure-out-how-to-pass-coredata-through-segue/15714 "2016-06-14T20:53:39Z")

</div>

I am trying to pass data from the table view controller to a details table view controller with core data. I had a local data schema that was working but trying to switch it over and now I cannot compile the app. I get a…

---

## [Why my code is the same as tutorials but can't run?](https://forums.kodeco.com/t/why-my-code-is-the-same-as-tutorials-but-cant-run/15329)

<div class="topic-metadata">

**Author:** [@felixli](https://forums.kodeco.com/u/felixli)\
**Replies:** 2\
**Last updated:** [June 12, 2016, 1:22am UTC](https://forums.kodeco.com/t/why-my-code-is-the-same-as-tutorials-but-cant-run/15329 "2016-06-12T01:22:19Z")

</div>

---

## [Creating a favorites list](https://forums.kodeco.com/t/creating-a-favorites-list/15615)

<div class="topic-metadata">

**Author:** [@fabrice](https://forums.kodeco.com/u/fabrice)\
**Replies:** 2\
**Last updated:** [June 11, 2016, 4:22pm UTC](https://forums.kodeco.com/t/creating-a-favorites-list/15615 "2016-06-11T16:22:57Z")

</div>

Hello I am looking for information or demonstration to create a list of favorites. Not as an example of adding a player from a list. For example I have a tableview with a list of restaurants, if I click on its descriptio…

---

## [Please I need help on my problem on swift language](https://forums.kodeco.com/t/please-i-need-help-on-my-problem-on-swift-language/15568)

<div class="topic-metadata">

**Author:** [@almass](https://forums.kodeco.com/u/almass)\
**Replies:** 2\
**Last updated:** [June 7, 2016, 8:28pm UTC](https://forums.kodeco.com/t/please-i-need-help-on-my-problem-on-swift-language/15568 "2016-06-07T20:28:52Z")

</div>

Hello all I hope all is well Please i have problem with saving image in document directory I have to create photo vault in swift language and i save the images in document directory and display the images in my custom…

---

## [Tutorial "Introduction to the Sprite Kit Scene Editor"](https://forums.kodeco.com/t/tutorial-introduction-to-the-sprite-kit-scene-editor/15612)

<div class="topic-metadata">

**Author:** [@roamingrooster](https://forums.kodeco.com/u/roamingrooster)\
**Replies:** 0\
**Last updated:** [June 7, 2016, 12:42am UTC](https://forums.kodeco.com/t/tutorial-introduction-to-the-sprite-kit-scene-editor/15612 "2016-06-07T00:42:43Z")

</div>

error on build/run after 2nd step that adds camera to scene editor: "Thread 1:EXEC\_BAD\_INSTRUCTION (code=EXC\_i386\_INVOP, subcode=0x0) How to ID error & resolve it? “RESOLVED?” sometimes it works and others it does/t -…

---

## [Core Data One to Many relationship Need help $$$$](https://forums.kodeco.com/t/core-data-one-to-many-relationship-need-help/15607)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 1\
**Last updated:** [June 7, 2016, 1:49am UTC](https://forums.kodeco.com/t/core-data-one-to-many-relationship-need-help/15607 "2016-06-07T01:49:07Z")

</div>

I am having problems in creating a One to Many relationship. Can someone please help me to be able to post notes to my TableView. Just send me your PayPal account and I will pay you right away. I AM NOT ASKING FOR FREE …

---

## [Initializing model data for use in TableViewController](https://forums.kodeco.com/t/initializing-model-data-for-use-in-tableviewcontroller/15342)

<div class="topic-metadata">

**Author:** [@jonny](https://forums.kodeco.com/u/jonny)\
**Replies:** 4\
**Last updated:** [June 6, 2016, 6:54am UTC](https://forums.kodeco.com/t/initializing-model-data-for-use-in-tableviewcontroller/15342 "2016-06-06T06:54:22Z")

</div>

Hi I think I am having a little problem with how to have data from model ready at run time to use in my TableViewController. TeamModel class TeamModel { // a type of team typealias Team = (String, Int, Int, Int) // …

---

## [Best way to speed up CloudKit Data driven app performance?](https://forums.kodeco.com/t/best-way-to-speed-up-cloudkit-data-driven-app-performance/15564)

<div class="topic-metadata">

**Author:** [@jonpeter](https://forums.kodeco.com/u/jonpeter)\
**Replies:** 0\
**Last updated:** [June 5, 2016, 8:00pm UTC](https://forums.kodeco.com/t/best-way-to-speed-up-cloudkit-data-driven-app-performance/15564 "2016-06-05T20:00:54Z")

</div>

I have 2 table controllers and a final detail controller - all the data is supplied by CloudKit. My first table controller is quite slow loading (3-4 seconds) only to produce about 8 table cells - each cell only contain…

---

## [Not running on xCode 7.2](https://forums.kodeco.com/t/not-running-on-xcode-7-2/3683)

<div class="topic-metadata">

**Author:** [@pravat](https://forums.kodeco.com/u/pravat)\
**Replies:** 1\
**Last updated:** [June 5, 2016, 4:52pm UTC](https://forums.kodeco.com/t/not-running-on-xcode-7-2/3683 "2016-06-05T16:52:50Z")

</div>

I am trying to build code “Demo starter” from Splitviewcontroller video series, and seems there are a lot of error regarding swift versions,

---

## [Detail disclosure button not showing in checklist tutorial](https://forums.kodeco.com/t/detail-disclosure-button-not-showing-in-checklist-tutorial/15411)

<div class="topic-metadata">

**Author:** [@bigsmoove](https://forums.kodeco.com/u/bigsmoove)\
**Replies:** 1\
**Last updated:** [June 3, 2016, 8:58pm UTC](https://forums.kodeco.com/t/detail-disclosure-button-not-showing-in-checklist-tutorial/15411 "2016-06-03T20:58:52Z")

</div>

Hi all, Xcode 7.3.1, in my Checklist tutorial, page 111, “Go to the table view cell in the storyboard and in the Attributes inspector set its Accessory to Detail Disclosure” Should change that checkbox to an “i” with th…

---

## [Why I use "let", it still can be changed the value?](https://forums.kodeco.com/t/why-i-use-let-it-still-can-be-changed-the-value/15502)

<div class="topic-metadata">

**Author:** [@tina0602](https://forums.kodeco.com/u/tina0602)\
**Replies:** 2\
**Last updated:** [June 3, 2016, 7:26pm UTC](https://forums.kodeco.com/t/why-i-use-let-it-still-can-be-changed-the-value/15502 "2016-06-03T19:26:53Z")

</div>

code 1. let alert 1= UIAlertController(title: “Time is up!”,message: “You scored ＼(count) points”,preferredStyle: UIAlertControllerStyle.Alert) alert1.title=“no time” ---------------------title of alert1 is changed---…

---

## [Firebase errors after installl of pods](https://forums.kodeco.com/t/firebase-errors-after-installl-of-pods/15439)

<div class="topic-metadata">

**Author:** [@pgmavro79](https://forums.kodeco.com/u/pgmavro79)\
**Replies:** 17\
**Last updated:** [June 1, 2016, 9:59pm UTC](https://forums.kodeco.com/t/firebase-errors-after-installl-of-pods/15439 "2016-06-01T21:59:53Z")

</div>

Hi. I keep getting a ‘ugly red triangle’ message in app delegate. I did the suggested pod ‘firebase’ install and this is what I get. error: linker command failed with exit code 1 (use -v to see invocation) I hit a dead…

---

## [Core Data One to Many relationship](https://forums.kodeco.com/t/core-data-one-to-many-relationship/15393)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 1\
**Last updated:** [June 1, 2016, 9:33am UTC](https://forums.kodeco.com/t/core-data-one-to-many-relationship/15393 "2016-06-01T09:33:45Z")

</div>

I have a object that is called Guest and I want to add a note to the guest. So note is the child of Guest. Notes One to Many Relationship myCode extension Notes { @NSManaged var note: String? @NSManaged var dateOfN…

---

## [Is creating app with core data and user defaults ok?](https://forums.kodeco.com/t/is-creating-app-with-core-data-and-user-defaults-ok/15410)

<div class="topic-metadata">

**Author:** [@thunderken](https://forums.kodeco.com/u/thunderken)\
**Replies:** 1\
**Last updated:** [June 1, 2016, 5:22am UTC](https://forums.kodeco.com/t/is-creating-app-with-core-data-and-user-defaults-ok/15410 "2016-06-01T05:22:26Z")

</div>

I am creating an app and attempting to use core data, even though it might be overkill for now. I want to include a “Profile” section with a few fields and User image to fill out in addition to the main function of the A…

---

## [Couldn't parse contents of info.plist - xcode](https://forums.kodeco.com/t/couldnt-parse-contents-of-info-plist-xcode/15179)

<div class="topic-metadata">

**Author:** [@becareful](https://forums.kodeco.com/u/becareful)\
**Replies:** 4\
**Last updated:** [May 30, 2016, 1:11am UTC](https://forums.kodeco.com/t/couldnt-parse-contents-of-info-plist-xcode/15179 "2016-05-30T01:11:50Z")

</div>

I am close to launching a game of mine, but just faced a great obstacle! My code works just fine, however, as I build my project, it gets an error about the info.plist: couldn't parse contents of '/Users/ ... /Info.pli…

---

## [Append 2 objects to Dictionary ? what am I doing wrong](https://forums.kodeco.com/t/append-2-objects-to-dictionary-what-am-i-doing-wrong/15290)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 2\
**Last updated:** [May 28, 2016, 9:04pm UTC](https://forums.kodeco.com/t/append-2-objects-to-dictionary-what-am-i-doing-wrong/15290 "2016-05-28T21:04:13Z")

</div>

var objects = \[\[“name”:“Robert”, “time”: “12:20”\], \[“name”: “George”, “time” : “2:30”\]\] objects\[\[“name”\] = “James”, \[“time”\] = “6:55”\]

---

## [CIGABRT Error in table view when tap cell for the second time](https://forums.kodeco.com/t/cigabrt-error-in-table-view-when-tap-cell-for-the-second-time/15187)

<div class="topic-metadata">

**Author:** [@lennytash](https://forums.kodeco.com/u/lennytash)\
**Replies:** 1\
**Last updated:** [May 28, 2016, 11:13am UTC](https://forums.kodeco.com/t/cigabrt-error-in-table-view-when-tap-cell-for-the-second-time/15187 "2016-05-28T11:13:12Z")

</div>

Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘attempt to delete row 3 from section 4 which only contains 3 rows before the update’ error in ScaryBugs challenge app

---

## [Core data - updating an attribute's record when a checkbox gets tapped from a custom tableview cell](https://forums.kodeco.com/t/core-data-updating-an-attributes-record-when-a-checkbox-gets-tapped-from-a-custom-tableview-cell/15218)

<div class="topic-metadata">

**Author:** [@sreekatta](https://forums.kodeco.com/u/sreekatta)\
**Replies:** 0\
**Last updated:** [May 25, 2016, 4:12pm UTC](https://forums.kodeco.com/t/core-data-updating-an-attributes-record-when-a-checkbox-gets-tapped-from-a-custom-tableview-cell/15218 "2016-05-25T16:12:57Z")

</div>

The following are my app details… Core data Entity: Tasks / Attributes: 1.taskDescription:String, 2. taskStatus:Bool. When creating a new record, I have made the taskStatus = false I display the core data fetched resu…

---

## [Recommend from developers](https://forums.kodeco.com/t/recommend-from-developers/15171)

<div class="topic-metadata">

**Author:** [@almass](https://forums.kodeco.com/u/almass)\
**Replies:** 1\
**Last updated:** [May 25, 2016, 2:06am UTC](https://forums.kodeco.com/t/recommend-from-developers/15171 "2016-05-25T02:06:32Z")

</div>

Hello All i hope all is well i have basics and intermediate on swift language i need to make app (private photo vault in swift ) how can i start with it can i deal with core data to save images in it or can i save t…

---

## [didSelectRowAtIndexPath Not working](https://forums.kodeco.com/t/didselectrowatindexpath-not-working/15150)

<div class="topic-metadata">

**Author:** [@hcri50](https://forums.kodeco.com/u/hcri50)\
**Replies:** 2\
**Last updated:** [May 24, 2016, 6:41pm UTC](https://forums.kodeco.com/t/didselectrowatindexpath-not-working/15150 "2016-05-24T18:41:20Z")

</div>

Can someone please tell me why the DidSelectRowAtIndexPath and didDeselectRowAtIndexPath Can someone please tell me why it is not being detected

---

## [Can anyone recommend a good Authentication API that integrates well with Swift?](https://forums.kodeco.com/t/can-anyone-recommend-a-good-authentication-api-that-integrates-well-with-swift/15003)

<div class="topic-metadata">

**Author:** [@jeremyd](https://forums.kodeco.com/u/jeremyd)\
**Replies:** 0\
**Last updated:** [May 18, 2016, 7:22pm UTC](https://forums.kodeco.com/t/can-anyone-recommend-a-good-authentication-api-that-integrates-well-with-swift/15003 "2016-05-18T19:22:37Z")

</div>

I’ve tried Auth0 (which is what this site seems to be using now), but I’m not crazy about it. I like their web dashboard manager, but documentation and 3rd party integration APIs are outdated; especially the Twitter one.…

---

## [Grabbing xcode's console data using lldb](https://forums.kodeco.com/t/grabbing-xcodes-console-data-using-lldb/15095)

<div class="topic-metadata">

**Author:** [@moroder](https://forums.kodeco.com/u/moroder)\
**Replies:** 0\
**Last updated:** [May 21, 2016, 8:43pm UTC](https://forums.kodeco.com/t/grabbing-xcodes-console-data-using-lldb/15095 "2016-05-21T20:43:37Z")

</div>

Hi, Really new here so I apologise in advance if this question is irrelevant… I’m trying to get Xcodes’s console’s data and copy it to a file automatically every time it spits information out. I followed Derek Selander…

---

## [Hold-to-record video AND swipe-to-delete Gestures - how to implement?](https://forums.kodeco.com/t/hold-to-record-video-and-swipe-to-delete-gestures-how-to-implement/14991)

<div class="topic-metadata">

**Author:** [@atul](https://forums.kodeco.com/u/atul)\
**Replies:** 0\
**Last updated:** [May 18, 2016, 3:31pm UTC](https://forums.kodeco.com/t/hold-to-record-video-and-swipe-to-delete-gestures-how-to-implement/14991 "2016-05-18T15:31:06Z")

</div>

Hey folks, I’m trying to implement the following (for a video application): a) Hold (long-press gesture) anywhere on screen to record video, AND b) Swipe down/up to Delete it (if user swipes it), Otherwise, (c) Rele…

---

## [Please anyone can help me about select multiple image from photo library using swift](https://forums.kodeco.com/t/please-anyone-can-help-me-about-select-multiple-image-from-photo-library-using-swift/14852)

<div class="topic-metadata">

**Author:** [@almass](https://forums.kodeco.com/u/almass)\
**Replies:** 2\
**Last updated:** [May 14, 2016, 6:52pm UTC](https://forums.kodeco.com/t/please-anyone-can-help-me-about-select-multiple-image-from-photo-library-using-swift/14852 "2016-05-14T18:52:57Z")

</div>

hello all i have to make an app in my app i want select multiple image from photo library many person tell me i can’t using UIImagePickerController please how can i do that and fix it anyone can explain it to me thank…

---

## [Uitextview in uitableview](https://forums.kodeco.com/t/uitextview-in-uitableview/14779)

<div class="topic-metadata">

**Author:** [@soumya](https://forums.kodeco.com/u/soumya)\
**Replies:** 1\
**Last updated:** [May 14, 2016, 5:45pm UTC](https://forums.kodeco.com/t/uitextview-in-uitableview/14779 "2016-05-14T17:45:04Z")

</div>

I have attached a UItextView in tableview cell. Now I want to insert an UIimage behind it like a chat bubble.But everytime I scroll the tableview , the Uitextview becomes smaller in width and longer in height. The text a…

---

## [Animation in label object](https://forums.kodeco.com/t/animation-in-label-object/14694)

<div class="topic-metadata">

**Author:** [@dev29g](https://forums.kodeco.com/u/dev29g)\
**Replies:** 2\
**Last updated:** [May 11, 2016, 6:24am UTC](https://forums.kodeco.com/t/animation-in-label-object/14694 "2016-05-11T06:24:51Z")

</div>

Dear all, i want to create a transition effect on my label so that it comes out from the left side of the view and centre itself in the middle of the screen. i am using “label.center.x -= view.bounds.width” to place the…

---

## [Swift how to convert string to date fraction seconds](https://forums.kodeco.com/t/swift-how-to-convert-string-to-date-fraction-seconds/14011)

<div class="topic-metadata">

**Author:** [@yangwulong1978](https://forums.kodeco.com/u/yangwulong1978)\
**Replies:** 1\
**Last updated:** [May 5, 2016, 1:56pm UTC](https://forums.kodeco.com/t/swift-how-to-convert-string-to-date-fraction-seconds/14011 "2016-05-05T13:56:25Z")

</div>

i have a string want to convert to date, but below code, that str print out show Optional(2016-04-25 17:00:16 +0000) I want to know how to show exact what it is like Optional(2016-04-26T03:00:16.047) var str = "2016-…

---

## [Uber Haxx0r Level Challenge?(iOS101 Part2:Interface Builder)](https://forums.kodeco.com/t/uber-haxx0r-level-challenge-ios101-part2-interface-builder/14520)

<div class="topic-metadata">

**Author:** [@kiaorasat](https://forums.kodeco.com/u/kiaorasat)\
**Replies:** 0\
**Last updated:** [May 5, 2016, 11:27am UTC](https://forums.kodeco.com/t/uber-haxx0r-level-challenge-ios101-part2-interface-builder/14520 "2016-05-05T11:27:26Z")

</div>

Hello iOS gurus, Now I’m finishing iOS101 Part2:Interface Builder(Hands-On Challenge) and found the tutorial book ( http://www.raywenderlich.com/wp-content/uploads/2015/09/iOS-101-Challenge-2.pdf) is finishing up by int…

[Previous page](https://forums.kodeco.com/c/general/swift/15.md?page=34)

[Next page](https://forums.kodeco.com/c/general/swift/15.md?page=36)
