swift


is it possible save data from different view controller and show it at same tableviewcell?


my project have A table view controller & B view controller.
A have name, company & phone number need fill in.
B just have job number need fill in.
I expect when I finished A then click next button then go to B page.
and B page had save button, it can save A & B user info (core data)
I expected "777777"(Job number) will show it at same table view cell
enter image description here
Thanks all!
What you should do:
Save info like name, etc on ViewController A in a dictionary.
Pass it to viewController B while pushing it over stack.
In B ViewController modify existing dictionary that you passed from A VC and append new key - job number in it.
Then simply save it using core data.
Check it out for core data.

Related Links

Distinction between private and fileprivate top-level classes
Filter navigation properties of one-to-many
Why isn't this array of dictionaries being copied/ assigned?
Why can a numeric literal be interpreted as an NSNumber in Swift?
Cannot build any Swift project at all due to strange error about MacOSX10.11.sdk
How do I add initial value to empty string?
How to define this API protocol?
Present viewController after touchUp GIDSignInButton()!
Background REST API call in ios with timer
Keeping Apple Watch Awake for more than 70 seconds (watchOS 3)
How do I compose the CoreMidi MIDISendSysex Request in Swift 3?
iOS Swift can't re-show tabbar
Timer.scheduledTimer not executing selector function
AVPlayerLayer loading low resolution videos, but not more heavy ones
Swift: init object error: Could not cast value of type 'NSNull' (0x1090c0918) to 'NSString'
How to execute terminal command in swift?

Categories

HOME
udp
reverse-engineering
json-ld
label
docker-swarm
survival-analysis
phaser-framework
x-frame-options
typeahead
sendkeys
medium-editor
zoho
ng2-dragula
servicemix
net-snmp
bus-error
cep
frp
positioning
pitest
red-black-tree
crt
oracle-xml-db
google-drive-realtime-api
transient
autocompletetextview
rhel.net
socketscan
powermta
finite-element-analysis
facebook-chatbot
3scale
fqdn
floor
ideone
drawingarea
sapui
mouseclick-event
livescribe
android-bitmap
react-native-fbsdk
qos
pdfkit
debugdiag
console-redirect
date-format
search-regex
proxygen
drf-nested-routers
hyperthreading
sourcegear-vault
unity5.3
lmfit
android-snackbar
prezto
ffserver
leadtools-sdk
jai
client-side-validation
c++-actor-framework
em
surrogate-key
data-generation
sanitization
modeshape
loop-invariant
stagefright
gridworld
qtgui
database-permissions
awesomeprint
sametime
bulbs
pitch
javascriptserializer
n-layer
viewdidload
posting
port-scanning
winverifytrust
linfu
code-design
oggvorbis
winsnmp
method-signature
data-entry
standardized

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App