Xcode switch storyboard after Facebook login?

I'm new to Xcode trying to work stuff out. I've followed a tutorial about how to do Facebook login, works fine, but I'm having trouble switching between storyboards/segues after Facebook has logged in. I've tried various things. Any ideas about wh...
more »

2017-04-19 23:04 (0) Answers

OpenCV read files in Swift IOS project

I am trying to read "classifications.xml" and "images.xml" from a tutorial which was working fine in a VisualStudio project. How do I point the C++ library in my Swift XCode project to the files now? Drag and dropping them into the project did not wo...
more »

2017-04-19 21:04 (1) Answers

PromiseKit with optional promises

I am currently investigating if I should integrate PromiseKit in an existing project. My main issue is that I need to implement a business logic that can call up to 5 web-services. Some of them are called depending on the result of previous ones. M...
more »

2017-04-19 16:04 (1) Answers

Combining tab bar controllers and nav controllers

I'm just learning how tab bar controllers and nav controllers work together. I have the following storyboard but I've also experimented with nav controllers too but can't seem to make things work how I want: I have added a segue between the table ...
more »

2017-04-19 11:04 (1) Answers

AVPlayer With multiple HTTP live streaming?

Hi developers and experts need your good suggestions and help. I am working an application and new to live streaming in iOS. I am using AVPlayer for live streaming, its working fine with the code. When i click the play button in my app. - (IBActio...
more »

2017-04-19 10:04 (0) Answers

Xcode scene editor bug - applyImpulse bug?

I'm working on a new tvOS game using the scene editor in Xcode. Is there any reason why applyImpulse is more powerful when further away from the scenes anchor point? For example I can drive the car to the right of below scene and it spins faster th...
more »

2017-04-19 10:04 (0) Answers

Xcode 8 Dependency Analysis Warning

I'm trying to remove these warnings that show up in xcode(8.3): warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'. ...
more »

2017-04-19 08:04 (1) Answers

FBSDK empty login view

Since upgraded to the newest Xcode, I ran into some issues with FBSDK while trying to login via FBSDKLoginManager. The login window in Safari pops up but it stays white (empty view), without either navigation items or content. Console returns the fo...
more »

2017-04-18 22:04 (0) Answers

Dynamic views inside UIStackView

What I would like to achieve, is have two container views that will have two labels inside them. This labels are set dynamically and represent either percent or dollar amount. I also have an image view in between them. What I would like to achieve is...
more »

2017-04-18 21:04 (2) Answers

Implementing search to map view controller

In my project i have a mapView with a lot of annotations & i would like to add a search functionality to the map so i can search those annotations and quickly find the annotation i want. I followed a tutorial i found on the web but it searches g...
more »

2017-04-18 19:04 (1) Answers

Build Failed While creating package .pkg file

I am creating a .pkg file using “Packages” application. Previously I would able to create .pkg file with certificate also but now this give me Build Failed error. while If I remove certificate than I can Build .pkg. Even I am not able to get an...
more »

2017-04-18 12:04 (2) Answers

Replace string regardless of the value

How can I replace this string with another one regardless of whether the value is 2 or 4 or 5 <font size=\"2\" I have it now : replacingOccurrences(of: "font size=\"2\"", with: "font size=\"4\"") But a 2 by default does not always arrive. ...
more »

2017-04-18 10:04 (1) Answers

Unable to track memory issue

I am having problem on memory leak tracking, i did try profiling but the instrument shows firapb_decode_repeated_user_attribute as as responsible object. And while i try to track code it takes me to assembly code which is more painful. Do anybody ha...
more »

2017-04-18 07:04 (2) Answers

reloadData is stacking ontop of old data

I understand that I need to change the data in the data source before calling reloadData. My problem is that I'm not sure how this is done and why my getData method doesn't overwrite the current cells. Is it necessary to use subviews for this? Or is ...
more »

2017-04-18 06:04 (2) Answers

view swift interface for Objc file

I am working in a mixed ObjC Swift project. I am currently overriding functions that where written in ObjC in a swift subclass. I'm wondering if there is a quick way to view the auto generated Swift header files for the objC file so that I can check ...
more »

2017-04-18 05:04 (1) Answers

Xcode compiler errors when using ##__VA_ARGS__

Here is my customized NSLog. #define NSLog(fmt, ...) printf("🌳🌳🌳%s,%d\n %s\n\n", __PRETTY_FUNCTION__, __LINE__, [NSString stringWithFormat:fmt, ##__VA_ARGS__].UTF8String) This log is work good on another project, but it occurred 4 error w...
more »

2017-04-18 05:04 (1) Answers

NSOpenPanel Hiding Xcode Debug

I am working on an app that uses NSOpenPanel. The problem is that during debugging with Xcode the panel does not fully hide itself. A white rectangle is left being displayed over everything else. I have tried using a completion handler to resolve thi...
more »

2017-04-17 23:04 (0) Answers