This is my code, i'm trying to drag and drop a card which will animate on touchesBegan, but the animationImages are larger than the initial card image before touches begin.
How can i change the UIImageView to accomdate the animateImages sizes?
cardAnimationArray is an array with 19 images xxx1.png, xxx2.png... which have various sizes...
I really wonder if it possible to make some text in the same UILabel in diferent colour and diferent size ?
if yes how ?
Please thank you so much for the further help.
...
Hi, i'm trying to implement this code for accelerometer use but i'm getting a compiler error:
stray /342, stray/200 ... for size,currentTouch, position object's and so on ...
why?
code:
//GravityObj.h
@interface GravityObj : UIView {
CGPoint position;
CGSize size;
CGPoint velocity;
NSTimer *objTimer;
...
Hi, i used the ib to create a uiimageview footer in the tableview, i want that the image will appear all the time while rolling and not just when rolling to the end of the table,
is there a way to d that?
...
Hi Everyone,
I have problem with this code, it's working on debug environment. On the instruments i'm seeing memory leak problem on this function, instruments is giving warning that
Category Event Type Timestamp Address Size Responsible Library Responsible Caller
27 SocialNetwork Malloc 00:19.951 0x3d64d20 80 Foundation -[NSKeyedUn...
In a method, I'm having following code:
NSString* tempString = (NSString*)arg;
NSArray* notificationDetails = [tempString componentsSeparatedByString:@"##"];
NSString* tempString1 = [notificationDetails objectAtIndex:2];
.
.
.
.
.
.
NSLog(tempString1);
When I compile the code, its compiling without any error and warning.
But while ru...
I am making a simple game app where you press a left/right button, and a UIImageView moves and animates. Here is the problem - I want the UIImageView to stop moving when it touches
self.view.bounds.size.width
How do I do this?
Here is the existing code :
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouc...
While I'm prototyping games, I frequently need to go back to compare with older versions, to better get a feel of if I'm on the right track or not. But it's a lenghty process to have to check out the old version and re-export everytime I need to check a specific version. It'd be so much smoother if I could simply launch different version...
I've noticed that some of Apple's examples include both a retain and readonly modifier on properties. What's the point of including retain if no setter gets generated when we're using the readonly modifier?
Example: @property (retain, readonly) NSString *title; from the AnimatedTableView sample.
...
ok i have a plist like this
`
<dict>
<key>Rows</key>
<array>
<dict>
<key>WireSize</key>
<string>16 AWG</string>
<key>Children</key>
<array>
<dict>
<key>Cooper 60°C (140°F)</key>
<string>0</string>
</dict>
<dict>
<key>Cooper 75°C (167°F)</key>
<string>0</string>
</dict>
<dict>
<key>Cooper 90°C ...
Hi guys,
In my project I should use midi file, but iphone can't play them. I found out that Timidity++ library may be portable to iphone. I downloaded source and tried to build it use build_for_iphoneos.sh script, but always have error - "build_for_iphoneos.sh: line 119: ./configure: No such file or directory".
Any one, please help me!...
Hello. There seems to be no available documentation for the Objective-C client for the Google Data API. Google's API help webpage only has options for .NET, Java, Python, and the HTTP Protocol. I want to access data from a spreadsheet on my Google Docs account, and then add new data.
I have added the correct source codes to my projec...
I'm trying to basic video recording. I'm facing few issues with them.
When I start the app, its showing camera ready for recording. At the bottom of the view, there's record button and cancel button. When I click record button, it starts recording. When I click record button again, it will not save and ready for next recording. Its showi...
I have downloaded FFMPEG via svn, and put the gas-preprocessor into usr/local/bin. But, when I try to post the following code into terminal, it says: "-bash: ./configure: No such file or directory"
This is the code:
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor.pl /Developer/Platfo...
Hey there,
I'm fairly new at this, but I think what I'm looking to do makes sense. I have a xib that is displayed in portrait and one that is displayed in landscape. Both views are similar, but have a few differences. Some of the buttons, labels and textfields are the same.
I can reveal one and hide the other when the orientation is...
Is there any GPGPU library for iPhone?
...
I'm working on my first app using Core Data and I need to assign a type (with an associated name attribute) to a couple of entities.
Below is my object model so far.
The room and item types will be updated from time to time over the network.
Is this the best way to implement this using Core Data? Thanks :)
Edit: To try to explain be...
iPhone page one is written.. as view based app, any simple "how to" to make a new page, and how to get a button to take me there?
Also looking for a "how to" make an info button/page to flip..
Anyone? Thx a lot :-)
...
After the user taps a tableview cell, I'd like to slide open a small view just below the cell . The first screenshot of these two apps show this:
Tweetie 2: http://itunes.apple.com/us/app/tweetie-2/id333903271?mt=8
Pastebot: http://itunes.apple.com/us/app/id344614116?mt=8
I know how to dynamically increase the height of a cell but th...
Hi,
i'm using webservice to return data to my mobile applicaion.
when some field mixed with hebrew(right direction) and english(left direction)
it's break the SOAP-XML serializer
someone can help me with this problem
thanks
...