ios - Why is this iPhone app's "quote" button not replacing the Text View's lorem ipsum? -
i working through "iphone introduction programmers" tutorial @ http://www.raywenderlich.com/21320/objectively-speaking-a-crash-course-in-objective-c-ios6, , present project @ http://jonathanscorner.com/project/quotes.tgz. tutorial's focus on providing iphone app randomly displays 1 of several quotes in text view when click on button. later on tutorial pushes further defining properties , storing , retrieving xml, i'm @ first "let rip!", offers first attempt running app within simulator increment of functionality, should when click button, randomly pulled quote appears. text should read-only far editing keyboard concerned.
the behavior presently observing simulator displays text view's native lorem ipsum. continues after clicking button, , when click on text view, pulls keyboard , edits it. i've checked wiring, , don't see failed duplicate tutorial shares. (the tutorial references viewcontroller.[h|m]; problem have prefix before takes prefix when creating project, e.g. cjshviewcontroller.h?) behaves 1 expect following tutorial point not wiring event handling or turning off edit mode text view.
any or nitpicks welcome. (i programmer beginning in ios, if there "programmers new ios development" errors, may have made @ least one.)
thank you,
the function wrote changing text in text view working perfectly. problem iboutlets. never linked outlet text view text view , consequently when assign new text it, has no go.
Comments
Post a Comment