I am new to programming so any and all help is appreciated. Is it possible name outlets and actions as well as any text for labels associated with those outlets and actions via a database. I am trying to create a question template that may change on the gender and age of the person. So what I am thinking is to create one set of code that loops until it is told to stop instead of rewriting the code over and over for all of the different templates needed. If this is possible, are there any pitfalls that I should be wary of or any additional words of wisdom. Thank you in your advance for your help. Cheers!
Objective C - Naming Outlets and Actions via a Database
182 Views Asked by Jay Taylor At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in IPAD
- Setting View orientation to portrait is ignored
- How to force close ipad/iphone keypad when input element is not focused using JS?
- UIDocumentInteractionController presentation style
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Exchange plist data between 2 iPad using iCloud
- an app supporting arm64 and armv7 running on arm64 and ios 7 ipad air
- My SIOSocket get disconneted automatically when i locked my ipad
- using livestream video in iOS application
- Always shown vertical and horizontal scroll indicator on a uiwebview
- Is it possible to opt your iPad app out of multitasking on iOS 9
- Bind html button click with objective c
- iPhone App won't run on ipad at 2x resolution
- Missing icon and storyboard files, iOS 7 and 8, Xcode 6
- iOS infinitely deeply nested TableView/UIGestureRecognizer view tree AND iPAD requires 2 finger scrolling on a tableview
Related Questions in CORE-DATA
- Swift code with multiple NSDateFormatter - optimization
- IOS Where To Persist Current User from Back-end
- iCloud Core Data "no document at URL"
- restrict sqlite-wal and sqlite-shm from icloud backup
- Delegate returning nil - Swift
- How to set a core-data attibute to nil, in Swift?
- iOS make task run on background thread Thread safe?
- Calling method on object in NSPredicate with Core Data
- How to get Managed Object context from RestKit 0.20
- Write NSData in NSHomeDirectory
- My app is crashing when I assign the managed object context to a variable
- Fetch unique object based on attribute name from coredata
- NSPredicate filter part of array
- Property 'package_number_7' not found on object of type 'User *' after Lightweight Migration
- Core Data relationship Many-To One
Related Questions in IOS4
- Perform some action depending upon the text in the inbox of iPhone
- iOS 4.3 image for Verizon iPhone 4
- How We Detect and Save the text Which is Written on iPhone/iPad Touch Screen?
- How to place image from url to Imageview in iPhone
- Recognizing the Text Drawn By using Bezier Paths
- Mapkit drawing a circle
- iPhone Tree Data Structure
- Memory Leaks vs High Memory Allocations?
- change size of viewcontroller - iphone sdk
- How do I use different images, depending on iOS device type?
- To restart the app from the home screen and not from the screen we left at
- iPhone Alternate View for Landscape Mode on Rotation
- Iphone SDK streaming the movies
- Objective C - Naming Outlets and Actions via a Database
- Can we display KML data on Google maps using Mapkit framework on iOS devices?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
What you are going to want to do is use the database just to fill in the fields and titles of things. These are just strings. The actual outlets and actions can be generic, and made many times with the same names.
What you would do is perhaps create a view in interface builder of a generic question template, and have the view controller load this NIB as needed to add a new question and place it, as well as load it with new data from the db.