Data dodania Pytanie
2017-06-19 02:06 Swift Animate Textfield »
I want to create an animation for my UItextfield. To do this, I created a sub class of UITextField and I stored my code there: import Foundation im...
(1) odpowiedzi
2017-06-18 08:06 display image from camera roll in imageView.image not working Xcode objc »
I have an app that I want to select an image from the photoLibrary using UIImagePicker and then display it in a UIImageView.image. It was working not...
(1) odpowiedzi
2017-06-15 20:06 Swift: Functions called in the wrong order? »
So, I've been working on a Weather App with the following brief Data Model class CurrentWeather { private var _cityName: String! private var ...
(2) odpowiedzi
2017-06-15 14:06 IOS FacebookSDK/FacebookSDK.h not fount cordova app »
Hello I am developing a hybrid app and trying to build in xcode. I have a problem that when i click build it gives FacebookSDK/FacebookSDK.h not ...
(0) odpowiedzi
2017-06-15 08:06 Xcode Unit Tests returns the NSURL of temp folder without 'private keyword' »
I am writing Unit Tests in Objective C. The following is my code: NSString *testTempDirectory = [NSString stringWithFormat:@"%@%@", NSTemporaryDir...
(1) odpowiedzi
2017-06-10 14:06 "This function declaration is not a prototype" warning in Xcode 9 »
When using Xcode 9, there are some compiler warnings saying This function declaration is not a prototype. It suggests to add void to the method body, ...
(1) odpowiedzi
2017-06-09 02:06 Constraints for UIcollectionView »
In ViewController I insert CollectionView using this code: HomeMenuView = UICollectionView(frame: self.view.bounds, collectionViewLayout: UICollectio...
(2) odpowiedzi
2017-06-09 01:06 Is there any risk upgrading to Xcode 9 while working on projects to be released soon? »
I'm currently working on an app that is soon to be released. This would tend to push me to wait before upgrading to Xcode 9 beta just to make sure my ...
(1) odpowiedzi
2017-06-07 04:06 ARKit example Swift »
I downloaded Xcode 9 beta, followed Apples tutorials and realized my phone (iPhone 6) does not have the A9 chip required for the ARWorldTrackingSessio...
(2) odpowiedzi
2017-06-06 14:06 Fail to run project with Xcode 9 , Many new C++ semantic issue »
My project works fine in Xcode 8. When I build It in Xcode 9, there are many C++ semantic issues reported.It seems Xcode 9 C++ complier do much strict...
(1) odpowiedzi
2017-06-06 14:06 How can I deal with @objc inference deprecation with #selector() in Swift 4? »
I'm trying to convert my project's source code from Swift 3 to Swift 4. One warning Xcode is giving me is about my selectors. I add a target to a but...
(2) odpowiedzi
2017-06-05 09:06 How to refer to a cell outside of cellForRowAtIndexPath »
I am trying to update a label in a cell outside of override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&g...
(5) odpowiedzi
2017-06-05 08:06 Not able to perform segue »
hi the session block works fine but when I am trying to move to next Viewcontroller I get thread1:Signal SIGABRT ..Actually I am trying to get request...
(4) odpowiedzi
2017-05-29 19:05 How do I properly hide a container view? »
I have a container view on top of my view controller and when I use this code to try and hide the container view, the container view disappears BUT th...
(1) odpowiedzi
2017-05-29 19:05 Xcode iOS: "Reported test case event for non-suite test object"? »
I've inherited an Obj-C project, and started adding some tests for new code. However, when I try to run the first test I've added, I get a strange er...
(0) odpowiedzi
2017-05-28 16:05 Launch arguments (NSDoubleLocalizedStrings, NSShowNonLocalizedStrings) don't work »
I'm trying to use the launch arguments such as NSDoubleLocalizedStrings and NSShowNonLocalizedStrings to test localization in my Objective-C project. ...
(1) odpowiedzi
2017-05-27 20:05 Draw polyline with mapkit Swift 3 »
I want to draw a polyline from the current user location to an annotation point but it doesn't appear to draw anything: @IBAction func myButtonGo(_ s...
(1) odpowiedzi
2017-05-27 13:05 Strange Clang behaviour in Xcode 8.3 »
Recently i noticed strange behaviour with Objective C memory management in Xcode. Here is the code: #import <Foundation/Foundation.h> int mai...
(1) odpowiedzi
2017-05-24 22:05 Updated modern Swift syntax to modern Swift syntax and project will no longer compile »
I recently was pasting a section of code from StackOverflow to my Swift 3 project, the code was written in Swift 2 so I highlighted the section of cod...
(1) odpowiedzi
2017-05-24 13:05 Change segue identifier name programmatically swift »
How can I change the identifier name of a specific segue programmatically? I found this way but didn't work with me: SWrevealviewcontroller : Switch...
(1) odpowiedzi
2017-05-22 23:05 XCode / New File / Header File --> default implementation »
In XCode 8, when I add a new iOS header file to my project, it comes with this code already in it. #ifndef SomeCoolWidget_h #define SomeCoolWidget_h ...
(2) odpowiedzi
2017-05-19 14:05 Not getting Tan (90) Value as undefined in objective-c »
While running below statement it prints the wrong value in the console. I got stuck as I am a beginner. NSLog(@"tan(90)=%f",tan(90*M_PI/180.0); Ou...
(2) odpowiedzi
2017-05-19 08:05 How to concatenate the "+" operator in a string in swift »
i am making a POST request to the server and my POST string is: let postString = "phone_number=+1234567890&compeleteCode=125435" and in the se...
(1) odpowiedzi
2017-05-18 13:05 Remove status bar color from a single screen if its set in app delegate »
I am setting status bar colour in appdelegate class as below. - (void)transitionToViewController:(UIViewController *)viewController ...
(2) odpowiedzi
2017-05-18 07:05 How To Get Safari History Domain Images Form Cache In Safari v10.1 »
I want to get images from safari which i show in my app. I have to differentiate all cache images domain wise, so before new update of mac os x12.4 an...
(0) odpowiedzi
2017-05-15 13:05 how to encrypt the string using md5 with unique key in swift 2 »
basically i want to encrypt the string using md5 with unique key in swit 2 i encrypt the string in java like this: JAVA Code.... public class MCryp...
(0) odpowiedzi
2017-05-15 11:05 apple mach-o linker error linker command failed with exit code 1 (use -v to see invocation) »
I am working with objective c with core data, i got Error : Apple mach-o linker Error, Linker command failed with exit code 1 (use -v to see invocatio...
(2) odpowiedzi
2017-05-15 09:05 applicationDidReceiveRemoteNotification not called on iPhone 7 on background »
I want to set a local notification when a remote notification is received and app is in background. This works fine when I have my iPhone 7 device con...
(0) odpowiedzi
2017-05-14 10:05 How to use RxSwift for Objective-C and Swift project? »
A project was created in Objective-C language and later I used Swift in it. In my pod-file I have couple of Objective-C pods. I tried using RxSwift po...
(1) odpowiedzi
2017-05-12 20:05 Bad instruction error when calling child from firebase in swift 2 »
We are trying to access a child in database, however we are using a string from a previous view brought in by a segue. It keeps giving the error of ba...
(1) odpowiedzi
2017-05-11 22:05 How to see selected method's full name on Xcode completion popup »
I'm trying to implement a delegate method in Xcode, and I see many methods looking very similar as their names/signatures are truncated: For exampl...
(0) odpowiedzi
2017-05-06 09:05 Making table view section expand swift »
I am following this tutorial for expanding and collapsing my table view section. As this demo is done in swift 2.2 I have made all the changes accordi...
(2) odpowiedzi
2017-05-05 12:05 QuickBlox - Dialog have to be in memory cache in Objective c »
i have create an application for chatting. i have use QuickBlox to chat with each other. i have register two user and chat with each other it will ...
(0) odpowiedzi
2017-05-05 04:05 Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3 »
I can't get rid of this error! I have tried all sorts of things like clearing Derived Data, updating carthage and dependencies, checked other answe...
(2) odpowiedzi
2017-05-02 19:05 Calling Data From Firebase Into UIPicker »
Can anyone help me out with a place to start when calling data from firebase into a UIPicker? The data has already been placed into the firebase conso...
(0) odpowiedzi