Data dodania Pytanie
2017-10-12 10:10 Xcode 9 - Fix all in Scope greyed out »
With Xcode 8 the errors could be fixed using the "Fix all in Scope", but in the latest Xcode 9 that option is always greyed out. Do you have an idea i...
(0) odpowiedzi
2017-10-06 11:10 swift version 2.3 is not working with any Xcode? »
When I open project, it is showing conversion of swift if I do conversion then it is showing errors in available framework in pod. If I do "pod updat...
(0) odpowiedzi
2017-10-04 08:10 Swift Initializer Mystery »
Few blocks of code: This works: import Foundation class Class1 { init(param1: String?) { print("hello") } convenience init() {...
(1) odpowiedzi
2017-10-03 23:10 How to #import inside a #define »
I'm working on an Objective-C wrapper around a C++ library, whose source I neither control nor modify. The headers I import trigger various compiler w...
(1) odpowiedzi
2017-10-01 16:10 Swift: how to maximize warnings in Xcode? What is the equivalent for -Wall in swiftc? »
I have a number of Swift-only framework targets within a big iOS app project. I would like to explore the strictness of Swift compiler options to unde...
(1) odpowiedzi
2017-09-30 17:09 Xcode 9 Autocomplete Not Working 100% - Partially Working »
This morning, Xcode 9.0 (9A235) shows a new/strange Auto Complete box that is not at all what it used to be. How do I get the full auto-complete box ...
(3) odpowiedzi
2017-09-29 16:09 Xcode 9 Navigation bar issue after navigating from Left Side Menu on iOS 11 not on iOS 10.3 and below »
After updating from Xcode 8 to Xcode 9 I've noticed this very strange behaviour in the navigation bar only on devices running iOS 11. This bug appear...
(1) odpowiedzi
2017-09-29 16:09 Swift | Dismiss ViewController and Push other ViewController »
Solved it: I forgot to declare tvx.selectionDelegate = self in VC1, thats why it never executed I'v searched very long and fund two similar answers t...
(4) odpowiedzi
2017-09-29 12:09 XCode iOS Cocoa framework is failing to link C static library »
I'm trying to link multiple C static library (libssl and testClib) to an iOS framework (dynamic lib) project to use them inside the framework's code (...
(0) odpowiedzi
2017-09-27 22:09 Why is nil preprocessed to ((void *)0) in Objective-C? »
Using Xcode 8.3.2, if I use nil in an Objective-C file and choose Product > Perform Action > Preprocess "MySourceFile.m", nil turns into ((void *)0). ...
(2) odpowiedzi
2017-09-27 20:09 Swift | DynamicTableView - Trigger Action with ImageView »
I have a DynamicTableView and every Cell has an ImageView. How do I make an Action with knowing the indexPath.row? The only way I know is to make a T...
(4) odpowiedzi
2017-09-26 18:09 How does this code find the memory aligned size of a Struct in swift? Why does it need binary operations? »
I am going through the Metal iOS Swift example trying to understand the triple buffering practice they suggest. This is shown inside of the demo for t...
(1) odpowiedzi
2017-09-26 12:09 ImageContext returns image distorted »
I'm trying to make corners of the image round but the image from ImageContext is distorted. This is the steps I am taking: - (UIImage *)decodeBase6...
(3) odpowiedzi
2017-09-25 13:09 iOS11 photo library access is possible even if settings are set to "never" »
if UIImagePickerController.isSourceTypeAvailable(.photoLibrary) { let imagePicker = UIImagePickerController() imagePicker.sourceType = .photoL...
(0) odpowiedzi
2017-09-25 12:09 iOS: Dynamic Framework based on static library dependency »
I am working on creating a Dynamic Framework (Cocoa Touch Framework) that has to use a VideoKit lib as a core. Library is a .a file with a number of h...
(0) odpowiedzi
2017-09-25 06:09 How do I display this Log message in the Debug area using Xcode9? »
This looked promising but doesn't seem like a duplicate question as it addresses issues in Swift. I am finalising an existing Objective C project ...
(3) odpowiedzi
2017-09-23 15:09 Since the last Xcode update I can't work with images »
This is the basic code I use to add an image named "Background.png" to an UIImageView: UIImageView *imageView = [[UIImageView alloc] init]; imageVie...
(2) odpowiedzi
2017-09-22 12:09 Xcode 9 [UIView initWithFrame:] must be used from main thread only »
I'm trying to render some views in a separate thread to not affect the main thread. That was never a problem before Xcode 9. Now my unit tests crash h...
(1) odpowiedzi
2017-09-21 15:09 IOS 11 GoogleMaps crash on device (iphone 5s) »
Xcode 8.3.2 iphone 5s ios 11 GoogleMaps 2.4 I getting error and crash in viewContoller @IBOutlet weak var mapView: GMSMapView! override func viewDi...
(2) odpowiedzi
2017-09-20 18:09 Move object while holding button in Swift »
I have a little Space Invaders game and I added two buttons leftButton and rightButton and I want the ship to move as long as one of the buttons is to...
(2) odpowiedzi
2017-09-19 16:09 UITableView custom swipe buttons with TwitterKit »
I would like to implement custom swipe left/swipe right buttons on my UITableView which includes multiple TWTRTweetTableViewCells from TwitterKit as w...
(0) odpowiedzi
2017-09-19 08:09 Xcode 9 - failed to emit precompiled header »
I have a project in Objective-C as well as in swift by taking MyProjectName-Bridging-Header.h and i also configured the Objective-C Bridging Header. ...
(2) odpowiedzi
2017-09-18 14:09 Main Thread Checker: UI API called on a background thread iOS 11 Xcode 9 GM Seed »
Can anyone please help me in debugging this issue, from the time i started working with Xcode 9 GM seed with iOS 11 GM seed, my code throwing me a war...
(1) odpowiedzi
2017-09-16 12:09 iPhone 5/SE show white statusbar, iPhone 6/7 show black statusbar »
I was using [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; before, which was working fine, but is deprecated in i...
(3) odpowiedzi
2017-09-14 09:09 How to create custom coding rules in xcode for objective C and swift? »
How to create custom coding rules in xcode for objective C and swift ? like code should maintain expected coding standards if it doesn't match coding ...
(0) odpowiedzi
2017-09-13 17:09 Apple Mach-O Linker (ld) Error Group with Swift 3 & Xcode 9 GM »
This was running fine till GM Xcode (and iOS 11). Now I get these errors: Apple Mach-O Linker (ld) Error Group "__T0So20AVCapturePhotoOutputC12AVF...
(3) odpowiedzi
2017-09-13 12:09 Not able to delete youtube video in ios app »
I am trying to delete youtube video from ios app.I am using YouTube-Player-iOS-Helper for youtube API in my app. I am able to get list of videos and ...
(0) odpowiedzi
2017-09-13 12:09 Xcode 9 GM undefined symbols for architecture arm64 »
In Xcode 9's GM release, I am getting some compile-time errors for undefined symbols for architecture arm64, namely for AVFoundation with: AVCapture...
(1) odpowiedzi
2017-09-09 08:09 How to create SDK for iOS in Swift? »
I have my own Xcode project which contains some controllers. I want to make its SDK, for use it in another application. In parent application it works...
(1) odpowiedzi
2017-09-08 19:09 Swift test unable to find Swift class property on Objective-C VC »
I may be in compiler hell right here. I'm implementing a Snapshot test in Swift, calling a property on an Objective-C VC, but that property is a clas...
(3) odpowiedzi
2017-09-07 09:09 How do i get rid of IOS version "is partial: introduced in IOS X" warnings in Xcode »
So, i have some places where things are only available after a certain version. One example is some new NFC stuff i've introduced in my app: @propert...
(0) odpowiedzi
2017-09-07 07:09 Finding frameworks being linked to a project in Xcode »
I saw this question: How can I programatically get the list of frameworks and libraries included in an ios project? here, which tries to answer simila...
(1) odpowiedzi
2017-09-06 18:09 iOS Game Crash - [MC] System group container for systemgroup.com.apple.configurationprofiles »
I get the following error in Xcode console: 2017-09-06 19:30:18.716705+0300 App Name [872:246266] [RevMob] Starting RevMobAds 2017-09-06 19:30:18.73...
(0) odpowiedzi
2017-09-05 08:09 How to achieve on UITextField, Placeholder text will be gone only for entering characters? »
Can you please help me. In UITextField when we provide a placeholder text. It's placeholder string will gone when we enter any character. How can I a...
(5) odpowiedzi
2017-09-03 23:09 Breaking out of a UINavigationController »
I have a storyboard designated to logging into my app. I have this embedded in a UINavigationController. After logging into my app (and transitioning ...
(3) odpowiedzi