Tagged Questions
-4
votes
0answers
31 views
Undeclared function in Xcode? [on hold]
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, ...
0
votes
1answer
18 views
xcode: AppDelegate error when running the simulator
I'm new to xcode and I'm trying to create an app which uses an sqlite database to display some data but I get this line of code highlighted in AppDelegate.h when running the simulator.
...
0
votes
2answers
34 views
Apple Mach-O Error Xcode - Really Confused
I was working on implementing the Kiip.me framework into my iOS App. I have added the framework and everything and linked it, but when I run it I get tons of errors in the Apple Mach-O. I am also ...
2
votes
0answers
25 views
XCode 5: Is there any way to group/filter/sort what shows up in code-completion?
For a very simple object like this:
@interface MyObject : NSObject
@property(strong) NSObject* thingAboutMyObject;
- (void) aThingToDo;
- (void) moreToDo;
- (void) yetAnotherAction;
@end
Someone ...
0
votes
0answers
28 views
In app purchase : error thread 1 signal sigabrt
This is something new I experience in In-app purchase.I could retrieve my product from there when I tap the button to purchase it throws me a exception like "thread 1 signal sigabrt"
and the console ...
-2
votes
1answer
15 views
Xcode connecting to external database [on hold]
I need to make an app that connects to an external database. I'm using MAMP. I tried some tutorials but I didm't understand a thing. Does someone have a good tutorial?
0
votes
1answer
23 views
alert in background ( ios 7 )
i want to create alert in background like the alert of the clock app.
i tried to use UILocalNotification but the alertAction doesn't appear in the background
this show me only the notification on ...
0
votes
3answers
46 views
Using a UITableView on a UIViewController
I've created a UITableViewController in Xcode storyboard first (with a UITableView on it obviously) but since I want also a UIButton and segmented control on the same page I replaced the view with a ...
0
votes
1answer
55 views
Check integrity of iOS application [on hold]
What verification steps can be taken in order to make sure that a iOS application has not been modified? I am not talking about checking if an iOS device has been jailbroken, that's another question..
...
-1
votes
0answers
20 views
Can't get Open/Close status [on hold]
Fuction 1:
//Convert String Responce to json format.
SBJsonParser *jsonString=[[SBJsonParser alloc] init];
TimingDetailArray=[jsonString objectWithString:temp];
...
0
votes
1answer
21 views
XCode 5 compile library like CMATH
I have code contains of Objective-C and C++. I set compiler on "Objective-C++" in "Apple LLVM 5.0 Language - Compile sources as" and now when I want to build application, it tries to compile files ...
0
votes
1answer
51 views
Why apple uses assign rather than weak to store delegate?
It forces people to set those delegate to nil in dealloc
-(void)dealloc
{
self.ImageScrollView.delegate = nil;
self.tableView.delegate =nil;
self.tableView.dataSource =nil;
}
Which is ...
1
vote
2answers
34 views
Are all weak references nilled if we enable zombie object?
Normally, if an object deallocated, all weak references will be nilled.
What about if we enable zombie object?
Product -> Edit Scheme -> Enable Zombie Object
Will weak references be nilled too?
...
-1
votes
2answers
40 views
How to Dismiss another view Controller (not in previous controller Present Controller) in objective C [on hold]
For Example Here is sample Code
// ArrivalViewController
-(void)navigateCustomkeyboardView
{
LandscapeMobilenumberVC *landscape_VC=[[LandscapeMobilenumberVC ...
1
vote
1answer
23 views
Xcode failing to update binary
I'm experiencing a very confusing issue with Xcode. It started when the debugger started skipping over some lines and stopping at the wrong lines on breakpoints. I tried adding NSLogs, but they ...
0
votes
1answer
16 views
xcode (ios/objective c) access Supporting files
Please keep in mind this is my first ios app and first experience with xcode. I have researched this but i believe my inexperience is a key factor in not being able to find it.
I am creating an app ...
0
votes
2answers
40 views
XCode Warning “Expression Result Unused” for mathematical statement
I am getting a warning while doing this
CGFloat viewHeight = ([self.quotaArray count]*kROW_HEIGHT) + kHEADER_HEIGHT + kFOOTER_HEIGHT;
Basically this math statement returns me the height of my table ...
0
votes
2answers
15 views
libsqlite3.dylib framework accidenlty deleted from xcode
libsqlite3.dylib is accidently deleted from my Xcode . It is shown as red in "Link Binary with Libraries" (Build Phases) . Not in Trash too . Do I need to install xcode again ?
3
votes
1answer
37 views
iOS Antialiasing with PNG on button
I've got an issue with antialiasing on iOS. I have created a button and set its background to be a PNG image. On the iPad, it looks like this:
Whereas on the storyboard it looks like this:
And ...
0
votes
0answers
9 views
static void *MRProgressOverlayViewObservationContext = &MRProgressOverlayViewObservationContext;
I have been doing objective-c for a little while now but I never found this kind of construction, could someone tell me what exactly is going on on this line?
static void ...
0
votes
0answers
17 views
Could not build module
After Xcode update to v. 5.0.2 i can't build my app for iOS 6.0 target.
I can build only for iOS 7.0
I get many errors:
Could not build module CoreFoundation
Could not build module Darwin
Cyclic ...
0
votes
2answers
17 views
How to change style of font in header section of grouped tableView while using static content via storyboard
I have used storyboard to design a grouped tableView with simple, static content. I want to change the look of the section headers, but storyboard does not seem to offer this functionality, and I ...
0
votes
1answer
26 views
Populating a text field in a prototype Table View Cell
Apologies in advance, as I am extremely new to iOS and objective-C and this is probably a very basic question, but I've hit a wall, and after days of searching the Web, I'm still lost:
I'm generating ...
0
votes
1answer
25 views
lldb in xcode gives [no Objective-C description available] when trying to call the 'count' selector
Hopefully my question is clear with the screen shot
In the left pane, my variable thing is visible in the current breakpoint.
I would like to call some selectors on this variable in lldb
However ...
-1
votes
1answer
35 views
iOS video app aproach [on hold]
This is my first question here.
I'm new to iOS development and I'm making an app that has several video files in fullscreen mode between which you should be able to swipe or pinch to play a different ...
0
votes
3answers
29 views
Unable to detect cause of memory leak
In this function i have a memory leak on two locations according to Xcode's Instrument leak tool.
I don't have ARC enabled and wont be able to activate it, so i have to manage this in another way.
...
0
votes
0answers
15 views
Ignore exceptions in com.apple.coremedia.networkbuffering
I'm getting exceptions thrown in com.apple.coremedia.networkbuffering as described in this question.
They don't crash the app or seem to cause any problems. But they make my exception breakpoint ...
0
votes
0answers
12 views
Can't sync build using itunes or wirelessly using testflight or diawi
I just finished creating an iphone app.When i debug it in my device using Xcode,it works.
When i archive it using my Ad-hoc distribution profile or the debug profile and then try syncing it with ...
0
votes
0answers
34 views
Debug : cannot see how a function is called
EDIT : when I jump to the definition of the function "connection", it brings me to NSURLRequest header. And as there is a NSUrlRequest in createLoginCheck, "connection" is certainly the implementation ...
0
votes
1answer
16 views
MapBox iOS SDK framework
I'm trying to implement MapBox SDK, but i have issue:
I followed all these steps:
Obtain the map ID for your hosted map by clicking Publish and copying the Map ID;
Download the latest SDK binary ...
1
vote
1answer
35 views
Modification of localized storyboard - convert to base storybord
My problem is that I have storyboard which support multiple languages (6). Since app was created before iOS6 I have 6 versions of storyboard.
Now UI has been redesign a bit (mostly order of views has ...
-2
votes
0answers
48 views
Xcode 5 iOS 7 app crashes and I have no idea why I also do not know how to explain it [on hold]
I am following CodeWithChris on youtube but I have followed him nearly exactly so I don't understand what is wrong.
My Project is here:(please check it out)
...
0
votes
0answers
44 views
Building Objective-C Command Line App?
I'm kinda new to Objective-C and I have a basic app I'm tinkering with in Xcode that simply reads all calendar events (using EventKit) and then reformats the data and dumps it as a json encoded ...
1
vote
0answers
25 views
UIImageView jumps down/right when scaling
I'am trying to scale an UIImageView from its center. The center scale works, but I have a problem! When i touches the image, it jumps down/right while it scale.
Here is my code:
[UIView ...
0
votes
0answers
14 views
Xcode Automation Instrument does not recognize buttons
I'm trying to record user behavior on device but some of my buttons in the app are not recognized by the Automation Instrument.
When a recognized button is tapped on the screen it generates a line ...
0
votes
2answers
67 views
UITableViewCell is not available in XIB file in XCode 5
I have just encountered a problem today that I am unable to add a new table view cell to my UITableview.
What I did was I drag a table view cell and drop inside the UITableview area. The UITableview ...
0
votes
3answers
35 views
Xcode compiles in Library/Developer/Xcode/DerivedData/
Can I force Xcode to compile everything in a specific directory instead of:
~/Library/Developer/Xcode/DerivedData/Myproject-bdbyavaafjqvoghfedbmgxuxzvde/......
I'm compiling for bamboo and I would ...
0
votes
1answer
28 views
Adding a big static library as a cocoapod or directly adds ALL object files to resulting binary because of -ObjC linker flag
PROBLEM: Linking with my library adds 2MB to binary.
I am trying to distribute my own static library on iOS. My library depends on KSCrash and ProtobufObjc pods. Pods are compiled in their own ...
1
vote
0answers
25 views
Edit NSPredicate using NSPredicateEditor
I have a NSPredicateEditor from which I want to extract the predicate as a string. I'm using the following code:
[[predicateEditor objectValue] description]
and it extract the predicate in a form ...
0
votes
0answers
22 views
Why isn't source control working when I use a workspace in Xcode 5?
Normally I just create a new project, select the option to keep it under source control, and everything works.
Today I tried using a workspace, and it doesn't work. Here is what I did:
...
0
votes
3answers
50 views
UITabBarItem Image is in Blue and not changed
Um using my own TabBarController which is ElWafyatTabBarController basically it inherits from UITabBarController.
In ElWafyatTabBarController.m -> viewDidLoad
I've created some ViewControllers, ...
0
votes
2answers
15 views
Storyboard parent-child relationship not representing what is returned by “superview”
The Collection View Cell is subclassed in the following way:
I have this layout in a collection view. On each button when it is created, I call the following code:
[cell.imageButton ...
0
votes
0answers
25 views
need help determining why ios Subliminal tests will randomly hang at different tests and and at different points during a test suite run
When running my test suite through Xcode or through the command-line, I have noticed that the tests will sit and hang for no apparent reason. I have no clue why the test will suddenly hang. The test ...
-4
votes
0answers
36 views
How do I get a iPhone SDK compiler for windows? [duplicate]
I asked a friend of mine briefly, and he told me I had 2 choices if I wanted make software for iPhones, HTML/CSS/Javascript or Objective C. I wanted to know if there is a way to do so without using ...
0
votes
1answer
50 views
semaphore_wait() suddenly aborts
I have an app with a thread created as
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
});
I suspend all other threads and resume execution of this thread.
And ...
0
votes
2answers
52 views
Flag for Xcode to simply not compile certain methods?
I have a special logging function, let's call it JLog() which I have written to keep track of logging data, but only when testing in the simulator and on my test device. I set a DEBUG preprocessor ...
1
vote
3answers
99 views
xcode shows same height for 3.5 inch and 4 inch screen in ios
I test my app in 3.5 inch and 4 inch. While I NSLog(@"%@", self.view.frame.size.height); both 3.5 inch and 4 inch shows height 568. Now currently I m using xcode 5.. Any can please explain why this ...
0
votes
0answers
31 views
+50
Reverse proxy inside OSX application
Is there any reverse proxy that can be embedded within OSX application written in Objective-C? I need to develop application which is going to have reverse proxy embedded inside but not to use an ...
0
votes
2answers
47 views
images.xcassets isnt created when I create a new project?
On xcode 4.6.3, creating an ios single view application, after it is created and saved the images.xcassets folder isnt anywhere to be found, preventing me from uploading any images (according to the ...
2
votes
2answers
32 views
show scratch-card effect with the help of using scratch and win example
I am new in ios developement.i need to show scratch-card effect for an iPhone app after scratches if coupon number is visible i need to show alert message How can i do this?.i have download sample ...