Whenever I add a layer for Core Animation either from the nib or programatically, the NSTextFields (labels) in my interface get messed up. Here's a screenshot from Apple's BasicCocoaAnimations example. (Look at the text fields on the left, somehow they're drawn sharper than normal)
Note that if I add a layer in IB then it also gets messed up in IB itself before I even run my app.
Hi,
I've seen in (Apple) sample code two types of ways of allocation memory, and am not sure I understand the difference and resulting behavior.
// FAILS
NSMutableArray *anArray = [NSMutableArray array];
[anArray release];
// WORKS
NSMutableArray *anArray1 = [[NSMutableArray alloc] init];
[anArray release];
By "FAILS" I mean I get crashes/runtime warnings etc., and not always as soon as I call the release...
Any explanation appreciated.
Thanks
I want to create a XML file in csharp like the below format pls help me with the code
<MasterEntries>
<fruit>Apple</fruit>
<animal>Fox</animal>
<color>Violet</color>
</MasterEntries>
Using [NSScreen screens] I'm able to get all of the screens attached to the computer and their sizes, however I'm trying to find out their positions relative to each other (like in Arrangement in the Display preferences). Is there a way to do this? I've looked online and through the class references on Apple's developer site and found nothing. Thank you.
I work as a freelancer programmer for some clients and also create apps for myself. When I work for myself, obviously I work alone. I generally don't work in a linear way.
My big problems today are:
I have a lot of apps that use the same classes I have developed;
In the past, I put all these common classes on a directory outside all projects and included them on my apps using absolute paths, but this method sucks because by accident (if you forget) you may change a path or the disk and all projects are broken. Then I decided to copy those classes to my projects every time. Because the majority of these classes do not change frequently, I am relatively ok, but when they change, I am in hell;
When I change one of these classes I have to propagate the changes to all other apps using copies of them.
I have also tried to create frameworks but thanks to Apple, I cannot create frameworks for iOS and have to create libraries and bundles and create a nightmare of paths from one to the other and to the project to make that sh!t works. So, I am done with frameworks/libraries on Xcode until Xcode is a decent IDE.
So, I see I need something better to manage my source code.
What I need is this (I never used GIT on Xcode. I have read Apple docs but I still have these points):
does git locally on Xcode allows me to deal with assets or just code?
Can I have the equivalent of a "framework" (code + assets) managed by git locally?
Can an entire xcodeproj be managed as a unity? I mean, Suppose I have a xcodeproj created and want GIT to manage it.
How do I enable git on a project that was created without it and start designating files for management. (I have enabled git on Xcode's preferences, but all source control menu is grayed out).
Is git the best option? Do I have another?
Remember that my main condition is that the files should stay on the local computer.
Please save me (I am a bit dramatic today).
Thanks.
Hi,
i have this page:
login: [email protected]
password: m
I want to have the string "Editar mi perfil" aligned on the right, so i have added:
text-align: right
but it doesn't work,
I have tried also:
float:right
It works but goes a bit upper than I want.
Any idea?
Regards
Javi
Hi all,
I'm using MFMailComposeViewController class, and the MFMailComposeViewControllerDelegate protocol to send emails. When I run the application, I'm getting the message that the message is sent but the e-mail is not appearing in the to- address I mention. I tried doing it without cc- bcc-, is it happening because of that?
Thanks in advance.
Hi,
i have this page.
login: [email protected] password: m
You can see two selects in the filter for which i have this rule in gente.css:
td.select label{
margin-left:12px;
}
The problem: the rule is applied but doesn't appear in the Style tab of Firebug.
Any idea?
Regards
Javi
Are you an iPhone developer using tools other than Objective-C for your coding (i.e. Phonegap, Unity3d, Monotouch, Corona or Titanium, etc?)
Have you heard of or read section 3.3.1?
If you are concerned vote on the petition at [solicitation removed - see history]
Join the facebook group 'Article 3.3.1' and have your say: [solicitation removed - see history]
And most importantly contact apple through their web portal and ask for clarification
I haven't been able to found this on Google, so I thought maybe somene here knew if this was possible and if so, how to implement it =) thanks in advance for any answers!
What I am aiming for is overwriting this method so I can perform some actions before the sms/mail gets sent, then just allow it to perform its normal actions.
I am new to iPhone development. I just registered with Apple for the iPhone Developer Program. When I try to build, I am receiving an error:
Code Sign error: a valid provisioning profile matching the application’s identifier could not be found
I'm not sure what is wrong. I tried browsing the Internet but I get confused. Can anyone help me with what I should do?
Hello,
I am generating a hash from a NSString, using [myString hash] and the result I get is a negative value.
The Apple's documentation is saying :
(NSUInteger)hash
Return Value An unsigned integer that
can be used as
Any idea ?
Thanks
Hello,
Apple has disabled the overflow CSS aspect in mobile Safari so it is not possible to scroll inside a fixed height div. This is quite annoying.
While making an iPhone native app, is it possible to access WebKit settings to turn that feature on ?
I want to send an email if the build fails to the developers, with the fail details. I'm also wants to send a success email to the project admins, etc with the address to the new test application.
What is the proper tool to send the actual mail, TeamCity or NAnt?
Hi there,
Using the latest SDK from Apple, I noticed that while running on the iPhone works fine, the iPad version of my application doesn't "accept clicks" on any view/widget that is outside the "bounds" of the standard iPhone screen.
Any idea?
Thanks,
Reuven
Hello everybody,
Does anyone idea about how can create UItextivew like same as below so user can easily write text in proper format.
please check this link
https://devforums.apple.com/message/217857#217857
is this possible, i have no idea about this.
please anyone have idea above of the issue.
Thanks you,
Let's say in Apple API version 1.0, there is a class NSFoo with a property 'color'. API 1.1 adds property 'size'.
I want to know whether I can use the getter: myFoo.size
[myFoo respondsToSelector:@selector(getSize)] doesn't work as expected.
What's the correct way to find out if an object has a property? Thanks!
http://itunes.apple.com/us/app/bistromath/id309214622?mt=8
Number pad in second screenshot:
So is this some customization of the stock keypad? Modal view?
I am new to iphone development.I want to show a form a and store the contents in to a core data database after clicking the submit button.I have created a form.xcdatamodel and class events.h and events.m with reference to the apple docs.In some Sample codes the values are stored statically in the delegate class and they use core data delegate methods. But in my case the form view come after passing 2 views. I want to store the data entered here .How can i achieve it.Please help me out.Thanks.
Hi !
Is it possible to remove user mail signature programmaticly?
When I using MFMailComposeViewController, I dont want to have the usersignature at the bottom of the mailpage.
Regards.
I'm creating a share page for my website. I want the user to be able to send a message along with the formatted html.
so I have.
$message = $_REQUEST['message'];
$page = 'some html code';
mail($TO,$subject,$page, $headers);
I want the $message and $page to be added together.
if i send email from my smtp server, For Example in code if i set From to [email protected] and sent to an email address, than the recipient think that mail comes from anydomain. so how to confirm email source?
Hi,
I've read apple's Objective-C doc and am curious about using @synthesize. I've seen classes with a long list of @synthesizes and I've seen classes with one @synthesize then a long comma-separated list of ivars. So what's the difference between:
@synthesize ivar1;
@synthesize ivar2;
@synthesize ivar3;
and
@synthesize ivar1, ivar2, ivar3;
????