iOS development (OWN) Flashcards
armv6 architecture
hardware support for double precision floating point arithmetic
armv7
provides legacy software support for double precision floating point arithmetic.
The older iOS devices (iPhone, iPhone 3G, first and second generation iPod touch) had CPUs
only supported the armv6 instruction set
The iPhone 3G S (and iPad and third-generation iPod touch) has a newer processor
also supports the armv7 instruction set
compile for both
if you want your app to run on iPad and all iPhone/iPod toch models. Older iOS devices use arm6 and new ones use arm7
The only reason to not compile for one or the other
would be reduced app size since it only needs one compiled version of the code. But unless you have a seriously large codebase, this file size difference will be pretty marginal.
dispatch_async
Submits a block for asynchronous execution on a dispatch queue and returns immediately.
dispatch_async
Submits a block for asynchronous execution on a dispatch queue and returns immediately.
dispatch_get_main_queue
dispatch_get_main_queue
DISPATCH_QUEUE_PRIORITY_HIGH
DISPATCH_QUEUE_PRIORITY
awakeFromNib
awakeFromNib is called when the controller itself is unarchived from a nib. viewDidLoad is called when the view is created/unarchived. This distinction is especially important when the controller’s view is stored in a separate nib file.
key chain
The iPhone key chain is a secure area within the iPhone. This is where many apps store their information like license keys, username-passwords and more.
Managing Application Entitlements
iOS provides access to special resources and capabilities—such as whether your application can be debugged—through properties called entitlements
isa
a pointer to the class that the object is an instance of (that’s how the object and Objective-C runtime knows what kind of object it is).
Jenkins
s an open source continuous integration tool written in Java.Builds can be started by various means, including being triggered by commit in a version control system, scheduling via a cron-like mechanism, building when other builds have completed, and by requesting a specific build URL.
vulture
http://farm4.staticflickr.com/3122/3160312166_b39eb7b133.jpg
gerrit
Gerrit is a web based code review system, facilitating online code reviews for projects using the Git version control system.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
gerrit
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer. This functionality enables a more centralized usage of Git.
AwakeFromNib
When a nib is loaded, the nib loader allocates and initializes all objects, then hooks up all of their outlets and actions. Because of the order in which this happens, you cannot access outlets in your initializer. You can try, but they will all be nil.
After all outlets and actions are connected, the nib loader sends awakeFromNib to every object in the nib. This is where you can access outlets to set up default values or do configuration in code.
git push origin ql_alliance:refs/for/ql_alliance
Counting objects: 21, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.35 KiB, done.
Total 11 (delta 8), reused 0 (delta 0)
remote: Resolving deltas: 100% (8/8)
remote: (W) 5fc0e2f: commit subject >65 characters; use shorter first paragraph
remote: (W) 5fc0e2f: commit message lines >70 characters; manually wrap lines
remote:
remote: New Changes:
remote: https://gerrit.dev.monitise.net:9090/6787
remote:
To ssh://zhuange@gerrit.dev.monitise.net:29418/QuantumLeapP2P_PoC
* [new branch] ql_alliance -> refs/for/ql_alliance
.ipa
An .ipa file is an iPhone application archive file which stores an iPhone app. It is usually encrypted with Apple’s FairPlay DRM technology.
entitlements.plist
get-task-allow
NSURLConnection
An NSURLConnection object provides support to perform
asynchronous loads of a URL request, providing data to a
client supplied delegate.
Asynchronous Callbacks
Sometimes functions can take a long time to return
LoginController
showCannotConnectError
ConnectionErrorViewController_iPhone
nib file
he resulting interface is stored as a .nib file, short for NeXT Interface Builder, or more recently, as a .xib file.
Designated initializer
initWithNibName
delegation pattern
where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object.