Data dodania Pytanie
2017-04-17 09:04 How can we hide the Sensitive Data in xCode iOS »
I am new to iOS Development and have no much idea about secure iOS coding and my requirement is to hide API & Secrete Key in my xCode project. Is ...
(1) odpowiedzi
2017-04-16 19:04 Where should I instantiate a location manager if my app uses it throughout its various view controllers? »
I have an app that uses the user's location throughout its various view conrollers, and I've learned that in order to get that location you need to cr...
(1) odpowiedzi
2017-04-15 15:04 I am learning Swift, and I am creating a simple dice roll app, I can't seem to find what's wrong with the code »
The gist of the app is simple, you press the little dice image, it runs a function that returns a random number from 1-6, the boxes on the screen refl...
(1) odpowiedzi
2017-04-15 08:04 xib files in Xcode 8.2 is not working properly.Is it a bug? »
I am really frustrated since i migrated my project from Xcode 7.3 to Xcode 8.2. I am using both storyboard and Xib files in my project . While running...
(2) odpowiedzi
2017-04-14 15:04 Firebase configuration fails - Swift »
In my application I'm successfully using Firebase and in AppDelegate I do the setup: // ### Initialize Firebase FIRApp.configure() Now I do some un...
(3) odpowiedzi
2017-04-11 19:04 Can a single .swift file in Xcode contain entire source code of an iOS app? »
In other words, can Swift code in Xcode behave like it does in a Playground file? ...
(3) odpowiedzi
2017-04-11 10:04 Wrapping static library in Cocoa Touch Framework »
I have a fat static library with 2 architecture slices (armv7, arm64). I'm trying to make it work with swift and wrap it into Cocoa Touch Framework. ...
(1) odpowiedzi
2017-04-08 12:04 Does my Mac App need to apply Server Entitlement Key? »
My mac app has a built-in AirPlay function for streaming video file from my app to Apple TV, so do I need a Server Access entitlement key ("com.apple....
(1) odpowiedzi
2017-04-05 17:04 LLVM compiler - Is this an optimization bug? »
I have an interesting problem related to the optimization level of LLVM compiler. I'm using: Xcode 8.2.1 LLVM 8.0 It is better to explain it with ...
(2) odpowiedzi
2017-04-05 11:04 libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console »
I am getting Following messages on Xcode Console View libMobileGestalt MobileGestaltSupport.m:153: pid 231 (myproject) does not have sandbox access ...
(1) odpowiedzi
2017-04-05 11:04 “Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift »
I just did the last XCode update (8.3), and I have the message : “Swift Language Version” (SWIFT_VERSION) is required to be configured correctly...
(3) odpowiedzi
2017-04-04 11:04 Xcode - 7.3.1 Error : Invalid bitcode version (Producer: '800.0.42.1_0' Reader: '703.0.31_0') »
I can not find out the error although several efforts have been applied. My pod file is given below. source 'https://github.com/CocoaPods/Specs.git' ...
(0) odpowiedzi
2017-04-03 08:04 iOS : Create a simple audio waveform animation »
I am trying to record audio with AVAudioRecorder. I need to create a simple waveform like this : When the user speaks into the microphone a circle ...
(1) odpowiedzi
2017-04-03 07:04 Converting Position of SKEmitterNode »
I am trying to convert the SKEmitterNode position to the view, but I don't know how. I've tried using the code to convert SKSpriteNode from Apple, but...
(0) odpowiedzi
2017-04-03 00:04 Can't programmatically trigger segue in SpriteKit, using Xcode 8 and Swift 3 »
I'm making a game in Xcode 8 using SpriteKit and have been having a very difficult time programmatically triggering a segue. I have gone into "Main.s...
(1) odpowiedzi
2017-04-02 22:04 Combinating Swift & Objective C files »
I have a bit complicated classes in swift and Objective-C combinated together: Keypad.h: #import "MyApp-Swift.h" @interface Keypad : UIViewControl...
(1) odpowiedzi
2017-03-29 13:03 Swift hash a string using hash_hmac with ripemd160 »
I'm trying to hash a String in Swift 3 (and/or objective C) using ripemd160 to emulate the output of the following php: $string = 'string'; $key = 't...
(2) odpowiedzi
2017-03-28 17:03 `@discardableResult override init()` in Swift 3.1 throwing `warn_unused_result` Objective-C warning »
I have a Swift class that is bridged to Objective-C. Even with @discardableResult, it's throwing this warning on build in the Objective-C class: I...
(0) odpowiedzi
2017-03-28 15:03 NSStrikethroughStyleAttributeName , How to strike out the string in iOS 10.3? »
I have used this line of code before release of iOS 10.3 ,and worked fine. NSMutableAttributedString *attributeString = [[NSMutableAttributedString a...
(2) odpowiedzi
2017-03-25 17:03 Connect to local mac server from device »
Im trying to connect to a ruby sinatra server that im running locally on my mac from an app using the following code: func load(finished: @escaping (...
(1) odpowiedzi
2017-03-24 07:03 How to sort integer values of NSMutableArray [Objective C]? »
I wanted to sort the integer values of my NSMutableArray. I don't know to to do it. Any help please ...
(1) odpowiedzi
2017-03-22 16:03 Incorporating music in Swift »
New coder here. I was looking to make a rhythm game on Swift 2.0 and have buttons to press on the beat of a song, but I'm not sure how to start, or if...
(0) odpowiedzi
2017-03-21 21:03 Xcode app keyboard looks stretched »
I have an iOS app, built in Xcode using Objective-C, released and on the app store. I have noticed that the keyboard in my app seems to be quite a bi...
(1) odpowiedzi
2017-03-20 10:03 Swift 3 - Is there a way to use iOS Speech Recognition in Offline Mode »
Just to know if there a way to use iOS Speech Recognition in Offline mode. According to the documentation (https://developer.apple.com/reference/speec...
(1) odpowiedzi
2017-03-20 09:03 How to place any view below any other view which is getting it's position from code »
I've created 4 subviews of white color & a yellow one as you can see in reference image I've shared below. And I've programmatically changed t...
(1) odpowiedzi
2017-03-19 23:03 How to create an Empty Application without LaunchScreen in Xcode 8 »
Following the accepted answer to How to create an Empty Application in Xcode 6 without Storyboard I managed to have an empty application working in Xc...
(1) odpowiedzi
2017-03-18 15:03 Import external nodes in SpriteKit using Swift »
I'm working on a Breakout type game. I created the paddle in a different scene (PaddleScene.sks) so I could reference it across multiple levels. Not s...
(2) odpowiedzi
2017-03-16 20:03 Type 'NSMenuItem' has no 'separatorItem'? »
What is the workaround this error in Xcode? I believe it is in Swift 2 but the syntax has changed with Swift 3 ...
(0) odpowiedzi
2017-03-14 13:03 How to create an expandable text field/label in swift? »
I need to figure out how to program something like this: The text expands as the user clicks the down button and fold back to the short version afte...
(3) odpowiedzi
2017-03-11 09:03 Cannot convert the value of type '[String]' to expected argument type 'String' : while appending arrays to get data from Fireabse in table view cell »
Getting error while appending arrays in snapshot. I want to retrieve all values from these arrays EngNames , UrNames and cakeImages in the snapshot so...
(1) odpowiedzi
2017-03-10 06:03 Xcode Analyzer issue on memory leak and incorrect decrement with ARC »
I am Using ARC in my project but still when i ran Analyser i got following issues. And Following is my code :- #import "UIImage+ImageSize.h" ...
(1) odpowiedzi
2017-03-08 12:03 How can I fix this error about the shell script invocation Error in Xcode 8? »
I'm using swift2.2 to develop this app, I want to update this code of app to swift3 and I get this error. Also, I can not fix this error, I have no ...
(1) odpowiedzi
2017-03-07 11:03 Retrieve all child value to a label in table view cell »
I want to retrieve all the child values of "Cake" to cake Rate Label. I am trying to retrieve but i can not arrange properly code and also i am entry ...
(3) odpowiedzi
2017-03-06 18:03 Why is Xcode telling me to add .map { $0.rawValue } when I can just do ?.rawValue? »
I have this code: enum Enum: String { case A = "A" } let s: String? = Enum(rawValue: "A") Of course, it does not compile. Normally, I fix it t...
(2) odpowiedzi
2017-03-06 15:03 Detect last cell on each section in tableView »
i need your help to find best solution to solve my problem. I have dynamic data(JSON parse) with TableView. My tableView consist of some sections(also...
(1) odpowiedzi