Post

Replies

Boosts

Views

Activity

UIHoverGestureRecognizer Demo Project Error
HiI tried to caputre the hover event over a label as described from Apple in first link, I outlet for the label and added the gesture to itand before that linked the gesture to a function, but I keep geting the error "Use of unresolved identifier UIHoverGestureRecognizer"not sure why ? the simple demo is in dropbox link.--Kindest Regardsh ttps://developer.apple.com/documentation/uikit/uihovergesturerecognizerh ttps://www.dropbox.com/s/c1tjrjtzmd6wk05/Gestures%20Demo.zip?dl=0
13
0
1.6k
Nov ’19
Navigating from Table Cell to View Controller
HiWhat Im trying to do is navigating from cell to view controller, I tried 2 ways first by direct control+drag from table cell to the view controller and choosing show and the other is control+drag from the view controller that have the table to the destination view controller then using perfom segue, with both methods I get a pop over kind of view controller, haw ever i tried to change such as making segue type from show to details show it keep showing as pop over ? haw can we fix that ?--Kindest Regardsh ttps://www.dropbox.com/s/x6t1dfmkklm2srw/Table%20View%20copy.zip?dl=0
2
0
378
Apr ’20
Customizing UIContextualAction
HiWhen implementing the swipe function for Table View Cells we use UIContextualAction to customize the buttons that shows under, such as normal or dusctructive, haw I can custoize them such as changing the color, font size, maybe showing icons ? and haw to link them to actions ?--Kindest Regards
2
0
5.6k
Apr ’20
Core Data Fetching
HiIm strugeling in fetching data from core data first it was the egenric thing Im not sure if its solved or not, aftering getting an array of managed objects Im struggeling feeding its data to table view cell, I think it suppose to be a simple task ?--Kindest Regardsh ttps://www.dropbox.com/s/vb3cet085v05tvi/Core%20Data%20Simple.zip?dl=0
5
0
1.2k
Apr ’20
Implementing Table Search Bar
HiI want to do something like Apple Mail App, at top a search bar and it can be hidden, when I place the search field and top of table view then add a table view cell it pushes it under it if I put it outside the table view it doesnt scroll, so whats the standatrd here ?--Kindest Regards
2
0
391
Apr ’20
Strange Swift Code
HiWhen creating Core Data iOS project we get the below code, I find it strange to declare a variable then making it equal to a code ? or a result of a code without function calling ?--Kindest Regardsstatic var persistentContainer: NSPersistentContainer = { let container = NSPersistentContainer(name: "CoreDataApp") container.loadPersistentStores(completionHandler: { (storeDescription, error) in if let error = error as NSError? { store could not be migrated to the current model version. Check the error message to determine what the actual problem was. */ fatalError("Unresolved error \(error), \(error.userInfo)") } }) return container }()
1
0
526
Apr ’20