- Swift into Obj-C:
- Within framework or app:
- Because the auto generated Swift interface header "Objective-C Generated Interface Header"
SWIFT_OBJC_INTERFACE_HEADER_NAME
for a framework target is part of the framework’s public interface, only Swift declarations marked with thepublic
modifier for classes or structs marked with@objc
appear in this header for a framework target.- Framework:
#import <ProductName/ProductModuleName-Swift.h>
- This could go in the Framework’s prefix PCH file if used as a local dev pod, otherwise not recommended (reserve PCH for things that don’t change often like UIKit, etc.)
- Framework:
- Because the auto generated Swift interface header "Objective-C Generated Interface Header"
- Within framework or app:
- Note: You can still use Swift methods and properties that are marked with the
internal
modifier from within the ObjC part of your framework, as long they are declared within a Swift class that inherits from an ObjC class.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Analyzing dependencies | |
Inspecting targets to integrate | |
Using `ARCHS` setting to build architectures of target `Pods`: (``) | |
Using `ARCHS` setting to build architectures of target `Pods-Main`: (``) | |
Using `ARCHS` setting to build architectures of target `Pods-MainTests`: (``) | |
Fetching external sources | |
-> Fetching podspec for `Pod1` from `./Pod1` | |
-> Fetching podspec for `Pod2` from `./Pod1/Pod2` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assumes build version in xcconfig is defined as the following, where no spaces, spaces and/or tabs are allowed: | |
# BUILD_VERSION = 1.2.3.4 | |
filename = "sample.xcconfig" | |
build_version_property = "BUILD_VERSION" | |
new_version_string = "" | |
lines = IO.readlines(filename) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSMeetup: Designing Your API Client (@sandofsky) | |
2014/08/06 | |
500px client example | |
(in swift) | |
twitter iOS model layer used in mac client |
I hereby claim:
- I am lemonkey on github.
- I am lemonkey (https://keybase.io/lemonkey) on keybase.
- I have a public key whose fingerprint is 864D B213 DBD6 A2C5 943E 1EDD A604 2AA8 08C1 7367
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
CAN_COMPARE=0; | |
EMAIL="<list of email addresses separated with a space"; | |
# If index.html exists, rename to index.html.old. | |
if [ -f index.html ]; | |
then | |
CAN_COMPARE=1; | |
mv index.html index.html.old |
NewerOlder