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 to ask about Apple's frameworks or classes. Use the related "ios" and "osx" for issues specific to those platforms.
1
vote
0answers
11 views
In iOS, why do subviews wrap around to the other side when the superview is resized?
Subviews that have their left side on the x-axis of their superview move
to the other side of the superview when the superview is resized. Is there
any logical explanation for this?
This is happening ...
0
votes
2answers
43 views
parse multilined json in objective c
I have a json file with large data like this:
[{"pkg_id": 385 ,"pkg_name":" 10OZ NR 1/24 "},
{"pkg_id": 822 ,"pkg_name":" 12OZ CN "},
{"pkg_id": 422 ,"pkg_name":" 12OZ CN 6/4 ...
0
votes
0answers
14 views
How do I add a UIViewController?
I have a GLES game, it has no standard UI elements. It is based on the code from GLSprite which contains a UIView and an AppDelegate (full source code on github ...
0
votes
0answers
4 views
How do I make my MDScrollView not truncate my row headers and not make my cells look bad?
Here's a screenshot to show what I am describing:
And the relevant code:
- (NSInteger)spreadView:(MDSpreadView *)aSpreadView numberOfColumnsInSection:(NSInteger)section{
return ...
0
votes
0answers
10 views
How can I make a “Submit” button search an array for UIPickerView selection?
I've coded a UIPickerView into my app, and it works great. However I'd like to add a "Submit" button and connect it to my pickerview, so that once a user makes their selections and clicks "Submit," a ...
0
votes
0answers
12 views
How to create temporary object with core model class
I'm new to Core Data and I'm having an issues with creating and then deleting objects. I am trying to download and parse a JSON feed from a web service, then compare the feed data to the data in the ...
0
votes
1answer
24 views
Error's with class methods, and properties of objects in objective c
I'm trying to simple update some text on an app created at my firm before my time. The app is a native iOS app and I'm not familiar with objective C so I'm not sure how to search for these solutions.
...
0
votes
1answer
13 views
Core Data Conundrum: Cannot call NSFetchedResults twice
I have a custom UITableViewController, called mainViewController.
It has a public property in the header file
@property (strong, nonatomic) NSMutableArray *someGroups;
This property is set in the ...
0
votes
0answers
14 views
Scrollview truncates view upon re-entering the page
I have a detailviewcontroller, Dance, with a scrollview. I have set the size of the detailViewController and implemented the scrollview with,
- (void)viewDidAppear:(BOOL)animated
{
self.title = ...
0
votes
0answers
7 views
MPMovieController control bar not responding
I'm making an iPad version of an app I've already made for iPhone, which means I know this code has worked. I am using self.bounds instead of a static value, so the size to is accordig to the docs.
...
0
votes
0answers
18 views
install iOS ad-hoc app failed
I've a problem by installing an ad-hoc build to my iOS test devices.
When I run the app via XCode, there is no problem, but from the moment I create a signed ad-hoc app (*.ipa), the app is not able to ...
0
votes
2answers
33 views
UINavigationController not transferring data
I have an tabbed application that captures data, stores it using NSUserDefaults and presents a readout in a table that is contained in a UIViewController. I am using a navigation controller between ...
0
votes
0answers
9 views
How to wrap restkit calls into a service class, and integrate into a controller?
I'm just getting into objective-c, and need some help with this service class I want to write.
I want to create a APIService class, that uses restkit and returns the responses.
It looks like restkit ...
1
vote
2answers
23 views
Slide to reveal a view like NotificationCenter/Twitter
I'm trying to mimic Twitter's "slide up to show" action as soon in the attached images:
If you notice the detail view is hidden in the first with just a little indicator there's more there. Then ...
1
vote
2answers
31 views
Core Data confusion in retrieving records
I'm currently building a Core Data app and I've hit a snag. I guess here's some context on the schema:
The app is to keep track of a therapist's session with her clients. So the schema is organized ...