iZZiSwift

iZZiSwift

Learning by Sharing Swift Programing and more …

  • Swift Programming
    • Swift Language
    • i0S Swift Issue
  • Devices
  • MacOS
  • Python Programming
  • Kotlin Programming
  • Memo

Tag: swift-extensions

Non-‘@objc’ method does not satisfy optional requirement of ‘@objc’ protocol with conditional extension

January 6, 2021 Aba Tayler

Question or problem in the Swift programming language: I’m trying to create a default implementation of an MKMapViewDelegate by using the conditional extension as follows:

Continue Reading
swift programing language

Accessing Swift Extension From Objective-C

January 6, 2021 Ollie MC

Question or problem in the Swift programming language: I’m having trouble accessing my swift extension from objective-c.

Continue Reading
swift programing language

Swift ‘open’ keyword & overridable method/properties in extension?

January 3, 2021 Abreonia Ng

Question or problem in the Swift programming language: With introduction of open keyword in Swift 3.0 (What is the ‘open’ keyword in Swift?).

Continue Reading
12 useful Terminal commands on Mac

Subscript Dictionary with String-based Enums in Swift

December 30, 2020 Andrew Rocky

Question or problem in the Swift programming language: I want to extend Dictionary with String keys (JSON dictionaries) to allow subscripting with any enum that has a RawValue type of String. The end goal would be multiple enums that can be used to subscript JSON dictionaries.

Continue Reading

Ambiguous reference to member ‘subscript’ on Dictionary

December 25, 2020 Ollie MC

Question or problem in the Swift programming language: I am trying to create a failable initializer for a class. My class will be initialized using input from a network request. Networks being unreliable, I want to create an initializer the checks for the presence on all properties, and for it to fail otherwise.

Continue Reading
Basic Terminal Commands For MacOS

Firebase & Swift: How to use another database for storing larger files?

December 25, 2020 Andrew Rocky

Question or problem in the Swift programming language: I am currently trying to build a chat application in swift whilst using Firebase for real-time messaging. My only issue is I want users to send images, I want them to have profiles with images but I know Firebase has limited storage (or at least storage per […]

Continue Reading

Abstract methods in Swift?

December 25, 2020 Bell Jacquise

Question or problem in the Swift programming language: I have few questions for Swift developers regarding the concept of abstract classes.

Continue Reading
Basic Terminal Commands For MacOS

Swift protocol generic as function return type

December 25, 2020 Ogima Cooper

Question or problem in the Swift programming language: I want to use generic protocol type as a function return type like this:

Continue Reading
12 useful Terminal commands on Mac

Auto change the font size to fit the button in swift

December 25, 2020 Aba Tayler

Question or problem in the Swift programming language: I have tried this but it didn’t work, the text is out of the button boundaries.

Continue Reading
Basic Terminal Commands For MacOS

Using Google Places API with Alamofire 4.0 and iOS 10 and Swift 3

December 25, 2020 James Cameron

Question or problem in the Swift programming language: My project is currently built in Xcode 8 and in Swift 3 with Alamofire 4.0. I use CocoaPods to implement Alamofire.

Continue Reading

Posts navigation

Older posts

Same Catagory Posts

    iZZiSwift | Developed by iZZi Team from 2017