Data dodania Pytanie
2017-09-19 15:09 How to use/test NSProgress userInfo changes of a child NSProgress instance »
I'm implementing NSProgress support in a library, and I wrote some unit tests to test that everything's working correctly. While ideally I'd like to b...
(2) 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 15:09 Plugin Framework in Office for Outlook on Mac »
In windows, ms-office has the functionality of Installed Addins, wherein people can extend functionality of office. is there any such framwork for add...
(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-18 08:09 Misunderstanding about NSHashTable »
So, apple's documentation for [NSHashTable weakObjectsHashTable] states: Returns a new hash table for storing weak references to its contents. ...
(1) odpowiedzi
2017-09-17 23:09 Subclass object not showing parent class variable in swift »
I am facing this weird problem and not sure why. I have a class View which has a delegate variable of a protocol: class View: UIView { weak var d...
(1) odpowiedzi
2017-09-17 13:09 Cocoa app, how to show the badge label when app isn't running? »
I've noticed the Spark mail app manages to show a badge count even when the app isn't running. The app is a mac app store app so it must not be using ...
(1) odpowiedzi
2017-09-17 04:09 UIColor getHue:saturation:brightness:alpha: returns NO »
I am using the following function to "change" the saturation, brightness and alpha of a UIColor: //UIColor *color = [self color:[UIColor redColor] sa...
(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-16 06:09 Get textfield value on Button Click in tableview »
I am developing IOS Application.to get textfield value on button click in TableViewCell. i can get index of button and pass to TableViewCell and than ...
(2) odpowiedzi
2017-09-16 02:09 Delphi: ARC and Objective-C wrapped objects - how to release? »
In Delphi/FMX there is no ARC for the Objective-C objects represented by the import wrapper classes and interfaces. When dealing with Objective-C ...
(1) odpowiedzi
2017-09-15 18:09 NS_OPTIONS has a flaw? »
In the objective-c variant of C, NS_OPTIONS exists to help validate bit masks. But it seems to have an inherent flaw. If I need to define a value repr...
(1) odpowiedzi
2017-09-15 18:09 Objective-c remove table view when no data present to show »
Currently in my app, when there is no data to show in my table view it shows a very tall white space and I would like that gone. I need a way to pro...
(2) odpowiedzi
2017-09-15 16:09 EXC_BAD_ACCESS on UIAlertController code = 1 »
I have a view controller from where I am launching an UIAlertController on click of a Button. Below is my code: - (IBAction)playOnlineURL:(UIButton *...
(0) odpowiedzi
2017-09-14 19:09 How to call an objective-c function which accepts Dictionary of blocks as argument from Swift? »
I have a function in my objective c file (lets say class MyBlockExecutor): + (void) runBlockFromDictionary: (NSDictionary*) blocksDict andKey: (NSStr...
(2) odpowiedzi
2017-09-14 09:09 Retain cycle with strong reference to dispatch_queue »
In a class, I've declared a thread like: @property (nonatomic, strong) dispatch_queue_t databaseQueue; and then I perform an operation this thread ...
(3) odpowiedzi
2017-09-14 00:09 Sharing Image on Twitter via UIActivityController is not working »
We are developing a feature in our app in which we are trying to tweet an Image. When the app is installed, in the preview of the tweet, the image is ...
(0) odpowiedzi
2017-09-13 16:09 Integrating .net Library into Objective C iOS App »
This is the Github library : https://github.com/mono/Embeddinator-4000 which i am currently using for implementing few C# developed API in Objective...
(0) 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 10:09 Detect if the device is iPhone X »
My iOS app uses a custom height for the UINavigationBar which leads to some problems on the new iPhone X. Does someone already know how to reliable ...
(9) odpowiedzi
2017-09-12 15:09 Objective C pointer to pointer - how to distinguish passing nil vs not initialized variable set to nil »
I have a method which accepts pointer to pointer param: +(void)someMethod:(NSString*_Nullable*_Nullable)parsed; Now, if i call this method and pass...
(1) odpowiedzi
2017-09-12 12:09 "NSString stringWithFormat:" with "%zd" curious behavior in 32bit devices »
Why we cannot format string using "%zd" as expected in 32bit devices(iPhone5, iPhone4s or their simulators)? int64_t test1 = 13244212; int64_t test2 ...
(1) odpowiedzi
2017-09-12 02:09 Variables in header file, memory management »
In iOS, if I put some const variables in a header file then use them in different source files by including this header file, what's the lifecycle of ...
(1) odpowiedzi
2017-09-11 20:09 How to change color of CNContactPickerViewController searchBar »
I start a CNContactPickerViewController from a viewcontroller, but how can I change the textcolor of the searchbar inside it. The navigationbar is dar...
(0) odpowiedzi
2017-09-11 18:09 CoreData: How to properly set created entity attributes »
I have a Core Data Entity, let's call it "Record", and I have several attributes that I need to set with data from other objects/entities (as well as ...
(1) odpowiedzi
2017-09-11 11:09 Get NSTextFieldCell value using AppleScript »
I am trying to automate a few tasks where I need to get the text displayed on a dialog box (the 6 digit code). Accessibility Inspector revealed the...
(2) odpowiedzi
2017-09-10 22:09 CGContextDrawLayerInRect from CGBitmapContextCreate failing iPhone 7 Plus »
I've got an Objective C project which at one point takes a photo from either your photo library or from the camera, and then chops them up into little...
(2) odpowiedzi
2017-09-10 17:09 how to open file.xlsx in UIWebView IOS using objective-c »
I have file.xlsx in my IOS app documents folder. I want to show open this excel file in UIWebview. but i am getting below error, Error Domain=WebKi...
(2) odpowiedzi
2017-09-10 04:09 Translate recursive JS function into Obj-C »
A friend of mine helped me work through a computation problem where I am trying to create a series based on some conditions. He used JS with recursion...
(2) odpowiedzi
2017-09-09 20:09 Cocos2d project use WebRTC »
I develop a game application used cocos2d lib on iOS platform. Now I want to add WebRTC to my project. let player can have a video chat with other pla...
(0) odpowiedzi
2017-09-09 14:09 "message sent to deallocated instance" error with AFNetworking »
So when using "AFNetworking" in my project, i tried the very basic examples just to make sure it's working but i keep getting the following error: [N...
(1) odpowiedzi
2017-09-09 10:09 Is it possible to install both objective c and swift library with Cocoapods in same project? »
i want to use both charts (danielgindi/Charts) written in Swift and Material Components Material Components written in Objc in my objective C project....
(1) odpowiedzi
2017-09-08 21:09 Is it safe to pass an argument to a selector that doesn't accept any? »
I'm starting to learn Objective-C, and wondering what happens if you pass in an object to a dynamic call to a method, where the method doesn't accept ...
(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-08 06:09 How to pass data between view controller in objective-c? »
The select item is a slider. When I click the slider It will pass the data to Second VC (WebViewController). but how to pass data from first view cont...
(2) odpowiedzi