Data dodania Pytanie
2017-10-01 08:10 How to improve this objective-c code (blocks, RestKit, async, threads) »
I'm maintaining an old game code (>5 yrs old) and switched developers hands a few times. Game doesn't has a dedicated player base (an early casino gam...
(1) odpowiedzi
2017-09-30 17:09 Little-Endian Byte Order (iOS, BLE scan response) »
In basic terms, I am using nativescript for a cross platform application. This application interacts with BLE devices. The BLE devices send a scan res...
(2) odpowiedzi
2017-09-30 05:09 Unable to scale shapes to match the dimensions of UIView »
I have created a custom view that draws shapes of varying sides. The view is added to main view as a subview as given below. The shapes are of differe...
(1) odpowiedzi
2017-09-30 01:09 Remove object before call `deleteRowsAtIndexPaths:withRowAnimation` still generates: Invalid update: invalid number of rows in section 0 »
I understand that this error has been posted about on SO many times before. The problem is that the user neglects to to remove the object from their...
(1) 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 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-29 10:09 App review feature not working in ios 11 »
I've a feature in my iOS application for rating/review application as it redirect user to the app store to to rate my app. now this feature was perfec...
(2) odpowiedzi
2017-09-28 23:09 UIImage imageNamed not returning image object in iOS 11 »
The following code returns an image object from path and works previous to iOS 11: NSString *path = [anotherPath stringByAppendingPathComponent:file]...
(2) odpowiedzi
2017-09-28 19:09 How get the time when i call NSLog in format string and further to use this time? »
How get the time when i call NSLog in format string and further to use this time? I need time to microseconds? 2017-09-28 20:19:39.383263+0300 NIR[56...
(1) odpowiedzi
2017-09-28 19:09 In iOS 11 , UIViewController's transitionFromViewController never calls its completion block »
Starting in iOS 11, UIViewController's transitionFromViewController:toViewController:duration:options:animations:completion: method appears to not cal...
(1) 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 11:09 ARC doesn't work in Objective-C++ »
I've got a c++ function that gets a std::map object and convert it to CFMutableDisctionryRef in order to use it on method CFNotificationCenterPostNoti...
(2) odpowiedzi
2017-09-27 07:09 Why I am getting Lazy loading NSBundle MobileCoreServices.framework? »
When i redirect from main viewController to another viewController i'm getting this Error: Lazy loading NSBundle MobileCoreServices.framework, ...
(2) odpowiedzi
2017-09-26 21:09 incorporating a line of objC in C++ header »
I am using the Syphon framework to serve video frames to a client. There is one line of code I need to use to serve the frames through the server, and...
(1) odpowiedzi
2017-09-26 14:09 AVCaptureDevice doesnt find any device »
This line of code is the problem I got today (macOS app): NSArray *devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]; After I updat...
(0) 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 17:09 UINavigationController method setToolbarHidden bug in Xcode 9: infinite calculation of auto-layout constraints leads to OOM »
I have an instance of UINavigationController nested in UITabBarController. I use the navigation controller to reach some view controller (tab bar stil...
(3) 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-24 11:09 Firebase pods installation error other pods installation »
I am really stuck at this step of Firebase Installation to my iOS app. I installed some other pods but it worked perfectly. But after Firebase install...
(1) odpowiedzi
2017-09-24 11:09 Add pointer to defined Objective-C class in .h file of Objective-C++ »
Is possible to create class in Objective-C++ which has field that is a pointer to an Objective-C interface ( inside the .h file ) ? To clarify a litt...
(1) odpowiedzi
2017-09-24 11:09 Negating Objective-C's @available keyword »
I would like to run a piece of code only if the iOS version of the current device is below a specific version, as specified here. The code examples gi...
(0) odpowiedzi
2017-09-23 16:09 declaring variable in implementation (.m) file »
If my implementation file looks like below int someIntVariable; @implementation SomeClass - (void) foo { someIntVariable = 0; } @end What is...
(1) 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-23 03:09 How can I safely go between ARC and MRC methods without unnecessary retain/release calls? »
I have an ARC class with the following code: [object doStuffWithObject:otherObject]; object's -doStuffWithObject: method is compiled with ARC, and ...
(3) odpowiedzi
2017-09-22 23:09 dyld: Library not loaded: @rpath/libswiftCore.dylib on XCode 9 only »
I recently upgraded to XCode 9 from 8.3.3. Our project is written in Objective-C as are all the other frameworks we use. I have added a framework whi...
(1) odpowiedzi
2017-09-22 22:09 iOS 11 large-title navigation bar not collapsing »
The Apple guy in the What's new in Cocoa Touch WWDC video said that the new large-title navigation bar will magically hook into the top-level scroll v...
(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 16:09 How to test if Json response includes error or proper json »
Explanation: Throughout app, we use a web request method located in AppDelegate.m to fetch data from server. I use a token in all these requests. Some...
(1) odpowiedzi
2017-09-21 09:09 Bundle display name missing space characters »
When I give Bundle display name with space as "A B C D", I get the app name as "ABCD". This happens only on the iOS 11.I tried override name"CFBundleD...
(1) odpowiedzi
2017-09-21 03:09 Xcode9 Debug View Hierarchy BUG »
when I update to xcode9, and i click Debug View Hierarchy, show "Unable to capture view hierarchy " log message how should I do ? ...
(0) odpowiedzi
2017-09-20 15:09 dyld: dyld_sim not compatible mach-o »
I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this erro...
(2) odpowiedzi
2017-09-20 09:09 How to hide TabBar in RootView ChildViewControllers »
I am troubling in hide UITabBarController inside the TabBar item ChildViewControllers For Ex. Suppose We have two tab bar item in my home screen and ...
(2) odpowiedzi
2017-09-20 04:09 CoreData: annotation: Failed to load optimized model at path with Xcode 9 GM »
Failed to load OMO warning (potential crash): Project with xcode 9 following warning is observed in the console during debug/release builds (iOS 11 G...
(1) 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