FAQ Database Discussion Community

App not running on Xcode 5.1.1 Simulator

I'm fairly new to Objective-C, I'm getting a Thread 1: signal SIGBRT in the autoReleasepool block. Here is my code: I only added code to these two files. I also imported 3 images into the supporting files folder. ViewController.m // // ViewController.m // TicTacToe #import "ViewController.h" @interface ViewController () @end...

Bar Button Item Issue

I have a Bar Button called SAVE when the program running its automatically displays the title of SAVE but while i edit the contents in that particular view, the title should be changed as EDIT is there any codings are available for it?

Change UINavbar height from for older apps build using Xcode 5 or older

I've noticed the navigation height for the apps that I started with Xcode5 and older is larger than if i create a new application using Xcode6. Is there a way to change the height of the navigation bar. I can't seem to find a solution. Thanks....

UITableView cell space on right side

I am building an app with UITableView in a UIView & i want to remove all extra space around UITableView & i manage to remove margin from left side of UIImageView in UITableViewCell but now i am having weird space on right side when i select a row here is...

How to install ios 8 sdk on xcode 5?

I have OS X Mountain Lion (10.8.5) and Xcode 5.1 already installed on my mac and i can't upgrade my os for now. I need ios 8 sdk in order to publish my app in app store. How can i install ios 8 sdk on xcode 5? I have tried...

How to update values of core data objects with same attributes but different values?

<SaveDbstr: 0x8b640e0> (entity: SaveDbstr; id: 0x8b64140 <x-coredata:///SaveDbstr/tC0D35B09-8B89-4233-A572-8DA6434884802> ; data: { cityName = LAFAYETTE; distance = "11,382.7"; driverId = 00000000097; strainDescription = "This is no creeper! Effects are felt almost immedi"; strainId = 00000000001; strainImage = "www.dbster.net/DbsterDocuments/StrainImages/Kandy Skunk1.jpg"; strainName = "Kandy Skunk"; strainTypeName = "Hash and Oil"; vendorBusinessName = "Raging Vaping";...

How do I do a bit-wise XOR on NSData in Objective-C?

I have two NSData objects, data1 and data2, and I'd like to do a bit-wise XOR and store the result in a third NSData object, xorData. The first thing I tried was this: *data1.bytes^*data2.bytes; but it gave an error of: Invalid operands to binary expression ('const void' and 'const void')...

Tableview Header issue

I'm trying to give space between cells in my tableview for that i written the following code: -(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section { switch (section) { case 0: return 0.0f; break; default: return 15.0f; break; } return 15.0f; } up to now everything is fine, but after scrolling tableview gap is not...

getting error mno-fused-madd installing kivy in virtualenv over fish shell

Hi I am getting the error saying clang: error: unknown argument: '-mno-fused-madd' when I am trying to install kivy in virtualenv named kivyprogramming. cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -Wno-error=unused-command-line-argument-hard-error-in-future -pipe...