Tagged Questions
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.
0
votes
0answers
5 views
IOS create new UITableViewCell with properties of a prototype cell
I am working on an app that has several prototype cells in one view. This worked well for easily altering the appearance of the app while in development using the storyboard. However, now I'm adding ...
0
votes
0answers
8 views
Swipe gesture “down” activated when swiping right
I've been adding iPad interfaces to my project, and was just testing it.
At a certain page, I have a swipe gesture ( Direction down ) set to dismiss the current view.
I have a iPhone and a iPad ...
0
votes
1answer
17 views
Download entire website
I want to be able to download the entire contents of a website and use the data in my app. I've used NSURLConnection to download files in the past, but I don't believe it is capable of downloading ...
1
vote
2answers
16 views
check if scrollview.contentset went over certain x value
I have a scrollview and above some image. When the scrollview scrollView.contentOffset.x is past a certain X my image above should animate.
I know how to animate. At the moment I'm doing this in the ...
0
votes
0answers
13 views
Reuse same UIView for Left to Right Animation side by side
I have created UIView in XIB. I want to animate this view from Left to Right 2 times that too SIDE BY SIDE.
Below code animates the UIView but this code animates one by one transition of this UIView. ...
0
votes
4answers
34 views
Add additional behavior to method without subclassing
I need to add additional behavior to methods I need to extend, i.e. implement method that looks like
- (void)extendMethod:(SEL)selector forClass:(Class)class withCompletionBlock:(void ...
0
votes
0answers
20 views
UIImage RBG Values Change when Saved to Device Library
I am working on a project that requires image pixel manipulation. What I am doing now is using UIImagePicker to receive a UIImage from the devices library. I then convert it to a CGImage, get the RBG ...
0
votes
2answers
29 views
uitableview last row beyond bounds
For a strange reason numberOfRowsInSection is called when the view loads with test : 3 when I press the remove button: test = 2. commitEditingStyle results in a index 2 beyond bounds [0 .. 1]' when ...
-1
votes
2answers
31 views
NSFileManager createFileAtPath failing on iPad but works on Simulator
I am trying to write a simple log file for each execution of my app. The logfile name is based on the current time and is stored in the app directory. The code below is what I am trying which works ...
2
votes
0answers
32 views
Is there an Objective-C reusable view similar to AurioTouch2?
Like many people, I like the power and functionality of Apple's AurioTouch2 sample code. However, the current example seems to be really tightly coupled to the underlying project.
The current project ...
0
votes
1answer
29 views
Objective-C Json String to PHP Array
I am doing accepted answer here but it doesn't work for me. I get NULL.
I produce JSON from an array with:
NSError* error;
NSData *result =[NSJSONSerialization ...
0
votes
3answers
15 views
Others UIImageView NSMutableArray
I have 5 pictures and i want to add to array
code:
#import "ViewController.h"
UIImageView *pic;
NSMutableArray *picArray;
@interface ViewController ()
@property (nonatomic, strong) NSMutableArray ...
1
vote
1answer
24 views
Is it possible for a NSTimer to trigger before the specified time?
I have been using NSTimers to trigger certain events in my app which are time-sensitive (basically that have to happen when I tell them to happen with up to the second resolution). However, I have ...
0
votes
0answers
28 views
Parsing json with jsonmodel on iOS - it keeps returning (null)
I'm just testing JsonModel on iOS.
Slaughterhouse.h
#import <Foundation/Foundation.h>
#import "JSONModel.h"
@protocol Meat @end
@interface Meat : JSONModel
@property(strong, nonatomic) ...
0
votes
1answer
17 views
iPhone iOS how to initialize GCD dispatch timer with a specific fire time?
I'm looking to start the timer in the code below at a specific time and cannot find a way of instantiating dispatch_time_t with the time I want. I'm particularly not sure how to get ...