Muutke küpsiste eelistusi

Karma-based API on Apple Platforms: Building Privacy Into iOS and macOS Apps 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 220 pages, kõrgus x laius: 235x155 mm, kaal: 454 g, 96 Illustrations, black and white; XXIII, 220 p. 96 illus., 1 Paperback / softback
  • Ilmumisaeg: 30-Aug-2019
  • Kirjastus: APress
  • ISBN-10: 1484242904
  • ISBN-13: 9781484242902
  • Pehme köide
  • Hind: 32,95 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 38,76 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 220 pages, kõrgus x laius: 235x155 mm, kaal: 454 g, 96 Illustrations, black and white; XXIII, 220 p. 96 illus., 1 Paperback / softback
  • Ilmumisaeg: 30-Aug-2019
  • Kirjastus: APress
  • ISBN-10: 1484242904
  • ISBN-13: 9781484242902
Leverage the best techniques provided by Apple to build apps with maximum privacy for your users. This book explores not only the how-to steps for implementing privacy in your apps, but also answers workflow questions about what information you actually need.Do you need full access to a devices contacts? Do you need to have location services enabled in the background constantly? This book explains how to selectively enable services and how to make apps that can continue to function even when the user refuses to share data. Understanding the needs of your users and the expectations of Apple in reviewing your app will make better apps. 

You'll see how to ensure that you make it through the App Store review quickly and without the need to go back and develop privacy protocols that should have been in place to begin with. Not only is developing with privacy in mind good from a moral standpoint, but it also helps you create leaner apps that set themselves up for less potential data breaches and issues later on in distribution. 

While a basic understanding of app creation is expected, no deep understanding of Cocoa(Touch) or Swift will be required as code will point to the Apple Documentation.



What You'll Learn







Important APIs and how they affect privacy

Work with the camera, Siri, maps, and other common iOS services and hardware

Effectively allow notifications and advertising without affecting privacy



Who This Book Is For

App builders interested in creating apps that respects their users privacy.







