Tag: c

54 votes
25 answers
2.4K views
How to link to apps on the app store

I am creating a free version of my iPhone game. I want to have a button inside the free version that takes peo

avatar
Suzan
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
736 views
Placeholder in UITextView

My application uses an UITextView. Now I want the UITextView to have a placeholder similar to the one you can

avatar
Corey
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
2.3K views
Eliminate extra separators below UITableView

When I set up a table view with 4 rows, there are still extra separators lines (or extra blank cells) below th

avatar
Lawanda
0 1 0 9
asked 07 September, 2021
57 votes
19 answers
2.3K views
How do I create delegates in Objective-C?

I know how delegates work, and I know how I can use them. But how do I create them?

avatar
Forrest
0 1 0 9
asked 07 September, 2021
53 votes
20 answers
725 views
How do you trigger a block after a delay, like -performSelector:withObject:afterDelay:?

Is there a way to call a block with a primitive parameter after a delay, like using performSelector:withObject

avatar
Xavier
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
2.5K views
Loaded nib but the 'view' outlet was not set

I added a new nib file to my project, and tried to load it. However, when I click on the toolbar icon that is

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
48 votes
30 answers
1.5K views
Can I embed a custom font in an iPhone application?

I would like to have an app include a custom font for rendering text, load it, and then use it with standard U

avatar
Venice
0 1 0 9
asked 07 September, 2021
53 votes
14 answers
1.2K views
Xcode process launch failed: Security

I have been developing an app for 1 or 2 weeks now and just yesterday I have updated my iPhone 5S to the iOS 8

avatar
Omar
0 1 0 9
asked 07 September, 2021
51 votes
11 answers
2.8K views
Xcode 7 error: "Missing iOS Distribution signing identity for ..."

I tried to upload my App to iTunes Connect resp. AppStore and got the following error: Failed to locate or

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
2.9K views
How to check iOS version?

I want to check if the iOS version of the device is greater than 3.1.3 I tried things like: [[UIDevice curren

avatar
Boyd
0 1 0 9
asked 07 September, 2021
55 votes
24 answers
2.6K views
Xcode error "Could not find Developer Disk Image"

When attempting to run a build on a connected iOS device in Xcode I get the error: Could not find Develope

avatar
Wilber
0 1 0 9
asked 07 September, 2021
57 votes
14 answers
496 views
How do I convert an NSString value to NSData?

How do I convert an NSString value to NSData?

avatar
Winford
0 1 0 9
asked 07 September, 2021
59 votes
12 answers
540 views
How do I animate constraint changes?

I'm updating an old app with an AdBannerView and when there is no ad, it slides off screen. When there is

avatar
Georgie
0 1 0 9
asked 07 September, 2021
61 votes
14 answers
1.3K views
Constants in Objective-C

I'm developing a Cocoa application, and I'm using constant NSStrings as ways to store key names for

avatar
Wilfredo
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
2K views
How to change the name of an iOS app?

I began an iPhone project the other day with a silly development code name, and now I want to change the name

avatar
Roger
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
2K views
How can I disable the UITableView selection?

When you tap a row in a UITableView, the row is highlighted and selected. Is it possible to disable this so ta

avatar
Joseph
0 1 0 9
asked 07 September, 2021
63 votes
23 answers
2.2K views
How do I check if a string contains another string in Objective-C?

How can I check if a string (NSString) contains another smaller string? I was hoping for something like: NSS

avatar
Thurman
0 1 0 9
asked 07 September, 2021
43 votes
30 answers
2.8K views
Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?

I'm trying to link a UILabel with an IBOutlet created in my class. My application is crashing with the f

avatar
Forrest
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
1.9K views
performSelector may cause a leak because its selector is unknown

I'm getting the following warning by the ARC compiler: "performSelector may cause a leak because its sel

avatar
Tuan
0 1 0 9
asked 07 September, 2021
61 votes
27 answers
1.6K views
How do I sort an NSMutableArray with custom objects in it?

What I want to do seems pretty simple, but I can't find any answers on the web. I have an NSMutableArray

avatar
Stacia
0 1 0 9
asked 07 September, 2021