ios-5-cookbook's People
Forkers
hhxx1314 kattyb95 adamgliea luxrisyran marathoner1234 ilanchezhiank brightsoftdev lorenhsu1128 magicstar sahnil mvilab masbog pbnkp gvr37-r-boon yehnan smitrob xeniah michaelob wjhwsh simboyz jardar pedrocifuentes jeremyprz morcutt14 yishenggudou elishafu jsooriah zeekerg cerveza oldfrank jaketyler zxcvbnm4709 git109 mbelmont b2k wjcwukong doubleace3 mufc-michael sqwerl kentashiro mrt tianwalker2012 randymcmillan babyrodri lqik2004 jaimevalencia nivertech agali phoenixruyi chenkaigithub allentofight viacheslavlulakov tierney ziqew janak-nirmal witkai eunwoogi potatohwang sumanthk2006 aeikman aking66 mikehc dyoor ycnega tvpavan xlhoy lionxing rjchen worldeason xicao evilgg benrasmusen ganlv oojim daneestar tutu12777 tfajfer kaminus joekueser smallqiang sonpham1102 codingtogether74 netviet24h silvansky nambuituan iebox zazk mattvv webgou amrzagloul kinwahlai nbomberger ieswxia jigarm wave2future brashworks rand mcfets sourcebits-ashishasawa jeo4longios-5-cookbook's Issues
iOS-5-Cookbook Chp #4 Cube sample
Dear Concerned,
Sample code works well, bit confuse to manage below scenario
- How to manage if Destination and Source width is different
Thanks & Regards,
Zahur
UIPageViewController examples invalid
The docs for UIPageViewController explicitly say that it should not be subclassed, but that's what you did.
empty directories
Are we missing any code the empty directories like c05/12-IB Tab Bar? Was this a mistake or should we be expecting something?
Thanks the book looks great so far.
Determining presence of hardware keyboard.
Thanks for the heads up on this code. I couldn't get your original code to work in all situations so I came up with the following:
// This works when [UIDevice orientation] just returns zero
UIDeviceOrientation or = (UIDeviceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
if((or == UIDeviceOrientationLandscapeLeft) || (or == UIDeviceOrientationLandscapeRight)) {
usingHardwareKeyboard = startPoint > ([constants screenShortSideDimension] - 20);
} else {
usingHardwareKeyboard = startPoint > ([constants screenLongSideDimension] - 20);
}
In my case I used a 1 pixel high UIView as my accessoryView. So I'm checking to see if it's within 20 pixels of the screen size.
Recipe 5-6 does not match
When I open recipe 5-6, it does not match what is in the book at all. I don't see any reference to a slider. I am downloading the zip file for the whole book.
Thanks
Chapter 23: Code not working
I've encountered a slight glitch in trying to implement your In App Purchase code. It doesn't seem to work anymore in Xcode 4.5 (even when deployed to an iOS 5 device).
First there's a problem with the keyboard. When I touch a key on my "real" keyboard I get the following log message. I can type on the on-screen keyboard though:
2012-12-20 17:07:44.073 HelloWorld[812:1b07] Unable to load persistent store at URL 'file://localhost/Users/versluis/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({ metadata = { NSPersistenceFrameworkVersion = 419; NSStoreModelVersionHashes = { UserDictionaryEntry = ; }; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( "" ); NSStoreType = SQLite; NSStoreUUID = "720C82C2-781C-4371-8952-3980B42FF342"; "_NSAutoVacuumLevel" = 2; }; reason = "The model used to open the store is incompatible with the one used to create the store"; }) 2012-12-20 17:07:44.076 HelloWorld[812:1b07] Unable to load persistent store at URL 'file://localhost/Users/versluis/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({ metadata = { NSPersistenceFrameworkVersion = 419; NSStoreModelVersionHashes = { UserDictionaryEntry = ; }; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( "" ); NSStoreType = SQLite; NSStoreUUID = "720C82C2-781C-4371-8952-3980B42FF342"; "_NSAutoVacuumLevel" = 2; }; reason = "The model used to open the store is incompatible with the one used to create the store"; }) 2012-12-20 17:07:44.078 HelloWorld[812:1b07] Unable to load persistent store at URL 'file://localhost/Users/versluis/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({ metadata = { NSPersistenceFrameworkVersion = 419; NSStoreModelVersionHashes = { UserDictionaryEntry = ; }; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( "" ); NSStoreType = SQLite; NSStoreUUID = "720C82C2-781C-4371-8952-3980B42FF342"; "_NSAutoVacuumLevel" = 2; }; reason = "The model used to open the store is incompatible with the one used to create the store"; }) 2012-12-20 17:07:44.080 HelloWorld[812:1b07] Unable to load persistent store at URL 'file://localhost/Users/versluis/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({ metadata = { NSPersistenceFrameworkVersion = 419; NSStoreModelVersionHashes = { UserDictionaryEntry = ; }; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( "" ); NSStoreType = SQLite; NSStoreUUID = "720C82C2-781C-4371-8952-3980B42FF342"; "_NSAutoVacuumLevel" = 2; }; reason = "The model used to open the store is incompatible with the one used to create the store"; }) 2012-12-20 17:07:44.081 HelloWorld[812:1b07] Unable to load persistent store at URL 'file://localhost/Users/versluis/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({ metadata = { NSPersistenceFrameworkVersion = 419; NSStoreModelVersionHashes = { UserDictionaryEntry = ; }; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( "" ); NSStoreType = SQLite; NSStoreUUID = "720C82C2-781C-4371-8952-3980B42FF342"; "_NSAutoVacuumLevel" = 2; }; reason = "The model used to open the store is incompatible with the one used to create the store"; })
Next, long-pressing the cow (which is very cute) brings up the Buy a Baa button, but no purchase is performed. It only ever brings up the "adults" audio sample, accompanied by this log entry:
2012-12-20 17:08:31.233 HelloWorld[812:c07] Error: Could not find matching products 2012-12-20 17:08:31.233 HelloWorld[812:c07] Request finished
Just thought I'd let you know for future releases.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.