Users willing to learn about the technicalities behind apps that respect or not their privacy
About the Author xiii
About the Technical Reviewer xv
Acknowledgement xvii
Introduction xix
Chapter 1 Common API Elements
1(1)
Description Strings
1(2)
Authorizations Alerts
3(2)
Revocation of Allowances
5(2)
Always Check Authorization Status
6(1)
Ask Again
7(2)
All the Apps in the Settings
9(5)
Settings, General, Reset
14(1)
Review on the App Store
15(3)
Conclusion
18(1)
Chapter 2 Photos and Camera
19(1)
Full Access and Geolocation
19(3)
A Picture Worth 1000 Metadata
20(1)
Convenience vs. Privacy
21(1)
Pick Only One or a Few Pictures
22(2)
Camera-Only Access
24(4)
Not for Your Simulator Yet
26(1)
Inside That info Dictionary
26(2)
Export Without Location?
28(1)
Write-Only Access
28(4)
Photos App Wants Access to Your Photo?
32(2)
Facial Recognition with Vision
34(1)
That Amazing TrueDepth Camera
35(1)
Conclusion
36(3)
Chapter 3 Location and MapKit
39(1)
What is Location on iOS?
40(1)
User Location
41(3)
Nothing Happens?
43(1)
When You First Start an App
44(1)
Always or When in Use?
45(2)
Provisional Always Authorization
46(1)
With Great Power
47(1)
Core Location
47(1)
What Is a Coordinate?
48(1)
Geocoding and Decoding
48(6)
Show Me the Code
51(2)
Even Without Localization Services Enabled
53(1)
Fixed Location or Moving Location
54(1)
Elevation of Privileges
55(3)
Less Reasons to Use Always in iOS 13
57(1)
Temporary Authorization iOS 13
57(1)
MapKit Knows Your Country
58(1)
Note the Arrow
59(1)
One More Thing
60(2)
On the Mac
62(1)
Conclusion
63(2)
Chapter 4 Contacts
65(1)
The (Long) List of Properties
65(1)
Different Kinds of Developers
66(3)
The Good Developer
67(1)
The Bad Developer
67(2)
The Ugly Developer
69(1)
You Don't Need to Ask Permission
69(3)
Select Multiple Contacts
71(1)
What Was That with Location?
72(2)
Managed Contacts
74(1)
On the Mac
74(3)
The Picker on the Mac
76(1)
Who's Contact? My Contact!
77(1)
Conclusion
78(1)
Chapter 5 Calendar and Events
79(1)
The Models
79(2)
Calendar Chooser
81(1)
What Have You Done?
82(1)
Geolocating Your Appointments
83(3)
What Exactly Is in the Structured Location?
85(1)
I'll Show You Where You Were
86(2)
The Special Birthday Calendar
88(1)
EventKitUI Still Needs Access
89(5)
The List of Calendars
91(1)
The Event View Controller
92(2)
On the Mac
94(1)
Conclusion
95(2)
Chapter 6 Health and Fitness
97(1)
Adding the Framework
97(1)
Explain to the User
98(1)
Central Database
98(1)
The Core: Quantity & Unit
99(1)
The Source: Object Type
99(1)
The Stored Object
99(1)
All Properties Are Read-Only!
99(1)
Not Even in Your App's Privacy Settings
100(1)
Getting the Permission
100(1)
Your Missing "me" Card from Contacts
101(1)
A Different Kind of Alert
101(4)
Proportional Collection
105(2)
A User Can Always Change His Mind in the Settings
107(1)
Workouts --- and Their Maps
107(6)
Deleting Objects
113(2)
Know Which Objects Were Deleted
114(1)
HealthKit onwatchOS
115(2)
Requesting Access
115(2)
Fitzpatrick Skin Type
117(2)
Reproductive Health
119(1)
Sexual Activity
119(1)
Health Records
120(15)
Preparing Your Simulator
121(3)
Adding the Entitlements
124(1)
New Authorization Model
125(4)
The Full Monty
129(2)
Get Request Status
131(1)
The Argonaut Project
132(1)
Don't Ask Too Much
133(1)
I'm Concerned About Preconditions, but
133(2)
Apple Doesn't Want Your Data
135(1)
Statistics
136(1)
Statistics Collection
137(1)
On the Mac
137(1)
Conclusion
137(2)
Chapter 7 Siri and Search
139(1)
The Machine Is Learning
139(1)
Suggestions
140(1)
Access to Your App
141(9)
Ask Again
141(2)
A New Capability
143(3)
Resolve
146(1)
Confirm, Optionally
147(2)
Handle
149(1)
Your App Has a Siri Menu... or Not
150(2)
Person
152(1)
A Connection to Your Contacts Database
153(6)
Saving and Retrieving Contacts
159(5)
A Common Directory
160(4)
Authentication!
164(4)
How to Fix This?
165(3)
NSUserActivity is Tracking You
168(8)
Spotlight
170(1)
Proactive Suggestions
170(1)
The Call-Back
171(1)
So What Is a Shortcut?!
172(4)
The Siri Watch Face
176(2)
Relevant Shortcut
177(1)
Deleting Any Trace
178(1)
Spotlight
178(1)
NSUserActivity
178(1)
Intents
179(1)
Public Indexing
179(1)
Turning Off Siri
180(1)
Apps Using Your Data
181(1)
INInteraction and Custom Intents
182(3)
Contact Integration
185(1)
AppleBot
186(1)
On the Mac
186(2)
Conclusion
188(1)
Chapter 8 HomeKit
189(1)
Smart Hack?
189(1)
Lights, Camera, Action
190(2)
Remotely?
190(2)
End-to-End Encryption
192(1)
The Key and the Permission
193(1)
The Home Manager and Simulator
193(3)
Name Your Home
195(1)
Rooms and Accessories
196(2)
Let's Browse!
196(2)
HMAccessory
198(3)
Setup Code
200(1)
And in the Real World?
201(2)
Reachability
202(1)
Services and Characteristics: Bluetooth Anyone?
203(2)
Scenes and Automation
205(1)
User Management
206(1)
Presence
207(1)
Bridges
207(1)
Range Extenders
208(1)
Media Accessories
208(1)
Apple TV
209(1)
Siri on iOS
209(1)
On the Mac
210(2)
Cryptography and HAP
212(1)
Conclusion
213(2)
Index 215
Based in Düren, Germany, near Cologne, Manuel Carrasco Molina, better known as StuFF mc, started programming with his C64 at age 11 in 1987. He entered professional software development in 1997 and has been developing since. He founded the first French podcast about Apple in 2005 and dove into iOS development at the launch of the SDK in 2008, after spending the first half of his developer career in the Microsoft technologies. He ran ObjCGN.com/SwiftConf.com from 2012 to 2017 which he left in good hands at a previous employer. When he's not developing for the Apple Platforms Stuff is an involved activist and/or local politician (4 years at the city council) in the matters of environment (Hambach Forest) and refugees he spent a few times in east european countries helping his brothers and sisters. Stuff's mother tongue is French, but he also speaks fluently German and Spanish, while speaking a bit of Dutch, Arabic and Italian.