Xcode is Apple's integrated development environment (IDE). This tag should only be used for questions about Xcode itself, not general Mac or iOS programming topics. Use [cocoa] for Mac programming questions, and [cocoa-touch] or [ios] for iOS programming questions.
0
votes
2answers
11 views
Segue use Inheritance class
Hi i want to replace with a segue so i can use view controller on my storyboard
1ViewController *viewController = [[1ViewController alloc] initWithSFTPConnection:connection];
...
0
votes
0answers
2 views
Lock screen orientation for a single controller when there's a UITabBar in IOS 5 & 6
Following are the main poins I have.
I'm new to IOS development
I need to support IOS 5 and IOS 6 in my IOS app
I have a UITabBarController in AppDeligate file as follows.
UIViewController ...
0
votes
0answers
6 views
Testing a Mac App on Registered Devices
I have a Cocoa Mac App that I don't know if it will on the Mac AppStore.
The application is still in development, and I want few persons to be able to launch it on their devices while the app gets new ...
0
votes
0answers
7 views
How to resize Facebook Profile Picture by height on Xcode?
How do I resize Facebook avatar with WIDTH: AUTO & HEIGHT: x amount ? Code below works but when the avatar is wider, it appears that the image is cramped.
/**
* Update avatar
*/
- (void) ...
0
votes
0answers
8 views
Image Folder icon as stack of images similar to IPad
I have been searching all over but I am unable to solve my problem. I have folder with only images in it. I want to set the icon of that folder as the stack of images with top image being the first ...
0
votes
2answers
25 views
UITextField font style not changing
I have the following problem - I want to change the UITextField font to a custom one. I am using this line of code:
textField.font = [UIFont fontWithName:@"fontname.ttf" size:20];
I want to use ...
0
votes
1answer
33 views
NSCFString objectAtIndex: unrecognized selector sent to instance Objective C
I am trying to get some json data and show it as text in a UILabel but I keep on getting a app crash with the following error -[__NSCFString objectAtIndex:]: unrecognized selector sent to instance ...
0
votes
0answers
17 views
stringByEvaluatingJavaScriptFromString and applicationDidEnterBackground in iOS 6.0
When I invoke stringByEvaluatingJavaScriptFromString from applicationDidEnterBackground function, everything is working except changing CSS or DOM elements. Those executions happens only while ...
0
votes
2answers
30 views
xcode I want to change the first xib on launch
I created an IPhone app, then I had to convert it to IPad app. Now, I added a new Objective-C Class which includes XIB, .M and .H files. and I want that new XIB file to be shown on launch.
my new ...
0
votes
1answer
28 views
recieved memory warning and crash the app when capture more than 4 images?
In my app I need to upload 6 images to a server. I capture the image then upload it and then go to the next one and do the same.
When I reach the 5th image and after receiving 3 or 4 memory warning ...
0
votes
2answers
15 views
hide keyboard in secondary viewcontrollers when pressing background storyboard
I've been scourging the internet and saw several promising answers but none that worked for me. The problem I have is that I have many ViewControllers that I placed in Storyboard mode.
Lets say in ...
0
votes
0answers
11 views
update code to new Xcode with storyboard project
Hello I got this problem when i going to use sample code to connect to sftp.
EDPFTPViewController *viewController = [[EDPFTPViewController alloc] initWithSFTPConnection:connection]; i notice ...
-1
votes
0answers
27 views
How to make Server call in ios for json Parsing and Response of json from webservice
public class Servercalls {
public String response_str="";
public HttpClient httpclient = new DefaultHttpClient();
public HttpPost httppost = new ...
0
votes
5answers
50 views
`NSUserDefaults` not saving float properly
I am building an application in which I want to save some user data by using NSUserDefaults, and it is a property of one of my controllers as following:
@property (nonatomic, strong) NSUserDefaults ...
0
votes
0answers
19 views
Stream Open Error for FTP Upload in IOS SDK
I try to upload the image on FTP Server with Apple's Sample code.
But i got the error like as: Stream Open Error.
I think there is a problem with modes(active/passive). But how would i change it?
...