Tagged Questions
0
votes
0answers
7 views
How do I set Build Settings -> Mach-O Type to none
I have two projects of identical code.
Project One works and has the Mach-O Type setting as none:
Project two fails no matter the setting (and I have to choose a setting) of Mach-O Type:
...
0
votes
2answers
37 views
NSPredicate crash on CONTAINS?
I'm trying to do a simple predicate filter on an array of objects.
The objects in the array have 2 properties, displayValue and value. I am trying to filter based on a search string and I get a ...
0
votes
0answers
12 views
uitextfield bottom of screen on uitableviewcontroller
I am trying to place a UITextField at the bottom of a UITableViewController.
And once you touch the textField, the keyboard comes up.
I first tried to simply place the textField on the last cell ...
7
votes
2answers
33 views
KVO notifications after mergeChangesFromContextDidSaveNotification
I'm using KVO to observe changes on a NSManagedObject. The NSManagedObject I'm observing is part of a NSManagedObject context that is on the main queue.
When I update this object in a background ...
0
votes
1answer
14 views
Access properties of an entity declared in .h file
I'm new to xCode and am trying to work with code I did not write. So sorry if this is a silly question!
After running my code, I create Entities here (Entities is defined by Entities.h):
Entities ...
0
votes
0answers
23 views
Don't star viewController when receiving remote notification
I have a problem with the notifications, when you push on the notification did not open the view that tells it to open when you push on the notice this only happens when the application is completely ...
0
votes
0answers
9 views
Don't start viewController with push notification app inactiva
I have a problem with the notifications, when you push on the notification did not open the view that tells it to open when you push on the notice this only happens when the application is completely ...
0
votes
1answer
19 views
iOS localizable.strings stops working after first run
I'm facing this weird problem (both on simulator and device):
My app is localized in many languages, if I build and run the app on the device (as well as on the sim), and the app was not installed, ...
0
votes
3answers
22 views
Transitions between UIView in the same UIViewController
I want to transit from UIView to another in the UIViewController when I press a button
I write this code:
- (IBAction)changeView:(id)sender {
CATransition* transition = [CATransition ...
0
votes
0answers
54 views
.app does not launch on simulator
I want to run the application on simulator for testing purpose on multiple devices , for that i asked to share the 4 files (Documents, Library, tmp, app file) which i got but problem is that when i ...
1
vote
0answers
23 views
Hide Volume Overlay While Setting Volume
I am attempting to set the volume to max on my initial view controller, while hiding the iOS volume overlay/hud. For whatever reason, if I use this code in my .m file:
...
0
votes
1answer
24 views
Limiting a pan gesture recognizer to a specific circle
I am using a circular gradient (ImageView) as a color wheel for my color picker. i want to limit the pan gesture recognizers shouldReceiveTouch to the gradient's position so the rest of the view is ...
0
votes
0answers
9 views
First Responder openDocument
I want to open images with openDocument method on First Responder.
I have connected main menu item Open to First responder openDocument and created new NSDocument.h, NSDocument.m and NSDocument.xib ...
0
votes
0answers
11 views
Updating CollectionView with NSFetchedResultsController
I have a UICollectionView that needs to be updated when the model has changed.
It is subscribed to the notification center in order to do so:
- (void)viewDidLoad
{
[super viewDidLoad];
...
0
votes
0answers
23 views
Shared instance multiple documents
i'm trying to understand how to use share instance, if i understand it correctly i can use it to work with two document windows. For example i'm programing drawing app its simple painting app with ...
1
vote
3answers
26 views
Slider altering the brightness of UIColor
I have developed a color wheel using a circular gradient responding to a pan gesture recognizer and added a slider controlling the color's alpha value, as well as text fields that print out the R, G ...
1
vote
0answers
23 views
want zooming functionallity in iphone camera using AVFoundation framwork
my requirement is to zoom a camera by using UISlider .
i have done it successfully by adjusting the AffineTransform of AVCaptureVideoPreviewLayer
here is code of it
...
-8
votes
3answers
70 views
Starting iPhone/iOS development [on hold]
I am looking for an advice. I was offered at work to start to learn iOS programming with goal to develop some app on iOS for future.
I am a bit concerned, although I have done some iOS programming ...
0
votes
3answers
72 views
Changing class of object in XCode
I am trying to give an object in the interface builder a custom class. When typing in the class name in the Identity Inspector it automatically finishes the line as its already present in the dropdown ...
0
votes
1answer
28 views
Duplicate interface definition and expected selector errors
I have been working on an iPhone app and came across 2 errors today and was wondering if anyone could point me in the direction of fixing them. firstly, I have the code below in ViewController.h:
...
3
votes
2answers
80 views
Unused parameter warning
I am getting "unused parameter 'testString'" warning from following code. But I am using testString to log. So how come it is unused ?
- (void)getString:(NSString *)testString {
...
-1
votes
1answer
22 views
AWS download file to iOS
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentPath = [paths objectAtIndex:0];
NSString *temp = [NSString ...
0
votes
0answers
11 views
Audjustable + UISlider, not playing seekToTime when UISlider changes
I'm using Audjustable class to play Mp3s from my webservice. It's a great class to use, I recommended.
But I got a problem and I would like to you guys help me out.
When I swipe my UISlider, the ...
0
votes
0answers
35 views
NSRangeException while adding objects to NSMutableArray
I am programming the search bar logic in an iOS application. I have 1 NSArray "results", which has the entities returned from a NSFetchRequest, and an empty NSMutableArray "resultados" where I want ...
-1
votes
0answers
35 views
clang error: linker command failed with exit code 1 (use -v to see invocation)
I got this eror in Xcode.
This is the log.
The last line is highlighted int Xcode.
I included all three files i am working with. First main.m then Fraction.h lastly Fraction.m
Log
Ld ...
0
votes
1answer
38 views
error when add HTML path in ios
I have this error:
"No visible @interface for 'NSBundle declares the selector'pathforresource: of type" .
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ...
-1
votes
5answers
53 views
How do I zoom an MKMapView to the user's current location
I am trying to show the mkmapview to the users current location. They will display only city name. But they are not specify the exact users current location. I want to display the users exact ...
0
votes
0answers
11 views
CoreImage opens in CustomView with wrong frame
When image opens in CustomView it gets to 517x425 frame size which is not set up any where the default size of image is 600x600. i think this part of code has something to do with it
- ...
-1
votes
1answer
42 views
How to insert values using sqlite in iphone
i am trying to insert values.But values are not saved.This is my coding.i alredy created the database using sqlite manager.That database name is "feedback.sqlite". If i run the code no errors will be ...
-1
votes
0answers
61 views
My app has crashed - how can i get what variables are set to?
My app has crashed, and is currently showing me the line I crashed on. I have exception breakpoints on. Is there any way for me to find out what my instance variables are set to at this point, to help ...