# 🎤 General Discussion

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

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

**Page:** 68

---

## [Free Design Materials - 30 Best Mobile App Interactions for Your Inspiration](https://forums.kodeco.com/t/free-design-materials-30-best-mobile-app-interactions-for-your-inspiration/37676)

<div class="topic-metadata">

**Author:** [@xia](https://forums.kodeco.com/u/xia)\
**Replies:** 0\
**Last updated:** [December 17, 2017, 2:45pm UTC](https://forums.kodeco.com/t/free-design-materials-30-best-mobile-app-interactions-for-your-inspiration/37676 "2017-12-17T14:45:05Z")

</div>

Interactions and animations in mobile app UI designs will surely continue to be an overwhelming trend in the upcoming 2018. If you are also wondering how to add interaction effects to your mobile UI design works, here is…

---

## [Help with Battery Life of paired device (Counterpart)](https://forums.kodeco.com/t/help-with-battery-life-of-paired-device-counterpart/37673)

<div class="topic-metadata">

**Author:** [@samighi](https://forums.kodeco.com/u/samighi)\
**Replies:** 0\
**Last updated:** [December 17, 2017, 12:25pm UTC](https://forums.kodeco.com/t/help-with-battery-life-of-paired-device-counterpart/37673 "2017-12-17T12:25:25Z")

</div>

I was having trouble with my iPhone charging, so I wanted to see the battery life on my watch. Similar to the app that is already out. It seemed easy at first, but with Swift (new to me, but I have done a few months wor…

---

## [How do I make a multitude of driving distance calculations in MapKit?](https://forums.kodeco.com/t/how-do-i-make-a-multitude-of-driving-distance-calculations-in-mapkit/37532)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 5\
**Last updated:** [December 13, 2017, 2:30pm UTC](https://forums.kodeco.com/t/how-do-i-make-a-multitude-of-driving-distance-calculations-in-mapkit/37532 "2017-12-13T14:30:41Z")

</div>

How do I make a multitude of driving distance calculations in MapKit using MKDirections without getting a loading throttled error? Is there a different way of making the calculations other than by using MKDirections?

---

## [Print image on top of imagePicker when taking photo (swift4)](https://forums.kodeco.com/t/print-image-on-top-of-imagepicker-when-taking-photo-swift4/37550)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 1:01pm UTC](https://forums.kodeco.com/t/print-image-on-top-of-imagepicker-when-taking-photo-swift4/37550 "2017-12-13T13:01:52Z")

</div>

Right now my code does a two step process to print a image Over the current image. Take Image and save image to imageView. Then via another button its print the image over the imageView. How can I do all of this in 1 but…

---

## [Custom Cell - button in cell updates multiple cells](https://forums.kodeco.com/t/custom-cell-button-in-cell-updates-multiple-cells/37503)

<div class="topic-metadata">

**Author:** [@stianand](https://forums.kodeco.com/u/stianand)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 8:41am UTC](https://forums.kodeco.com/t/custom-cell-button-in-cell-updates-multiple-cells/37503 "2017-12-13T08:41:57Z")

</div>

I have a table view with custom cells. The cell consists of two buttons and a label. The buttons is a pluss button, and a minus button. The label is used for counting buttonpresses. When the pluss button is pressed, the…

---

## [Guide to make an iPhone menu like this](https://forums.kodeco.com/t/guide-to-make-an-iphone-menu-like-this/37420)

<div class="topic-metadata">

**Author:** [@alejandrossh](https://forums.kodeco.com/u/alejandrossh)\
**Replies:** 2\
**Last updated:** [December 11, 2017, 1:03pm UTC](https://forums.kodeco.com/t/guide-to-make-an-iphone-menu-like-this/37420 "2017-12-11T13:03:33Z")

</div>

Hello all! I need to make a menu like the one in the image. Where it “slides” from the side without covering the entire main view and where you can select your options and then it will shut down and show you that vie…

---

## [View controller won't show at segue](https://forums.kodeco.com/t/view-controller-wont-show-at-segue/37441)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 2\
**Last updated:** [December 11, 2017, 8:03am UTC](https://forums.kodeco.com/t/view-controller-wont-show-at-segue/37441 "2017-12-11T08:03:22Z")

</div>

Hey, what should I check if a view controller won’t show at segue. The perform(segue:\_:slight\_smile: callback method runs for sure. I know because I put a print statement in it and it printed. I’m sure I set up the se…

---

## [How to make only certain rows selectable on a table view?](https://forums.kodeco.com/t/how-to-make-only-certain-rows-selectable-on-a-table-view/37101)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 1\
**Last updated:** [December 11, 2017, 1:27am UTC](https://forums.kodeco.com/t/how-to-make-only-certain-rows-selectable-on-a-table-view/37101 "2017-12-11T01:27:34Z")

</div>

How do I configure a table view so that some rows are selectable and some rows not selectable?

---

## [Best sources to learn how to upload to app store?](https://forums.kodeco.com/t/best-sources-to-learn-how-to-upload-to-app-store/20312)

<div class="topic-metadata">

**Author:** [@elliott\_19](https://forums.kodeco.com/u/elliott_19)\
**Replies:** 3\
**Last updated:** [December 11, 2017, 12:18am UTC](https://forums.kodeco.com/t/best-sources-to-learn-how-to-upload-to-app-store/20312 "2017-12-11T00:18:35Z")

</div>

Currently trying to figure out the least cost way for a first time submitter to the app store. If possible for all us new guys what are the best resources to create screen shot images(currently what im trying to figure o…

---

## [Difference between drawRect() in custom UIView class and drawing in viewDidLoad()](https://forums.kodeco.com/t/difference-between-drawrect-in-custom-uiview-class-and-drawing-in-viewdidload/37405)

<div class="topic-metadata">

**Author:** [@parthibbiswas](https://forums.kodeco.com/u/parthibbiswas)\
**Replies:** 5\
**Last updated:** [December 10, 2017, 3:54pm UTC](https://forums.kodeco.com/t/difference-between-drawrect-in-custom-uiview-class-and-drawing-in-viewdidload/37405 "2017-12-10T15:54:20Z")

</div>

I have three buttons. One button whose properties are changed by a custom subclass. Another one being an IBOutlet and another one being an instance of UIButton. Now, why do I need to set masksToBounds/clipsToBounds to t…

---

## [Camera Capture, Variable Scope & "Main thread" purple errors](https://forums.kodeco.com/t/camera-capture-variable-scope-main-thread-purple-errors/37430)

<div class="topic-metadata">

**Author:** [@jingo\_man](https://forums.kodeco.com/u/jingo_man)\
**Replies:** 1\
**Last updated:** [December 10, 2017, 4:14am UTC](https://forums.kodeco.com/t/camera-capture-variable-scope-main-thread-purple-errors/37430 "2017-12-10T04:14:56Z")

</div>

I am new to Swift and iOS dev, and this is the first app I am messing about with. I have a CoreML Image Classification task, that takes the “camera capture stream” from the iOS device’s \[video\] camera and occurs in the …

---

## [Provisioning profile error](https://forums.kodeco.com/t/provisioning-profile-error/37436)

<div class="topic-metadata">

**Author:** [@jonahprogramma](https://forums.kodeco.com/u/jonahprogramma)\
**Replies:** 2\
**Last updated:** [December 10, 2017, 12:32am UTC](https://forums.kodeco.com/t/provisioning-profile-error/37436 "2017-12-10T00:32:59Z")

</div>

Hello fellow partners, I am getting this error for my provisioning profile, and have not been able to find a solution to allowing me to run my app on my iPhone as the simulator. Anyone have any ideas on how to approach…

---

## [Chess Knight Shortest Path - Algorithm Question](https://forums.kodeco.com/t/chess-knight-shortest-path-algorithm-question/37455)

<div class="topic-metadata">

**Author:** [@kwstasna](https://forums.kodeco.com/u/kwstasna)\
**Replies:** 0\
**Last updated:** [December 9, 2017, 4:56pm UTC](https://forums.kodeco.com/t/chess-knight-shortest-path-algorithm-question/37455 "2017-12-09T16:56:44Z")

</div>

Hello. I’m trying to make the Knight short path problem in swift Based on this code // all 8 possible movements for a knight fileprivate let knightMoves = \[ \[ 2, -1\], \[ 2, 1\], \[-2, 1\], \[-2, -1\], …

---

## [Your First Swift App: Lesson 15 question](https://forums.kodeco.com/t/your-first-swift-app-lesson-15-question/37389)

<div class="topic-metadata">

**Author:** [@gottzilla](https://forums.kodeco.com/u/gottzilla)\
**Replies:** 1\
**Last updated:** [December 8, 2017, 12:57am UTC](https://forums.kodeco.com/t/your-first-swift-app-lesson-15-question/37389 "2017-12-08T00:57:48Z")

</div>

Hi, I suspect this isn’t the right place to post my question, but I’m new to the site and I haven’t figured out how else to raise this problem. So I followed the lesson to the best of my abilities and when I initiate th…

---

## [Tutorials don't work - Apple Mach-O Linker (Id) Error - AudioKit / Pods\_AudioKitPlaygrounds](https://forums.kodeco.com/t/tutorials-dont-work-apple-mach-o-linker-id-error-audiokit-pods-audiokitplaygrounds/37344)

<div class="topic-metadata">

**Author:** [@geekomancer](https://forums.kodeco.com/u/geekomancer)\
**Replies:** 2\
**Last updated:** [December 6, 2017, 7:15pm UTC](https://forums.kodeco.com/t/tutorials-dont-work-apple-mach-o-linker-id-error-audiokit-pods-audiokitplaygrounds/37344 "2017-12-06T19:15:08Z")

</div>

Hello, I’m new to working with Frameworks, and I’m stuck on several tutorials. They seem to require a lot of extra setup that is not explained or included in the tutorials. The one I’m really interested in is the AudioK…

---

## [IOS Using UIbezierpath how can i use different types of brushes types](https://forums.kodeco.com/t/ios-using-uibezierpath-how-can-i-use-different-types-of-brushes-types/37307)

<div class="topic-metadata">

**Author:** [@samforyou](https://forums.kodeco.com/u/samforyou)\
**Replies:** 1\
**Last updated:** [December 6, 2017, 5:08pm UTC](https://forums.kodeco.com/t/ios-using-uibezierpath-how-can-i-use-different-types-of-brushes-types/37307 "2017-12-06T17:08:56Z")

</div>

How can i implement different types of brushes types using UIbezierpath in IOS App

---

## [Publishing different builds for iPhone and iPad platform](https://forums.kodeco.com/t/publishing-different-builds-for-iphone-and-ipad-platform/37335)

<div class="topic-metadata">

**Author:** [@isabelgf17](https://forums.kodeco.com/u/isabelgf17)\
**Replies:** 2\
**Last updated:** [December 5, 2017, 10:32pm UTC](https://forums.kodeco.com/t/publishing-different-builds-for-iphone-and-ipad-platform/37335 "2017-12-05T22:32:40Z")

</div>

I just wanted to know whether it was possible to prepare separate builds for the iPhone and the iPad. And if possible, how do we submit this to the App Store? Would really appreciate any thoughts on this. Thank you in a…

---

## [Reutilize project](https://forums.kodeco.com/t/reutilize-project/37250)

<div class="topic-metadata">

**Author:** [@cleversou](https://forums.kodeco.com/u/cleversou)\
**Replies:** 2\
**Last updated:** [December 3, 2017, 8:53pm UTC](https://forums.kodeco.com/t/reutilize-project/37250 "2017-12-03T20:53:20Z")

</div>

Hello guys! I would like to ask you about the best way to reuse a “module / project” in another application … I will have identical functionalities in 4 applications and would like to do a project and reuse it in the oth…

---

## [I'm new learner and](https://forums.kodeco.com/t/im-new-learner-and/37236)

<div class="topic-metadata">

**Author:** [@berkeyagizsevim](https://forums.kodeco.com/u/berkeyagizsevim)\
**Replies:** 1\
**Last updated:** [December 3, 2017, 5:35pm UTC](https://forums.kodeco.com/t/im-new-learner-and/37236 "2017-12-03T17:35:25Z")

</div>

Hello, I just started this course 2 weeks ago and i’m new learner on Swift. I don’t know how can i use this website and which steps do i use. Could you please help me for my serious problem? Thanks.:slight\_smile:

---

## [Help: view is not in the window hierarchy!](https://forums.kodeco.com/t/help-view-is-not-in-the-window-hierarchy/37118)

<div class="topic-metadata">

**Author:** [@alejandrossh](https://forums.kodeco.com/u/alejandrossh)\
**Replies:** 2\
**Last updated:** [December 1, 2017, 10:31pm UTC](https://forums.kodeco.com/t/help-view-is-not-in-the-window-hierarchy/37118 "2017-12-01T22:31:08Z")

</div>

Hi all, I need your help. I have a very simple app with just 3 swift files (AppDelegate, LoginViewController, SecondViewController) and the idea is that as soon as the user open the app he/she is prompted to log in with…

---

## [How to append array data when switching classes (swift4)](https://forums.kodeco.com/t/how-to-append-array-data-when-switching-classes-swift4/36708)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 8:12pm UTC](https://forums.kodeco.com/t/how-to-append-array-data-when-switching-classes-swift4/36708 "2017-12-01T20:12:44Z")

</div>

My code below submits ints to an array the problem is when the user segues to another view controller and then segues back to the original view controller and tries to submit more ints it saves over the original ints tha…

---

## [How to make control as in a ninja jump game](https://forums.kodeco.com/t/how-to-make-control-as-in-a-ninja-jump-game/37194)

<div class="topic-metadata">

**Author:** [@vladimirov](https://forums.kodeco.com/u/vladimirov)\
**Replies:** 0\
**Last updated:** [December 1, 2017, 2:14am UTC](https://forums.kodeco.com/t/how-to-make-control-as-in-a-ninja-jump-game/37194 "2017-12-01T02:14:52Z")

</div>

I want to make control as in a ninja jump - YouTube, that would be by touch the player moved from one wall to another, but I do not know how to implement it, I did not find anything in the internet, I only made that th…

---

## [Trying to print log file on label (swift4)](https://forums.kodeco.com/t/trying-to-print-log-file-on-label-swift4/37192)

<div class="topic-metadata">

**Author:** [@timswift](https://forums.kodeco.com/u/timswift)\
**Replies:** 0\
**Last updated:** [December 1, 2017, 1:48am UTC](https://forums.kodeco.com/t/trying-to-print-log-file-on-label-swift4/37192 "2017-12-01T01:48:53Z")

</div>

My code below is calling coreData to print on a label. If I print on a label it only takes the last entry of coreData unlike what is printed on the log file. for i in user! { print( "color: \\(i.username!) Score: \\(…

---

## [05-Cookbook2 Missing swift files](https://forums.kodeco.com/t/05-cookbook2-missing-swift-files/37154)

<div class="topic-metadata">

**Author:** [@csharpusa](https://forums.kodeco.com/u/csharpusa)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 6:48pm UTC](https://forums.kodeco.com/t/05-cookbook2-missing-swift-files/37154 "2017-11-29T18:48:10Z")

</div>

My downloaded 05-Cookbook2.zip file only contains playground files. Part 05 shows that there are supposed to be Swift files in there also. Does anyone else have this issue?

---

## [iOS 11 UI Kits Freebie & What’s New UI Design Changes in It](https://forums.kodeco.com/t/ios-11-ui-kits-freebie-what-s-new-ui-design-changes-in-it/37143)

<div class="topic-metadata">

**Author:** [@xia](https://forums.kodeco.com/u/xia)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 2:59pm UTC](https://forums.kodeco.com/t/ios-11-ui-kits-freebie-what-s-new-ui-design-changes-in-it/37143 "2017-11-29T14:59:17Z")

</div>

iOS 11 has already launched on Tuesday, September 19, which is exactly one week after the iPhone 8 and iPhone X launch event. It’s come out of beta after a four-month test phase. iOS 11 is undoubtedly a big system update…

---

## [iOS does not wake up application (for bluetooth events), after it is deallocated from memory](https://forums.kodeco.com/t/ios-does-not-wake-up-application-for-bluetooth-events-after-it-is-deallocated-from-memory/37135)

<div class="topic-metadata">

**Author:** [@quanti](https://forums.kodeco.com/u/quanti)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 12:10pm UTC](https://forums.kodeco.com/t/ios-does-not-wake-up-application-for-bluetooth-events-after-it-is-deallocated-from-memory/37135 "2017-11-29T12:10:15Z")

</div>

Currently, I’m testing Bluetooth in peripheral mode on iOS. It manages to work in background, but if user uses other applications and system decides to dealloc bluetooth application, app is not relaunched when it needs t…

---

## [SKSpriteNode Touch on non transparent area](https://forums.kodeco.com/t/skspritenode-touch-on-non-transparent-area/37132)

<div class="topic-metadata">

**Author:** [@josepm](https://forums.kodeco.com/u/josepm)\
**Replies:** 0\
**Last updated:** [November 29, 2017, 10:14am UTC](https://forums.kodeco.com/t/skspritenode-touch-on-non-transparent-area/37132 "2017-11-29T10:14:02Z")

</div>

Hi, I have a problem that don’t found solution, I search and read a lot of post but nothing work. I have some SKSpriteNode with transparent area and I need detect the touch only on the non transparent area. With… if…

---

## [Android & IOS database Firebase](https://forums.kodeco.com/t/android-ios-database-firebase/37094)

<div class="topic-metadata">

**Author:** [@davfisher](https://forums.kodeco.com/u/davfisher)\
**Replies:** 2\
**Last updated:** [November 29, 2017, 7:43am UTC](https://forums.kodeco.com/t/android-ios-database-firebase/37094 "2017-11-29T07:43:50Z")

</div>

Good day friends! I have an IOS project works with Firebase database. How can i connect/ create Android project use the same database?

---

## [Uilabel in uitableview not showing opaque without transparency in debug simulator color blended layers](https://forums.kodeco.com/t/uilabel-in-uitableview-not-showing-opaque-without-transparency-in-debug-simulator-color-blended-layers/37120)

<div class="topic-metadata">

**Author:** [@hopye](https://forums.kodeco.com/u/hopye)\
**Replies:** 1\
**Last updated:** [November 29, 2017, 5:25am UTC](https://forums.kodeco.com/t/uilabel-in-uitableview-not-showing-opaque-without-transparency-in-debug-simulator-color-blended-layers/37120 "2017-11-29T05:25:44Z")

</div>

Hey guys, give it a quick look at this bug. If i set the text of UIabel in a uitableviewcell to any text with an í , it turns the label to have the alpha channel, transparency on , so in the sim and checking the Color B…

---

## [Why won't the selector method of the gesture recognizer execute?](https://forums.kodeco.com/t/why-wont-the-selector-method-of-the-gesture-recognizer-execute/37103)

<div class="topic-metadata">

**Author:** [@brower](https://forums.kodeco.com/u/brower)\
**Replies:** 0\
**Last updated:** [November 28, 2017, 9:16pm UTC](https://forums.kodeco.com/t/why-wont-the-selector-method-of-the-gesture-recognizer-execute/37103 "2017-11-28T21:16:44Z")

</div>

I am not able to get the selector of a tap gesture recognizer to execute. Here is my code of the table view cell that the gesture recognizer exists in: import UIKit class DueDateTableViewCell: UITableViewCell { v…

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

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