What do atomic and nonatomic mean in property declarations?
@property(nonatomic, retain) UITextField *userName;
@property(atomic, retain) UITextField *userName;
@property(retain) UITextField *userName;
Let's talk about the operational difference:
What do atomic and nonatomic mean in property declarations? atomic was added as a keyword in recent versions of llvm/clang).
Assuming that you are @synthesizing the method implementations,...
Recent Posts
Showing posts with label IOS. Show all posts
Showing posts with label IOS. Show all posts
iOS How to send SMS with iPhone
Restrictions
If you could send an SMS within a program on the iPhone, you'll be able to write games that spam people in the background. I'm sure you really want to have spams from your friends, "Try out this new game! It roxxers my boxxers, and yours will be too! roxxersboxxers.com!!!! If you sign up now you'll get 3,200 RB points!!"
Apple has restrictions for automated (or even partially automated) SMS and dialing operations....
How to embed custom font in iOS iphone app
iOS 3.2 and later support this. Straight from the What's New in iPhone OS 3.2 doc:
Custom iOs Font SupportApplications that want to use custom fonts can now include those fonts in their application bundle and register those fonts with the system by including the UIAppFonts key in their Info.plist file. The value of this key is an array of strings identifying the font files in the application’s bundle. When the system sees the...
Making filetypes handling association with ios iphone app
File type handling is new with iPhone OS 3.2, and is different than the already-existing custom URL schemes. You can register your application to handle particular document types, and any application that uses a document controller can hand off processing of these documents to your own application.For example, Molecules handles the .pdb and .pdb.gz file types, if received via email or in another supported application.To register...
Objective-C: How to make UIText move up when keyboard is visible
With the iPhone SDK:
I have a UIView with UITextFields that brings up a keyboard. I need it to be able to:
Allow scrolling of the contents of the UIScrollView to see the other text fields once the keyboard is brought up
Automatically "jump" (by scrolling up) or shortening
I know that I need a UIScrollView. I've tried changing the class of my UIView to a UIScrollView but I'm...
Subscribe to:
Posts (Atom)