Hi. I've been playing with the iPad's SplitView template in Xcode. Here are two of the many important methods that are auto-generated for you by the Split View-based Application template...
AppNameAppDelegate.m
#pragma mark -
#pragma mark Application lifecycle
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOpt...
I have an app fully finished. It is very simple. Uses a toolBar up top with a few buttons. Under this is a WebView. The WebView only opens one URL and there is no way to get away from this site. Thats the point of it.
Now the issue. The status bar overlaps the toolBar. My temp solve is to hide the status bar, but I really need it...
Complete and utter neophyte to Objective-C and the entire Mac platform so don't flame me please =). Basically I'm trying to create a simple game. The game has a board which I've created a class for and a board is comprised of squares which I also created a class for (board and square respectively).
In my view controller I'm trying to ...
Why am I getting an "out of scope" error whenever I try to access the "url" variable in this loop?
for(NSString *url in self.winnerImageURLs) {
[mediaItemString appendFormat:@"{\"type\":\"image\",\"src\":\"%@\",\"href\":\"%@\"},", url, url];
}
The class of very item in the "self.winnerImageURLs" NSMutableArray comes back a...
Hello there,
So I've managed to get the feed from twitter and am attempting to parse it...
I only require the following fields from the feed:
name, description, time_zone and created_at
I am successfully pulling out name and description.. however time_zone and created_at always are nil... The following is the code...
Anyone see why th...
Hi Guys,
I am not sure why the following line:
addDetails.Address = [addDetails.Address stringByReplacingOccurrencesOfRegex:@" +" withString:@" "];
causes an "Unrecognized Selector Sent to Instance" error, closing my iPhone App in my Simulator(XCode).
What's wrong with my code?
...
Newbie in XCode & IPhone development.
I'm trying to create a game, where throwing an object (using a swipe gesture) will move the object to the direction requested and will continue with momentum until the border of the view.
Anyone has some code snippets (or links) I can look into for examples?
Thanks.
...
I have recently started producing applications for the Mac, on my most recent release I got overwhelming suggestions to get the app working on OSX 10.5 as I'm working in and compiling for 10.6.
I tried looking for the 10.5 SDK but couldn't find it anywhere to download! How can I go about compiling my app for older versions of Mac OS X u...
Hi,
I have a custom view controller that I push onto my navigation stack as follows:
myViewController *myVC = [[myViewController alloc] init];
[myVC generate:myData];
[self.navigationController pushViewController:myVC animated:YES];
the code runs fine, but when checking for memory leaks I get a warning that myVC is never released.
ad...
Hi Everyone!
Yesterday I felt in big issue that happens with all my projects. After I installed new Xcode 3.2.3 (for iPhone OS 4), all my projects started to spit out the "referenced from:" errors. I noticed that in new Xcode all the iPhone SDK versions earlier than 3.2 removed. But I have a projects that built perfectly for iPhone SDK ...
Hey,
here is a quick question,
i have my couple view controllers classes, and have some other classes.
i've found my self creating some methods in all of their implementation files, which are doing the same.
i would like to write some of my methods in a seperate file,
and import this file into my view controllers.
therefore, i will be ...
I'm just getting started with Mac and iPhone development, and naturally my first step is to change the color theme. I've found a theme I like here, but I can't find the folder they reference in my ~/Library/Application Support/ folder. How can I install these files?
Thanks!
...
I'm trying to build an application using the Canon EDSDK 2.8. I created a new Cocoa Application project in Xcode, and imported the headers and framework files. When I try to build and run (without writing any code), I get two warnings that say the frameworks are missing x86_64 architecture files. If I try and import the "EDSDK.h" header ...
Are there any recommended Basecamp plugins/stand alone apps for XCode/OSX to manage milestones & to-do's etc?
...
I'd like to display the contents of the property myarray, from the following singleton:
[Session sharedManager].myarray
I've tried these:
po [Session sharedManager]. myarray
po [[Session sharedManager] myarray]
but always get this error:
A syntax error near end of expression.
Any suggestions?
--- EDIT ---
I'm working with SDK...
Hi all,
I'm sorry if I didn't explain my problem well enough in the title.
In my application, I'm using a small subview to create a very basic calculator on the top side of the screen (I just have an UITextField to show the operations and two buttons). Instead of using a custom keyboard for it, I want to use the standard iPhone number...
Is it possible to add a feature to record the game play within your game without eating up too much memory ?
I want to allow the user to save there game as some sort of video file if thats possible ?
// Edit - made things easier to be more relistic//
The idea is that the user can use the app to change the textures within a pre-animate...
I need to be able to send text from the clipboard to an application I'm writing (in Objective-C) via AppleScript. Obviously I need to make my application scriptable (I'm currently reading the Apple Docs about this) but is this possible/easy-to-implement?
...
Hey,
I have created a Class (subclass of NSObject) which will hold all my SQLs/dbConnections etc..
in a seperate viewcontroller, i have instantiated the SQL's class and performed some actions, all went trough OK.
but.
one of my methods in the SQL's class is a method defined as follows:
-(NSString *)queryTable:(NSUInteger *)fieldnum
...
I'm using Quartz to do some basic drawing. I recently decided I wanted a background image for my app. So I went into my XIB file and added a UIImageView and set the background, looks good. However, when I run it, the Z-Index of the image is above my drawing. I googled a bit and found that you can do Layout > Send to Back in IB...but ...