Data dodania Pytanie
2017-04-21 16:04 NSBlockOperation is not waiting on dependency before executing »
I am learning NSOperations & NSOperationQueue. I have a set of NSBlockOperation: "UPLOAD" & "DELETE". Delete MUST wait for Upload to finish ...
(1) odpowiedzi
2017-04-21 13:04 Protocol/Delegate is not working »
I have three UIViewcontroller, namely ViewController, BViewController and CViewController, ViewController is RootViewController from UINavigationContr...
(4) odpowiedzi
2017-04-21 13:04 Designated initializer warnings when calling another init from initWithCoder: »
I am working on an inherited codebase and trying to resolve the following warnings: Designated initializer should only invoke a designated initial...
(1) odpowiedzi
2017-04-20 20:04 Swift: Alternatives to super class methods to generate objects »
I have the following Objective-C code I'm trying to convert to swift: -(id)initWithBook:(NSString*)bookTitle author:(NSString*)author description:(NS...
(2) odpowiedzi
2017-04-20 15:04 Not Receiving Push Notification in IOS 10.3.1 and Receiving twice in ios 9 »
I am using Version 8.2.1. The Issue is I am not getting notifications in IOS 10.3.1 but I am getting notifications in IOS 9(but twice). Here is my ...
(0) odpowiedzi
2017-04-20 06:04 Modal view controller not showing properly in landscape mode »
My application that supports both Portrait and Landscape orientations. I am presenting a UIViewController modally from a UIViewController located in a...
(3) odpowiedzi
2017-04-19 16:04 Objective C label line spacing? »
Is there a way to set the distance of two lines within a UILabel? I tried to do it within Interface Builder but without success. ...
(3) odpowiedzi
2017-04-19 15:04 Merging Objective-C project to Swift; what's the best method? »
I want to migrate our large Objective-C-based iOS project to Swift. So what's the best way: Import Swift files into Objective-C, or import the Objecti...
(4) odpowiedzi
2017-04-19 10:04 AWS Cognito SMS delivery Issue with iOS »
We are facing some technical issues with sms service in iOS AWS Cognito login. I signed up with my account details in AWS Cognito and I got below O/P,...
(1) odpowiedzi
2017-04-18 13:04 iPod touch not Playing sound »
All device is playing the sound in foreground except iPod touch not playing the sound in foreground, When the app receive notification, Below we have...
(1) odpowiedzi
2017-04-18 07:04 When I set button title, there is fade-off and fade-out effect »
When I use setTitle: forState: method to set my button's title, there have the fade-out and fade-in effect. - (void)respondsToTextField:(UITextField ...
(3) odpowiedzi
2017-04-18 05:04 Updating a delivered notifications ios 10 »
I am trying to update an already delivered notification on iOS 10 which is a new feature. I am using an api call to send a push notification through f...
(1) odpowiedzi
2017-04-17 12:04 How to increase/decrease rectangle size according to size of label when i touch on label in objective c »
i have one rectangle and two labels like label1, label2 in a subview class. label1 is fixed inside the rectangle or you can say rectangle has label1...
(1) odpowiedzi
2017-04-17 09:04 How can we hide the Sensitive Data in xCode iOS »
I am new to iOS Development and have no much idea about secure iOS coding and my requirement is to hide API & Secrete Key in my xCode project. Is ...
(1) odpowiedzi
2017-04-17 08:04 Airplay Screen Mirroring »
I want to make an Airplay Server like AirServer. I follow the Unofficial AirPlay Protocol Specification and have got the Post/stream request { authT...
(0) odpowiedzi
2017-04-16 19:04 Segmentation fault 11 Objective-C, but not in C »
I'm currently trying to create a 16 bit/channel or 48bpp image as an array in Objective-C, then put it in a NSBitmapImageRep. For a start, I want to j...
(1) odpowiedzi
2017-04-16 15:04 Part of UIScrollView doesn't respond to touches »
I have a UIScrollView with 7 UIButtons on it. 5 buttons are working fine but the other two (which the scroll view needs to be scrolled for the button...
(1) odpowiedzi
2017-04-16 14:04 Clang error for os_log timeval format »
I am using Apple's Unified Logging for the first time, and have had some success. However, I can't get it to work with the suggested %{timeval}.*P cus...
(1) odpowiedzi
2017-04-15 23:04 How to fit an image on a uiview programmatically »
I added a uiview as a subview on a view controller programmatically (called contentView). I also added an image on that uiview programmatically. Every...
(4) odpowiedzi
2017-04-15 11:04 Where to put views creation in MVVM and MVC patterns? »
Please excuse me if its repeated topic. I usually write my apps without storyboards, and put views creation into "viewDidLoad", like: class LoginVC:...
(1) odpowiedzi
2017-04-15 07:04 How to handle the dynamically inserted UITableView cells with same identifier? »
I'm inserting a new row when "+" Button on top of the table view is clicked. It is adding fine. but the cells are reordering when tableview is scrolle...
(2) odpowiedzi
2017-04-14 22:04 NSPredicate to filter Core Data Relationship NSSet by attribute »
I have a many-to-many relationship with two entities. One is Person, the other is Clubs. I want to be able to write a predicate that will find all Per...
(1) odpowiedzi
2017-04-14 13:04 OBJC_PRINT_VTABLE_IMAGES and OBJC_PRINT_VTABLE_SETUP does not show any output »
I've tried to use OBJC_PRINT_VTABLE_IMAGES and OBJC_PRINT_VTABLE_SETUP environmental variables on Objective-C executable in order to learn about vtabl...
(1) odpowiedzi
2017-04-14 09:04 Firebase Notification Integration on cocoa os x application »
I am currently doing a R & d to add firebase to mac os x application. I found a pod 'FirebaseOSX' and install it, but i can't find how to integra...
(1) odpowiedzi
2017-04-13 22:04 nativescript how to make element transparent to touch events »
For one of my projects, I need to develop a vignetting effect over a google map in nativescript (IOS App) so I decided to go with the png24 image solu...
(1) odpowiedzi
2017-04-13 15:04 Crash in Release Mode while generating NSString with arguments »
I have written Log helper class which has couple of Log functions. All is working well in DEBUG mode. But when I run my code is release mode it is cra...
(1) odpowiedzi
2017-04-13 12:04 How nil can call functions in Objective-C and Swift »
nil is similar but different concept in Objective-C and Swift. In Objective-C nil presents absense of Objective-C Object. in details, id is pointer ...
(1) odpowiedzi
2017-04-12 18:04 What is the point of copying an object that is immutable? »
In objc I see this code: - (void)setSubtitle:(NSAttributedString *)subtitle { self.subtitleLabel.attributedText = [subtitle copy]; } It is basi...
(1) odpowiedzi
2017-04-12 07:04 NEVPNManager in OSX 10.11 - how to set up IKEV2 VPN connection »
I want to create (Xcode 8.2, OSX 10.11) a IKEV2 VPN Connection with NEVPNManager. // setup protocol NEVPNProtocolIKEv2 *p = [[NEVPNProtocolIKEv2 all...
(0) odpowiedzi
2017-04-12 00:04 Incorrect endDate in CMPedometerData »
I design app with CMPedometer and have one strange problem. I have logs from my client and i look this CMPedometerData, that i think really incorrect ...
(0) odpowiedzi
2017-04-11 19:04 Apple Music conflicting with MPNowPlayingInfoCenter »
I need some help with an issue when my music player app is playing on background. I'm able to play the musics in the app and in the background with b...
(0) odpowiedzi
2017-04-11 13:04 How to import swift file to obective-c class, for class delegation? »
I’m developing my with swift, Now few of my older files are written in objective-c. So I create bridge for class communication. One of my delegate ...
(3) odpowiedzi
2017-04-11 10:04 Wrapping static library in Cocoa Touch Framework »
I have a fat static library with 2 architecture slices (armv7, arm64). I'm trying to make it work with swift and wrap it into Cocoa Touch Framework. ...
(1) odpowiedzi
2017-04-10 12:04 Using private API to enable personal hotspot in ios »
I am using iOS runtime header to enable hotspot in ios. Link NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/Sharing.fram...
(0) odpowiedzi
2017-04-10 10:04 Hiding the markup bar in QLPreviewController on iOS 10 »
I need to use a QLPreviewController in order to open PDF and JPEG documents into my app. I implemented it in this way: -(void)openQuickLook{ QLP...
(0) odpowiedzi