Tagged Questions
This tag should be used only on questions that contain Objective-C code or are about Objective-C features. The tags "cocoa" and "cocoa-touch" should be used on questions about Apple's frameworks or classes.
0
votes
0answers
12 views
How to step-into custom framework for iOS
I have created a custom iOS framework. That is added to the project like any built-in framework( ex:UIkit.framework).
Is it possible to step-into the framework code while debugging?. I know, we can ...
0
votes
0answers
17 views
C# Regex : let's parse Objective-C
I'm trying to parse an x-code project to translate it.
I've got 3 or 4 big applications to translate so i start a C# project to do this.
I'm having big troubles with Regex.
Does anyone know how to ...
0
votes
2answers
5 views
ABPeoplePickerNavigationController. Need to show contacts in the same view controller
I have a View Controller embedded in a Navigation Controller. It has a button and a table view. I need the contacts from the phone to load in the table view of this View Controller, but what is ...
0
votes
0answers
10 views
can I detect a user on Mobile Safari (iphone) VS UIWebView (WebKit) with javascript?
I'd like to be able to tell the difference between a user hitting my website on normal Safari as included in iphone or ipad, VS a user who is hitting the same content through a UIWebView within a ...
-3
votes
3answers
49 views
About .h and .m files (how to manage)
Hey experienced programmers!
Id like to ask you something about clean code :)
Id like to keep my code clean and make it nice, so thats my questions:
1)Where should I put #imports?
My principles: ...
0
votes
2answers
15 views
Make default value of Segment unselected
I am trying to load a segment control with an array. When I do it selects Male as the default. I want neither male or female to be selected , both unselected as default.
- ...
0
votes
1answer
15 views
Ordered Sets and Core Data (NSOrderedSet)
I have a list of share prices with the properties dateTime and value.
Currently I am sorting the share prices when fetching them using a sort descriptor.
Now, I would like to change my code and ...
0
votes
1answer
15 views
How can I detect next page number of UIScrollView which is 'scrollView.pagingEnabled' = YES?
I searched several stuffs on stackoverflow like
CGFloat pageWidth = scrollView.frame.size.width;
int pageNumberToBeScrolled = floor((scrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;
if ...
0
votes
1answer
8 views
AVMutableAudioMixInputParameters setVolume atTime not working only with kCMTimeZero
Im am developing an iOS app in Xcode. I am still new to programming.
I am trying to set the volume of an audiotrack while playing it with an AVPlayer. It is working great if a set the time at ...
1
vote
0answers
20 views
Preprocessor target checking
I wanna use preprocessor commands to test which target i'm compiling for.
Every egs i read told to do that :
-Add a preprocessor macro in my target.
-Do this :
#ifdef TARGET_NAME_MACRO
...
0
votes
1answer
11 views
Parse.com get the username if its facebook or a parse user
To get the current username i use: NSString *userName = [[PFUser currentUser] username]; The problem is that if the user is logged with FB i get some string like 'u55yceub4z2yzrezbdfpyx3bl' and not ...
-1
votes
1answer
33 views
how to filter using NSPredicate in IOS
I have an array which contains some objects.
Now I want to filter array based on two conditions how can i achieve this one?
1.object which has both the ends same letter
2.it must contains some ...
1
vote
0answers
24 views
Can xcarchive be opened on iPhone?
I received an xcarchive of an app. I would like to check it on my device and then distribute. How can it be installed on the iPhone?
0
votes
0answers
21 views
How to add curve at two point joint using coreGraphics?
I'm working on creating a sine chart using core-graphics. I done all thing just about drawing chart and also working well as I need just want to add curve at two point joint.
My chart looks like the ...
0
votes
2answers
27 views
ios: Updating UITableView inside AFNetworking success callback
I'm trying to load data from API and show it inside a UITableView. I used AFNetworking for the network calls, but now I'm facing a problem: I can't access myTableView nor self inside the success ...