Tagged Questions
1
vote
1answer
18 views
Get Boolean Value from Reddit .JSON Parse
The file can be viewed here. I am parsing for the attribute "likes" but I am getting <null> even when I have liked the post. I am 100% sure my modhash is valid, and when I view the file I can ...
0
votes
1answer
11 views
How to change a navbar UIBarButtonItem button to a navbar back button?
I have a UIViewController with a navigation bar i dropped in in storyboards. Then I dragged in a UIBarButtonItem which is rectangular.
I want that button to look like a navigation bar's back ...
1
vote
1answer
36 views
What is this iOS error and where is it coming from?
My friend's app is getting an error and I do not know what to do about it.I researched this error and I came across so many different answers, but none of them seems to work.Any help will be ...
0
votes
0answers
7 views
problems uploading video on Facebook using beginBackgroundTaskWithExpirationHandler when user hits home button?
my app allows user to share videos on Facebook , i have used the following code to do it, it works okey when app is in fore ground , but i wanted to continue the process of uploading when it is ...
0
votes
0answers
11 views
UIKit particles - random texture orientation without rotation?
I'm probably just being stupid, but for the heck I can't figure out how to implement a UIKit particle emitter where the particle texture is emitted with a random orientation but without any actual ...
3
votes
1answer
40 views
detect one subview on top of another subview
I am trying to detect one subview when dragged on top of another subview to see if it collides. What is a good way to do that? I am using UIPanGestureRecognizer for dragging the elements. thanks
-1
votes
2answers
55 views
Passing by reference [closed]
NSString *firstName2 = @"foo";
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:firstName2, @"storeData", nil];
NSString * __strong *storeData = NULL;
storeData = &[dict ...
0
votes
0answers
21 views
CoreData and iCloud
I am developing a core data application and was thinking of adding iCloud support, but after looking around on the web I frequently heard that iCloud+CoreData is unreliable and will often break.
Is ...
1
vote
2answers
17 views
Change title of UITableView to a cell name in iOS
I have a UITableView with some rows that are allocated dynamically. When I tap on a row I will go to another TableView using a push Segue, how do I change the second table view title to the cell name ...
0
votes
2answers
29 views
How to load a UIViewController in landscape mode if its parent is in Portrait mode?
I want to load a ViewController in landscape mode from a portrait parent. Parent is got fixed for portrait, it wont change its orientation, however the child view controller whichever is got pushed ...
0
votes
2answers
35 views
Extension for a Foundation class
Since the .m files for the foundation classes(say for NSString) are not available , I was thinking if I could declare an extension, inside the .m file of a category declared on the same class. I was ...
-5
votes
0answers
37 views
Parse .JSON when it is either true,false or null
Im trying to parse a boolean value from a .JSON file that looks like on of the following
:
{"data":{"value": null}}
{"data":{"value": true}}
{"data":{"value": false}}
What I tried:
NSDictionary ...
0
votes
2answers
49 views
Touch Event in iOS
I am building a tile application, which can be dragged and swiped. Currently, I have the entire block of tiles being added as a subview. I was curious what would be the better way to drag the tile ...
0
votes
1answer
15 views
Autoresizingmask instantly overrides initially set frame (creating a different and wrong layout)
I'm trying to configure one of my views. I can set the dimensions properly, but when I add the autoresizing mask it instantly changes the size.
- (void)viewDidLoad
{
[super viewDidLoad];
// ...
1
vote
1answer
27 views
How come a UIViewController's view coordinate system starts after the navbar, but its height includes the navbar?
I noticed that with a NavigationController on an iPhone, the height is 460. So it includes the whole screen except the status bar.
However, when I add something at coordinate 0, it shows up after the ...